Nations Technologies Inc.
Tel
:
+86-755-86309900
:
info@nationstech.com
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
47
/
631
Bit field
Name
Description
Software can set and clear this bit.
0: WKUP pin is used for general purpose I/O. An event on the WKUP pin will not
wake the device from STANDBY mode.
1: WKUP pin is used to wake up STANDBY mode.
1
WKUP1EN
Enable WKUP1 pin.
Software can set and clear this bit.
0: WKUP pin is used for general purpose I/O. An event on the WKUP pin will not
wake the device from STANDBY mode.
1: WKUP pin is used to wake up STANDBY mode.
0
WKUP0EN
Enable WKUP0 pin.
Software can set and clear this bit.
0: WKUP pin is used for general purpose I/O. An event on the WKUP pin will not
wake the device from STANDBY mode.
1: WKUP pin is used to wake up STANDBY mode.
Power status register 1 (PWR_STS1)
Address offset: 0x0C
Reset value: 0x0000 0000 (Power-on reset or PWR soft reset clear)
Bit field
Name
Description
31:16
Reserved
Reserved, the reset value must be maintained.
15
IWKUPF
Internal wake-up flag.
This bit is set and cleared by hardware.
0: All internal wakeup sources have been cleared
1: Device wakes up from STANDBY mode by internal wakeup source
14:9
Reserved
Reserved, the reset value must be maintained.
8
STBYF
STANDBY flag bit.
This bit is set by hardware when the device enters STANDBY mode and cleared by
software by setting PWR_STSCLR.CLRSTBY or by a power-on reset.
0: The device has never entered STANDBY mode
1: The device has ever entered STANDBY mode
Note: A system reset will not clear this bit.
7:3
Reserved
Reserved, the reset value must be maintained.
2
WKUPF2
WKUP2 pin wakeup flag.