English
Language : 

BH66F2260 Datasheet, PDF (73/214 Pages) Holtek Semiconductor Inc – R-Sensor Blood Pressure Meter Flash MCU
BH66F2260
R-Sensor Blood Pressure Meter Flash MCU
Input/Output Ports
Holtek microcontrollers offer considerable flexibility on their I/O ports. With the input or output
designation of every pin fully under user program control, pull-high selections for all ports and
wake-up selections on certain pins, the user is provided with an I/O structure to meet the needs of a
wide range of application possibilities.
The device provides bidirectional input/output lines labeled with port names PA~PE. These I/O
ports are mapped to the RAM Data Memory with specific addresses as shown in the Special Purpose
Data Memory table. All of these I/O ports can be used for input and output operations. For input
operation, these ports are non-latching, which means the inputs must be ready at the T2 rising edge
of instruction "MOV A, [m]", where m denotes the port address. For output operation, all the data is
latched and remains unchanged until the output latch is rewritten.
Register
Name
PA
PAC
PAPU
PAWU
PB
PBC
PBPU
PC
PCC
PCPU
PD
PDC
PDPU
PE
PEC
PEPU
7
PA7
PAC7
PAPU7
PAWU7
—
—
—
PC7
PCC7
PCPU7
—
—
—
—
—
—
Bit
6
5
4
3
2
1
0
PA6
PA5
PA4
PA3
PA2
PA1
PA0
PAC6
PAPU6
PAC5
PAPU5
PAC4
PAPU4
PAC3
PAPU3
PAC2
PAPU2
PAC1
PAPU1
PAC0
PAPU0
PAWU6 PAWU5 PAWU4 PAWU3 PAWU2 PAWU1 PAWU0
PB6
PBC6
PB5
PBC5
PB4
PBC4
PB3
PBC3
PB2
PBC2
PB1
PBC1
PB0
PBC0
PBPU6 PBPU5 PBPU4 PBPU3 PBPU2 PBPU1 PBPU0
PC6
PCC6
PC5
PCC5
PC4
PCC4
PC3
PCC3
PC2
PCC2
PC1
PCC1
PC0
PCC0
PCPU6 PCPU5 PCPU4 PCPU3 PCPU2 PCPU1 PCPU0
—
PD5
PD4
PD3
PD2
PD1
PD0
—
PDC5 PDC4 PDC3 PDC2 PDC1 PDC0
—
PDPU5 PDPU4 PDPU3 PDPU2 PDPU1 PDPU0
—
—
—
PE3
PE2
PE1
PE0
—
—
—
PEC3 PEC2 PEC1 PEC0
—
—
—
PEPU3 PEPU2 PEPU1 PEPU0
"—": Unimplemented, read as "0"
I/O Logic Function Registers List
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 registers, namely PAPU~PEPU, and are implemented using
weak PMOS transistors.
Note that the pull-high resistor can be controlled by the relevant pull-high control register only
when the pin-shared functional pin is selected as an input or NMOS output. Otherwise, the pull-high
resistors cannot be enabled.
Rev. 1.00
73
March 15, 2017