TTP259
TonTouchTM
Preliminary
.. IO port with internal PWM output and external TCP1
clock input
The standard input/output port has the IO control register for switching
input or output mode and data register stores the output data in output mode.
If IO control data=1 and output data=1, the IO port is programmed as input
with pull-up resistor and also actives the wake-up function. User intends to read
the port data with differed read instruction. The read PxI is reading data comes
from IO pad data. The data register reading result will have the same value
with output register data. If enable internal output, the IO port must set as
output (IO control data=0). An additional feature supports the internal PWM
output and external TCP1 clock input.
IO control data
Output data
Pull-up
R
Wake-up
feature
No
External
input
0
X
0
1
No
No
1
No
No
Enable
Enable
1
Enable
Enable
X: don’t care the value
IO control data
Internal output
Enable
IO pad
0
0
1
Output internal data
Output register data
IO pad input data
Disable
X
X: don’t care the value
Read PxI
1
Read input data
IO pad data
2015/05/25
Page 53 of 81
Ver: 1.1