![]() |
BLDC control on ATAVRMC303 with ATxMega128A1
|
ADC Low Level Functions. More...
|
Functions | |
| void | init_adc (void) |
| Configures the ADC accordingly to the ADC Define Configuration values. More... | |
ADC Low Level Functions.
| void init_adc | ( | void | ) |
Configures the ADC accordingly to the ADC Define Configuration values.
Take care that you have to select the ports which will be converted as analog inputs thanks to the DIDR0 and DIDR1 registers.
Configures the ADC accordingly to the ADC Define Configuration values.
Configures the ADC accordingly to the ADC Define Configuration values. Take care that you have to select the ports which will be converted as analog inputs thanks to the DIDR0 and DIDR1 registers.
Definition at line 35 of file adc_drv.c.
References Enable_adc, Enable_vcc_vref, and Left_adjust_adc_result.