TTP259
Preliminary
TonTouchTM
TCP1C[200H]: TCP1 Timer/counter control register [R/W], default value [0000]
Register
Bit Name
Read/Write
Bit3
TCP1LD
R/W
Bit2
TCP1S1
R/W
Bit1
TCP1S0
R/W
Bit0
TCP1EN
R/W
TCP1EN: TCP1 counting enable. (0: disable; 1: enable)
TCP1LD: TCP1 auto-reload enable. (0: disable; 1: enable)
TCP1S1~TCP1S0: TCP1 clock source selector.
TCP1S1
TCP1S0
Selected Clock source
0
0
1
1
0
1
0
1
FS
TCP1I
TBCK
TB1OV
Note: TB1OV select 128Hz can not be use for TCP1 clock source, the TCP1 will not
work. Please use other time base select option.
TCP1L[201H]: TCP1 low nibble data register [R/W], default value [0000]
Register
Bit Name TCP1_3/TCP1D3 TCP1_2/TCP1D2 TCP1_1/TCP1D1 TCP1_0/TCP1D0
Read/Write R/W R/W R/W R/W
Bit3
Bit2
Bit1
Bit0
TCP1_3~TCP1_0: Reading TCP1 counter low nibble data.
TCP1D3~TCP1D0: Writing TCP1D low nibble of data buffer.
TCP1H[202H]: TCP1 high nibble data register [R/W], default value [0000]
Register Bit3 Bit2 Bit1 Bit0
Bit Name TCP1_7/TCP1D7 TCP1_6/TCP1D6 TCP1_5/TCP1D5 TCP1_4/TCP1D4
Read/Write R/W R/W R/W R/W
TCP1_7~TCP1_4: Reading TCP1 counter high nibble data.
TCP1D7~TCP1D4: Writing TCP1D high nibble of data buffer.
* TCP1D: Like a 8-bit TCP1 data register [R/W], default value [00H]
TCP1D Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1
Bit0
Bit Name TCP1D7 TCP1D6 TCP1D5 TCP1D4 TCP1D3 TCP1D2 TCP1D1 TCP1D0
The special R/W function for TCP1 has different Target, AS writing TCP1H/L
registers that are updating preload data of the TCP1D. As read TCP1H/L
registers that are the brand new TCP1 counter value.
2015/05/25
Page 32 of 81
Ver: 1.1