Rev. 1.10
56
November 26, 2019
Rev. 1.10
57
November 26, 2019
HT68FB240
USB Low Speed Flash MCU
PXPU Register
Bit
7
6
5
4
3
2
1
0
Name
—
PELWU
PDHWU PDLWU PCHWU PCLWU
PBHWU
PBLWU
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
PELPU:
PE
1~
PE0
pins
Pull-High
control
0: Disable
1: Enable
Bit 5
PDHPU:
P
D7~
P
D4
pins
Pull-High
control
0: Disable
1: Enable
Bit 4
PDLPU:
P
D3~
P
D0
pins
Pull-High
control
0: Disable
1: Enable
Bit 3
PCHPU:
P
C7~
P
C4
pins
Pull-High
control
0: Disable
1: Enable
Bit 2
PCLPU:
P
C3~
P
C0
pins
Pull-High
control
0: Disable
1: Enable
Bit 1
PBHPU:
P
B7~
P
B4
pins
Pull-High
control
0: Disable
1: Enable
Bit 0
PBLPU:
P
B3~
P
B0
pins
Pull-High
control
0: Disable
1: Enable
Port Wake-up
The HALT instruction forces the microcontroller into the SLEEP or IDLE Mode which preserves
power, a feature that is important for battery and other low-power applications. Various methods
exist to wake-up the microcontroller, one of which is to change the logic condition on one of the
Port A ~ Port E pins from high to low. This function is especially suitable for applications that can
be woken up via external switches. Each pin on Port A ~ Port E can be selected respectively to have
this wake-up feature using the PAWU and PXWU registers.
PAWU Register
Bit
7
6
5
4
3
2
1
0
Name
PAWU7
PAWU6
PAWU5
PAWU4
PAWU3
PAWU2
PAWU1
PAWU0
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
Bit 7~0
PAWU7~PAWU0:
Port A bit 7 ~ bit 0 Wake-up Control
0: Disable
1: Enable