TTP259
TonTouchTM
Preliminary
When TPCHS0 is writing, TPCTL will be set TP RUN mode, and begin to
scan the channel by TPCHS3~TPCHS0 select.
Users can enable multi-channel by setting corresponding bit 1, that will
turn on all enable channel at the same time.
TPCTL[214H]: Touch pad control register [R/W], default value [-000]
Register
Bit Name
Read/Write
Bit3
Bit2
TPCTL2
R/W
Bit1
TPCTL1
R/W
Bit0
TPCTL0
R/W
-
-
TPCTL2~TPCTL0: Touch pad control selector.
As program writes the TPCTL register, hardware automatically charges the
external capacitor and reload TPCTx and enable the sensor clock input until
period end.
TPCTL2~TPCTL0
Channel Enable State
000
001
010
011
100
101
110
111
TP STOP
TP RUN
-
Charge
Inner pad
-
-
-
TP STOP: STOP the touch pad feature and release pad for IO port.
TP RUN: TP RUN is touch pad scan start signal, it’s scan the channel by
TPCHS3~TPCHS0 select.
Charge: Charge can hold touch pad in charge state, to avoid charge time
too short.
Inner pad: Select switch select Inner pad. Inner pad is reference pad, this
pad is no bounding to package.
When user writes data to the TPCT2~TPCT0, the data just keep in
TPCT2~TPCT0 latch register. When writing the TPCTL register (exclude select
TP STOP), the TPCT2~TPCT0 latch register’s complement value will load into
2015/05/25
Page 74 of 81
Ver: 1.1