
Rev. 1.10
54
March 02, 2020
Rev. 1.10
55
March 02, 2020
BS83A02L/BS83B04L
Ultra-Low Power Touch Key Flash MCU
BS83A02L/BS83B04L
Ultra-Low Power Touch Key Flash MCU
resistor. These pull-high resistors are selected using the relevant pull-high control registers PAPU
and LVPUC and are implemented using weak PMOS transistors. The PAPU registers is used to
determine whether the pull-high function is enabled or not while the LVPUC register is used to
select the pull-high resistors value for low voltage power supply applications.
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 a digital input or NMOS output. Otherwise, the pull-high
resistors cannot be enabled.
Note that the LVPU bit in the LVPUC register is only available when the corresponding pin pull-
high function is enabled by setting the relevant pull-high control bit high. This bit will have no effect
when the pull-high function is disabled.
• PAPU Register – BS83A02L
Bit
7
6
5
4
3
2
1
0
Name
—
—
—
—
PAPU3
PAPU2
PAPU1
PAPU0
R/W
—
—
—
—
R/W
R/W
R/W
R/W
POR
—
—
—
—
0
0
0
0
Bit 7~4
Unimplemented, read as “0”
Bit 3~0
PAPU3~PAPU0
: PA3~PA0 pull-high function control
0: Disable
1: Enable
• PAPU Register – BS83B04L
Bit
7
6
5
4
3
2
1
0
Name
PAPU7
PAPU6
PAPU5
PAPU4
PAPU3
PAPU2
PAPU1
PAPU0
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
PAPU7~PAPU0
: PA7~PA0 pull-high function control
0: Disable
1: Enable
• LVPUC Register
Bit
7
6
5
4
3
2
1
0
Name
—
—
—
—
—
—
—
LVPU
R/W
—
—
—
—
—
—
—
R/W
POR
—
—
—
—
—
—
—
0
Bit 7~1
Unimplemented, read as “0”
Bit 0
LVPU
: Pull-high resistor selection when low voltage power supply
0: All pin pull high resistor is 60kΩ @ 3V
1: All pin pull high resistor is 15kΩ @ 3V
Port A 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 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 can be selected individually to have this wake-up feature
using the PAWU register.