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
Manyproductapplicationsrequirepull-highresistorsfortheirswitchinputsusuallyrequiringtheuse
ofanexternalresistor.Toeliminatetheneedfortheseexternalresistors,allI/Opins,whencongured
asaninputhavethecapabilityofbeingconnectedtoaninternalpull-highresistor.Thesepull-high
resistorsareselectedusingregisterPAPU~PCPU,andareimplementedusingweakPMOStransistors.
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
it7~0 I/OPortAbit7~bit0Pull-HighControl
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
it7~6 Unimplemented,readas0
Bit5~0 I/OPortBbit5~bit0Pull-HighControl
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
Bit7 Unimplemented,readas0
Bit6~0 I/OPortBbit6~bit0Pull-HighControl
0:Disable
1:Enable