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
- A0, C0 pins should be connected to signals to convert
Watch Variables
- myADC0Result : a digital representation of the voltage on pin A0
- myADC0PPBResult : a digital representation of the voltage on pin A0, minus 100 LSBs of automatically added offset
- myADC1Result : a digital representation of the voltage on pin C0
- myADC1PPBResult : a digital representation of the voltage on pin C0 plus 100 LSBs of automatically added offset