BS85B12-3 HOLTEK [Holtek Semiconductor Inc], BS85B12-3 Datasheet - Page 65

no-image

BS85B12-3

Manufacturer Part Number
BS85B12-3
Description
Touch Key Flash Type 8-Bit MCU with LCD/LED Driver
Manufacturer
HOLTEK [Holtek Semiconductor Inc]
Datasheet
BS85B12-3/BS85C20-3
Touch Key Flash MCU with LCD/LED Driver
Rev. 1.00
Registers
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3~2
Bit 1
Bit 0
Bit 7~2
Bit 1
Bit 0
TMPC0
TMPC0
Name
Name
POR
POR
R/W
R/W
TM Input/Output Pin Control Registers
Bit
Bit
TMPC0 Register -- All devices
TMPC1 Register -- BS85C20-3
All
BS85C20-3
T1ACP0
Selecting to have a TM input/output or whether to retain its other shared function, is implemented
using one or two registers, with a single bit in each register corresponding to a TM input/output pin.
Setting the bit high will setup the corresponding pin as a TM input/output, if reset to zero the pin will
retain its original other function.
R/W
Device
T1ACP0: TP1A pin Control
T1BCP2: TP1B_2 pin Control
T1BCP1: TP1B_1 pin Control
T1BCP0: TP1B_0 pin Control
Unimplemented, read as 0
T0CP1: TP0_1 pin Control
T0CP0: TP0_0 pin Control
Unimplemented, read as 0
T2CP1: TP2_1 pin control
T2CP0: TP2_0 pin control
7
1
7
0: disable
1: enable
0: disable
1: enable
0: disable
1: enable
0: disable
1: enable
0: disable
1: enable
0: disable
1: enable
0: disable
1: enable
0: disable
1: enable
T1BCP2
R/W
T1ACP0
6
0
6
7
TM Input/Output Pin Control Registers List
T1BCP1
T1BCP2
R/W
5
0
5
6
T1BCP0
T1BCP1
R/W
59
4
1
4
5
T1BCP0
3
3
4
Bit
3
2
2
2
T0CP1
T2CP1
R/W
R/W
T0CP1
T2CP1
1
0
1
0
1
February 1, 2011
T0CP0
T2CP0
T0CP0
T2CP0
R/W
R/W
0
1
0
1
0

Related parts for BS85B12-3