English
Language : 

BS87B12A-3 Datasheet, PDF (77/224 Pages) Holtek Semiconductor Inc – Touch A/D Flash MCU with OCVP
BS87B12A-3/BS87C16A-3/BS87D20A-3
Touch A/D Flash MCU with OCVP
Register
Name
PA
PAC
PAPU
PAWU
PB
PBC
PBPU
PC
PCC
PCPU
PD
PDC
PDPU
PE
PEC
PEPU
PF
PFC
PFPU
7
PA7
PAC7
PAPU7
PAWU7
PB7
PBC7
PBPU7
PC7
PCC7
PCPU7
PD7
PDC7
PDPU7
PE7
PEC7
PEPU7
—
—
—
Bit
6
5
4
3
2
1
0
—
—
PA4
PA3
PA2
PA1
PA0
—
—
PAC4 PAC3 PAC2 PAC1 PAC0
—
—
PAPU4 PAPU3 PAPU2 PAPU1 PAPU0
—
—
PAWU4 PAWU3 PAWU2 PAWU1 PAWU0
PB6
PB5
PB4
PB3
PB2
PB1
PB0
PBC6 PBC5 PBC4 PBC3 PBC2 PBC1 PBC0
PBPU6 PBPU5 PBPU4 PBPU3 PBPU2 PBPU1 PBPU0
PC6
PC5
PC4
PC3
PC2
PC1
PC0
PCC6 PCC5 PCC4 PCC3 PCC2 PCC1 PCC0
PCPU6 PCPU5 PCPU4 PCPU3 PCPU2 PCPU1 PCPU0
PD6
PD5
PD4
PD3
PD2
PD1
PD0
PDC6 PDC5 PDC4 PDC3 PDC2 PDC1 PDC0
PDPU6 PDPU5 PDPU4 PDPU3 PDPU2 PDPU1 PDPU0
PE6
PE5
PE4
PE3
PE2
PE1
PE0
PEC6 PEC5 PEC4 PEC3 PEC2 PEC1 PEC0
PEPU6 PEPU5 PEPU4 PEPU3 PEPU2 PEPU1 PEPU0
—
—
—
PF3
PF2
PF1
PF0
—
—
—
PFC3 PFC2 PFC1 PFC0
—
—
—
PFPU3 PFPU2 PFPU1 PFPU0
"—": Unimplemented, read as "0".
I/O Logic Function Registers List – BS87D20A-3
Pull-high Resistors
Many product applications require pull-high resistors for their switch inputs usually requiring the
use of an external resistor. To eliminate the need for these external resistors, all I/O pins, when
configured as an input have the capability of being connected to an internal pull-high resistor. These
pull-high resistors are selected using the relevant pull-high control registers and are implemented
using weak PMOS transistors.
PxPU Register
Bit
Name
R/W
POR
7
PxPU7
R/W
0
6
PxPU6
R/W
0
5
PxPU5
R/W
0
4
PxPU4
R/W
0
3
PxPU3
R/W
0
2
PxPU2
R/W
0
1
PxPU1
R/W
0
0
PxPU0
R/W
0
PxPUn: I/O Port x Pin pull-high function control
0: Disable
1: Enable
The PxPUn bit is used to control the pin pull-high function. Here the "x" is the Port name which can
be A, B, C, D, E and F depending upon the selected device. However, the actual available bits for
each I/O Port may be different.
Rev. 1.20
77
December 05, 2016