Datasheet
STMPE811 Touchscreen controller
Doc ID 14489 Rev 6 37/65
TSC_CTRL touchscreen controller control register
Address: 0x40
Type: R/W
Reset: 0x90
Description: 4-wire touchscreen controller (TSC) setup.
TSC_CFG Touchscreen controller configuration register
Address: 0x41
Type: R/W
Description: Touchscreen controller configuration register.
76543 2 1 0
TSC_STA TRACK OP_MOD EN
[7] TSC_STA: TSC status
Reads '1' when touch is detected
Reads '0' when touch is not detected
Writing to this register has no effect
[6:4] TRACK: Tracking index
000: No window tracking
001: 4
010: 8
011: 16
100: 32
101: 64
110: 92
111: 127
[3:1] OP_MOD: TSC operating mode
000: X, Y, Z acquisition
001: X, Y only
010: X only
011: Y only
100: Z only
This field cannot be written on, when EN = 1
[0] EN: Enable TSC
76543 2 1 0
AVE_CTRL_1 AVE_CTRL_0
TOUCH_DET
_DELAY_2
TOUCH_DET
_DELAY_1
TOUCH_DET
_DELAY_0
SETTLING_2 SETTLING_1 SETTLING_0
[7:6] [AVE_CTRL_1/0: Average control
00=1 sample
01=2 samples
10=4 samples
11=8 samples