Rev. 1.40
1��
De�e��e� 1�� �01�
Rev. 1.40
1�7
De�e��e� 1�� �01�
BS67F340/BS67F350/BS67F360/BS67F370
Enhanced Touch A/D Flash MCU with LCD Driver
BS67F340/BS67F350/BS67F360/BS67F370
Enhanced Touch A/D Flash MCU with LCD Driver
Compact Type TM Register Description
Overall operation of the Compact TM is controlled using a series of registers. A read only register
pair exists to store the internal counter 10-bit value, while a read/write register pair exists to store
the internal 10-bit CCRA value. The remaining two registers are control registers which setup the
different operating and control modes and as well as the three CCRP bits.
Register
Name
Bit
7
6
5
4
3
2
1
0
CTMnC0
CTnPAU CTnCK� CTnCK1 CTnCK0
CTnON
CTnRP� CTnRP1 CTnRP0
CTMnC1
CTnM1
CTnM0
CTnIO1 CTnIO0
CTnOC CTnPOL
CTnDPX
CTnCCLR
CTMnDL
D7
D�
D�
D4
D3
D�
D1
D0
CTMnDH
—
—
—
—
—
—
D9
D8
CTMnAL
D7
D�
D�
D4
D3
D�
D1
D0
CTMnAH
—
—
—
—
—
—
D9
D8
10-bit Compact TM Registers List – n=0 or 1
CTMnDL Register
Bit
7
6
5
4
3
2
1
0
Name
D7
D�
D�
D4
D3
D�
D1
D0
R/W
R
R
R
R
R
R
R
R
POR
0
0
0
0
0
0
0
0
Bit 7~0
CTMn Counter Low Byte Register bit 7 ~ bit 0
CTMn 10-bit Counter bit 7 ~ bit 0
CTMnDH Register
Bit
7
6
5
4
3
2
1
0
Name
—
—
—
—
—
—
D9
D8
R/W
—
—
—
—
—
—
R
R
POR
—
—
—
—
—
—
0
0
Bit 7~2
Unimplemented, read as “0”
Bit 1~0
CTMn Counter High Byte Register bit 1 ~ bit 0
CTMn 10-bit Counter bit 9 ~ bit 8
CTMnAL Register
Bit
7
6
5
4
3
2
1
0
Name
D7
D�
D�
D4
D3
D�
D1
D0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
POR
0
0
0
0
0
0
0
0
Bit 7~0
CTMn CCRA Low Byte Register bit 7 ~ bit 0
CTMn 10-bit CCRA bit 7 ~ bit 0