Nios® II Software Developer Handbook

ID 683525
Date 8/28/2023
Public
Document Table of Contents

15.3.5. adc_recalibrate

Prototype

void adc_recalibrate(int sequencer_base)

Arguments

sequencer_base: Sequencer base value.

Description

  • Backup CMD register, because some values can be overwritten.
  • Stop the ADC Sequencer Core.
  • Set the recalibration request bits.
  • Start the ADC Sequencer Core.
  • Poll for RUN bit to be clear.
  • Restore CMD register

Return