Name

adc_init — initializes the ADC interface

Synopsis

#include <adc.h>   
void adc_init (void); 
void;
 

Arguments

void

no arguments

Description

Initializes the ADC interface. Should be invoked before any other ADC interface functions are invoked.

Dependencies

ZKit-51-v664 specific: The ADC module internally initializes and uses the SPI module to access the ADC.

ZKit-51 specific: The ADC module internally initializes and uses the I2C module to access the DAC.