BS85B12-3/BS85C20-3/BS85C20-5
Touch Key Flash MCU with LCD/LED Driver
Compact Type TM Register Description
OverallꢀoperationꢀofꢀtheꢀCompactꢀTMꢀisꢀcontrolledꢀusingꢀsixꢀ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ꢀasꢀwellꢀasꢀtheꢀthreeꢀCCRPꢀbits.
Name
TMnC0
TMnC1
TMnDL
TMnDH
TMn�L
TMn�H
Bit7
TnP�U
TnM1
D7
Bit6
TnCK2
TnM0
D6
Bit5
TnCK1
TnIO1
D5
Bit4
TnCK0
TnIO0
D4
Bit3
TnON
TnOC
D3
Bit2
TnRP2
TnPOL
D2
Bit1
Bit0
TnRP1
TnRP0
TnDPX TnCCLR
D1
D9
D1
D9
D0
D8
D0
D8
—
—
—
—
—
—
D7
D6
D5
D4
D3
D2
—
—
—
—
—
—
Compact TM Register List (n=0)
TMnDL Register
Bit
Name
R/W
7
D7
R
6
D6
R
5
D5
R
4
D4
R
3
D3
R
2
D2
R
1
D1
R
0
D0
R
POR
0
0
0
0
0
0
0
0
Bitꢀ7~0ꢀ
TMnDL:ꢀTMnꢀCounterꢀLowꢀByteꢀRegisterꢀbitꢀ7ꢀ~ꢀbitꢀ0ꢀ
TMnꢀ10-bitꢀCounterꢀbitꢀ7ꢀ~ꢀbitꢀ0
TMnDH Register
Bit
Name
R/W
7
6
5
4
3
2
1
D9
R
0
D8
R
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
POR
0
0
Bitꢀ7~2ꢀ
Bitꢀ1~0ꢀ
Unimplemented,ꢀreadꢀasꢀ"0"
TMnDH:ꢀTMnꢀCounterꢀHighꢀByteꢀRegisterꢀbitꢀ1ꢀ~ꢀbitꢀ0ꢀ
TMnꢀ10-bitꢀCounterꢀbitꢀ9ꢀ~ꢀbitꢀ8
TMnAL Register
Bit
Name
R/W
7
D7
R/W
0
6
D6
R/W
0
5
D5
R/W
0
4
D4
R/W
0
3
D3
R/W
0
2
D2
R/W
0
1
D1
R/W
0
0
D0
R/W
0
POR
Bitꢀ7~0ꢀ
TMnAL:ꢀTMnꢀCCRAꢀLowꢀByteꢀRegisterꢀbitꢀ7ꢀ~ꢀbitꢀ0ꢀ
TMnꢀ10-bitꢀCCRAꢀbitꢀ7ꢀ~ꢀbitꢀ0
TMnAH Register
Bit
Name
R/W
7
6
5
4
3
2
1
D9
R/W
0
0
D8
R/W
0
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
POR
Bitꢀ7~2ꢀ
Bitꢀ1~0ꢀ
unimplemented,ꢀreadꢀasꢀ"0"
TMnꢀ10-bitꢀCCRAꢀbitꢀ9ꢀ~ꢀbitꢀ8
Rev. 1.20
74
�ꢀꢁꢀst 10ꢂ 2012