AT32F421 Series Reference Manual
2022.11.11 Page 44 Rev 2.02
3.7.2 Power control/status register (PWC_CTRLSTS)
Unlike a standard APB read, an additional APB cycles are needed to read this register.
Kept at its default value.
Standby wake-up pin 7 enable
0: Disabled (this pin is used for general-purpose I/O)
1: Enabled (this pin is forced in input pull-down mode, and
no longer used for general-purpose I/O)
Note: This bit is cleared by hardware after system reset.
Standby wake-up pin 6 enable
0: Disabled (this pin is used for general-purpose I/O)
1: Enabled (this pin is forced in input pull-down mode, and
no longer used for general-purpose I/O)
Note: This bit is cleared by hardware after system reset.
Kept at its default value.
Standby wake-up pin 2 enable
0: Disabled (this pin is used for general-purpose I/O)
1: Enabled (this pin is forced in input pull-down mode, and
no longer used for general-purpose I/O)
Note: This bit is cleared by hardware after system reset.
Standby wake-up pin 1 enable
0: Disabled (this pin is used for general-purpose I/O)
1: Enabled (this pin is forced in input pull-down mode, and
no longer used for general-purpose I/O)
Note: This bit is cleared by hardware after system reset.
Kept at its default value.
Power voltage monitoring output flag
0: Power voltage is higher than the threshold
1: Power voltage is lower than the threshold
Note: The power voltage monitor is stopped in Standby
mode.
Standby mode entry flag
0: Device is not in Standby mode
1: Device is in Standby mode
Note: This bit is set by hardware (enter Standby mode)
and cleared by POR/LVR or by setting the CLSEF bit.
Standby wake-up event flag
0: No wakeup event occurred
1: A wakeup event occurred
Note:
This bit is set by hardware (on a wakeup event), and
cleared by POR/LVR or by setting the CLSWEF bit.
A wakeup event is generated by one of the following:
When the rising edge on the Standby wakeup pin occurs;
When the ERTC alarm event occurs;
If the Standby wakeup pin is enabled when the Standby
wakeup pin level is high.
3.7.3 Power control register 2 (PWC_CTRL2)
Kept at its default value.
Voltage regulator extra low power mode enable
This bit works with the LPSEL and VRSE bits of the
PWC_CTRL register. It is applicable only when VRSEL = 1
and the device enters Deepsleep mode.
0: Voltage regulator extra low power mode disabled
1: Voltage regulator extra low power mode enabled
Note: To enable extra low-power mode, it is mandatory to
set LPSEL and VRSEL bits before setting the VREXLPEN.
V Kept at its default value. Do not change.