EasyManua.ls Logo

ST STM32F31xx

ST STM32F31xx
584 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
UM1581
Power control (PWR)
DocID023800 Rev 1
307/584
mode. By keeping the internal regulator ON during Stop
mode, the consumption is higher although the startup time is
reduced.
17.2.9.3 PWR_EnterSTANDBYMode
Function Name
void PWR_EnterSTANDBYMode ( void )
Function Description
Enters STANDBY mode.
Parameters
None.
Return values
None.
Notes
In Standby mode, all I/O pins are high impedance except for:
Reset pad (still available)
RTC_AF1 pin (PC13) if configured for Wakeup pin 2
(WKUP2), tamper, time-stamp, RTC Alarm out, or RTC clock
calibration out.
WKUP pin 1 (PA0) and WKUP pin 3 (PE6), if enabled.
17.2.10 Flag management functions
17.2.10.1 PWR_GetFlagStatus
Function Name
FlagStatus PWR_GetFlagStatus ( uint32_t PWR_FLAG)
Function Description
Checks whether the specified PWR flag is set or not.
Parameters
PWR_FLAG : specifies the flag to check. This parameter can
be one of the following values: PWR_FLAG_WU: Wake Up
flag. This flag indicates that a wakeup event was received
from the WKUP pin or from the RTC alarm (Alarm A or Alarm
B), RTC Tamper event, RTC TimeStamp event or RTC
Wakeup. PWR_FLAG_SB: StandBy flag. This flag indicates
that the system was resumed from StandBy mode.
PWR_FLAG_PVDO: PVD Output. This flag is valid only if
PVD is enabled by the PWR_PVDCmd() function.
PWR_FLAG_VREFINTRDY: Internal Voltage Reference
Ready flag. This flag indicates the state of the internal voltage
reference, VREFINT.
PWR_FLAG_WU : Wake Up flag. This flag indicates
that a wakeup event was received from the WKUP pin or
from the RTC alarm (Alarm A or Alarm B), RTC Tamper

Table of Contents

Related product manuals