Datasheet
STMPE811 Analog-to-digital converter
Doc ID 14489 Rev 6 29/65
9 Analog-to-digital converter
An 8-input,12-bit analog-to-digital converter (ADC) is integrated in the STMPE811. The ADC
can be used as a generic analog-to-digital converter, or as a touchscreen controller capable
of controlling a 4-wire resistive touchscreen.
Table 13. ADC controller register summary table
Address Register name Size Description
0x20 ADC_CTRL1 8 ADC control
0x21 ADC_CTRL2 8 ADC control
0x22 ADC_CAPT 8 ADC channel data capture
0x30 ADC_DATA_CH0 8 ADC channel 0 (X+/GPIO-4)
0x32 ADC_DATA_CH1 8 ADC channel 1 (X-/GPIO-6)
0x34 ADC_DATA_CH2 8 ADC channel 2 (Y+/GPIO-5)
0x36 ADC_DATA_CH3 8 ADC channel 3 (Y-/GPIO-7)
0x38 ADC_DATA_CH4 8 ADC channel 4 (IN0/GPIO0)
0x3A ADC_DATA_CH5 8 ADC channel 5 (IN1/GPIO-1)
0x3C ADC_DATA_CH6 8 ADC channel 6 (IN2/GPIO-2)
0x3E ADC_DATA_CH7 8 ADC channel 7 (IN3/GPIO-3)