EasyManuals Logo

ST STM32F31xx User Manual

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
Page #307 background imageLoading...
Page #307 background image
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

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F31xx and is the answer not in the manual?

ST STM32F31xx Specifications

General IconGeneral
BrandST
ModelSTM32F31xx
CategoryMicrocontrollers
LanguageEnglish

Related product manuals