English
Language : 

HT45F5N Datasheet, PDF (142/202 Pages) Holtek Semiconductor Inc – Power Bank ASSP Flash MCU
HT45F5N/HT45FH5N
Power Bank ASSP Flash MCU
ADUC1 Register
Bit
7
6
5
4
3
2
1
0
Name
—
—
—
—
USW2 USW1 VDPON D0PS
R/W
—
—
—
—
R/W
R/W
R/W
R/W
POR
—
—
—
—
0
0
0
0
Bit 7~4
Bit 3
Bit 2
Bit 1
Bit 0
Unimplemented, read as 0
USW2: USW2 switch control
0: Switch off
1: Switch on
This bit controls the USW2 switch on/off. But only when one of the D2+ and D2- pins
is used as the analog or digital input pin by setting the Pin-shared Function register,
and then set the USW2 bit high, can the switch be on.
USW1: USW1 switch control
0: Switch off
1: Switch on
This bit controls the USW1 switch on/off. But only when one of the D1+ and D1- pins
is used as the analog or digital input pin by setting the Pin-shared Function register,
and then set the USW1 bit high, can the switch be on.
VDPON: VDP_SRC voltage enable control
0: Disable
1: Enable
D0PS: D0PSW switch control
0: Switch off
1: Switch on
This bit controls the D0PSW switch on/off. But only when the D0+ pin is used as the
analog or digital input pin by setting the Pin-shared Function register, and then set the
D0PS bit high, can the switch be on.
ADUC2 Register
Bit
7
Name
—
R/W
—
POR
—
6
5
4
3
2
1
0
—
D2NPL D2PPL D1NPL D1PPL D0NPL D0PPL
—
R/W
R/W
R/W
R/W
R/W
R/W
—
0
0
0
0
0
0
Bit 7~6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Unimplemented, read as 0.
D2NPL: D2- pin Pull-Low Control
0: Disable
1: Enable
D2PPL: D2+ pin Pull-Low Control
0: Disable
1: Enable
D1NPL: D1- pin Pull-Low Control
0: Disable
1: Enable
D1PPL: D1+ pin Pull-Low Control
0: Disable
1: Enable
D0NPL: D0- pin Pull-Low Control
0: Disable
1: Enable
D0PPL: D0+ pin Pull-Low Control
0: Disable
1: Enable
Rev. 1.00
142
November 18, 2016