FILE: adc_ex7_ppb_offset.c
This example software triggers the ADC. Some SOCs have automatic offset adjustment applied by the post-processing block. After the program runs, the memory will contain ADC & post-processing block(PPB) results.
External Connections
- A2, C1 pins should be connected to signals to convert
Watch Variables
- myADC0Result : a digital representation of the voltage on pin A2
- myADC0PPBResult : a digital representation of the voltage on pin A2, minus 100 LSBs of automatically added offset
- myADC1Result : a digital representation of the voltage on pin C1
- myADC1PPBResult : a digital representation of the voltage on pin C1 plus 100 LSBs of automatically added offset