
AT32F413
Series Reference Manual
2022.06.27
Page 45
Rev 2.00
3.7.2
Power control/status register (PWC_CTRLSTS)
Additional APB cycles are needed to read this register versus a standard APB read.
Bit
Name
Reset value
Type
Description
Bit 31: 9
Reserved
0x000000
resd
Kept at its default value.
Bit 8
SWPEN
0x0
rw
Standby wake-up pin 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.
Bit 7: 3
Reserved
0x00
resd
Keep at its default value.
Bit 2
PVMOF
0x0
ro
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.
Bit 1
SEF
0x0
ro
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.
Bit 0
SWEF
0x0
ro
Standby wake-up event flag
0: No wakeup event occurred
1: A wakeup event occurred
Note:
This bit is set by hardware (on an 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 RTC alarm event occurs;
If the Standby wakeup pin is enabled when the Standby
wakeup pin level is high.