Go to the source code of this file.
◆ ADC_Convert()
Start ADC conversion, and return 8-bit result
Definition at line 18 of file fw_adc.c.
19{
21 NOP();
22 NOP();
25 return ADC_RES;
26}
#define ADC_SamplingFinished()
#define ADC_ClearInterrupt()
◆ ADC_ConvertHP()
Start ADC conversion, and return 16-bit high precision result
Definition at line 28 of file fw_adc.c.
29{
32 NOP();
33 NOP();
37 return (
res << 8) + ADC_RESL;
38}