Rev. 1.71
56
April 11, 2017
Rev. 1.71
57
April 11, 2017
HT66F002/HT66F0025/HT66F003/HT66F004
Cost-Effective A/D Flash MCU with EEPROM
HT66F002/HT66F0025/HT66F003/HT66F004
Cost-Effective A/D Flash MCU with EEPROM
•
HT66F004
Register
Name
Bit
7
6
5
4
3
2
1
0
PA
D7
D6
D5
D4
D3
D2
D1
D0
PAC
D7
D6
D5
D4
D3
D2
D1
D0
PAPU
D7
D6
D5
D4
D3
D2
D1
D0
PAWU
D7
D6
D5
D4
D3
D2
D1
D0
PB
—
D6
D5
D4
D3
D2
D1
D0
PBC
—
D6
D5
D4
D3
D2
D1
D0
PBPU
—
D6
D5
D4
D3
D2
D1
D0
PC
—
—
—
—
—
D2
D1
D0
PCC
—
—
—
—
—
D2
D1
D0
PCPU
—
—
—
—
—
D2
D1
D0
PASR
PAS7
PAS6
PAS5
PAS4
PAS3
PAS2
PAS1
PAS0
PBSR
—
PBS6
PBS5
PBS4
PBS3
PBS2
PBS1
PBS0
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 register PAPU~PCPU, and are implemented using weak PMOS transistors.
PAPU Register
Bit
7
6
5
4
3
2
1
0
Name
D7
D6
D5
D4
D3
D2
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
B
it 7 ~ 0
I/O
Port A bit7~ bit 0 Pull-High Control
0: Disable
1: Enable
PBPU Register – HT66F003
Bit
7
6
5
4
3
2
1
0
Name
—
—
D5
D4
D3
D2
D1
D0
R/W
—
—
R/W
R/W
R/W
R/W
R/W
R/W
POR
—
—
0
0
0
0
0
0
B
it 7~6
Unimplemented, read as 0
B
it 5~0
I/O
Port
B
bit5~ bit 0 Pull-High Control
0: Disable
1: Enable
PBPU Register – HT66F004
Bit
7
6
5
4
3
2
1
0
Name
—
D6
D5
D4
D3
D2
D1
D0
R/W
—
R/W
R/W
R/W
R/W
R/W
R/W
R/W
POR
—
0
0
0
0
0
0
0
Bit 7
Unimplemented, read as 0
Bit 6~0
I/O Port B bit 6~ bit 0 Pull-High Control
0: Disable
1: Enable