Nios II Classic Software Developer’s Handbook

ID 683282
Date 5/14/2015
Public
Document Table of Contents

14.3.5. adc_recalibrate

Prototype

void adc_recalibrate(int sequencer_base)

Arguments

sequencer_base: Sequencer base value.

Description

  • Backup CMD register, because some values will 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