Datasheet

AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER
DS41393B-page 32 Preliminary 2009-2012 Microchip Technology Inc.
REGISTER 8-1: TouchMode REGISTER FORMAT
A couple of typical setup examples for the TouchMode
are as follows:
Report a pen down P=1 on initial touch, followed
by reporting a stream of pen downs P=1 during
the touch, followed by a final pen up P=0 on touch
release. TouchMode = 0b01010001 = 0x51
Report a pen up P=0 then a pen down P=1 on
initial touch, followed by reporting a stream of pen
downs P=1 during the touch, followed by a final
pen up P=0 on touch release. TouchMode =
0b10110001 = 0xB1
R/W R/W R/W R/W R/W R/W R/W R/W
PD2 PD1 PD0 PM1 PM0 PU2 PU1 PU0
bit 7 bit 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0
bit 7-5 PD<2:0>: Pen-Down State bits (action taken upon pen down).
000 = No touch report
001 = Touch report with P=0
010 = Touch report with P=1
011 = Touch report with P=1, then touch report with P=0
100 = Touch report with P=0, then touch report with P=1, then touch report with P=0
101 = Touch report with P=0, then touch report with P=1
bit 4-3 PM<1:0>: Pen Movement State bits (action taken upon pen movement).
00 = No touch report
01 = Touch report with P=0
10 = Touch report with P=1
bit 2-0 PU<2:0>: Pen-Up State bits (action taken upon pen up).
000 = No touch report
001 = Touch report with P=0
010 = Touch report with P=1
011 = Touch report with P=1, then touch report with P=0
100 = Touch report with P=0, then touch report with P=1, then touch report with P=0
101 = Touch report with P=0, then touch report with P=1