Datasheet

Analog-to-digital converter STMPE811
30/65 Doc ID 14489 Rev 6
ADC_CTRL1 ADC control 1
Address: 0x20
Type: R/W
Reset: 0x1C
Description: ADC control register.
ADC_CTRL2 ADC control 2
Address: 0x21
Type: R/W
Reset: 0x01
Description: ADC control.
76543210
RESERVED SAMPLE_TIME2 SAMPLE_TIME1 SAMPLE_TIME0 MOD_12B RESERVED REF_SEL RESERVED
[7] RESERVED
[6:4] SAMPLE_TIMEn: ADC conversion time in number of clock
000: 36
001: 44
010: 56
011: 64
100: 80
101: 96
110: 124
111: Not valid
[3] MOD_12B: Selects 10 or 12-bit ADC operation
1: 12 bit ADC
0: 10 bit ADC
[2] RESERVED
[1] REF_SEL: Selects between internal or external reference for the ADC
1: External reference
0: Internal reference
[0] RESERVED
76543 2 1 0
RESERVED ADC_FREQ_1 ADC_FREQ_0
[7] RESERVED
[6] RESERVED
[5] RESERVED
[4] RESERVED
[3] RESERVED
[2] RESERVED