TTP259
TonTouchTM
Preliminary
START
ADJUSTMENT
CLEAR WDT
TCPFS=0
TCP1C=8
TCP2C=F
TCP1L=2
TCP1H=1
TCP2L=A
TCP2M=7
TCP2H=0
SET 20 BITS COUNTER
INITIAL VALUE
07A12H FOR 128Hz
WRITE ADJSTAT
TO START
ADJUSTMENT
STX #$1,ACC
STX ADJSTAT
YES
TBADJF=0
NO
END
P-3: 8-bit Timer/Counter for TCP1
One 8-bit timer/counter (TCP1) with 4 kind clock sources and preload
data buffer can implement as a timer or counter feature. The clock sources
of TCP1 are selected by TCP1S1~TCP1S0 of TCP1 control register (TCP1C).
TCP1OV is the timer or counter overflow signal and the rising edge will set
the relative INT flag.
2015/05/25
Page 31 of 81
Ver: 1.1