TTP258
TonTouchTM
Preliminary
. IO Port’s Special function
When SpecIO’s is selected by mask option, PA0~PA2 is special function. It
can ouput ODATA register to user. ODATA can be store Key touch information
by software. PA0 is input port, PA2 & PA3 is output. User can use this function
to get Key touch information.
ODATA[21AH]: Touchkey output register for special function [R/W], default value [0000]
Register
Bit3
ODATA3
R/W
Bit2
ODATA2
R/W
Bit1
ODATA1
R/W
Bit0
ODATA0
R/W
Bit Name
Read/Write
ODATA3~0: Touchkey information
PA0 (input)
PA1 (output)
PA2(output)
1
0
ODATA0
ODATA2
ODATA 1
ODATA 3
16’/04/06
Page 35 of 44
Ver.: 1.2