EasyManua.ls Logo

ST STM32F31xx - PWR Firmware Driver Defines; Pwr

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...
Power control (PWR)
UM1581
308/584
DocID023800 Rev 1
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.
Return values
The new state of PWR_FLAG (SET or RESET).
Notes
None.
17.2.10.2 PWR_ClearFlag
Function Name
void PWR_ClearFlag ( uint32_t PWR_FLAG)
Function Description
Clears the PWR's pending flags.
Parameters
PWR_FLAG : specifies the flag to clear. This parameter can
be one of the following values:
PWR_FLAG_WU : Wake Up flag
PWR_FLAG_SB : StandBy flag
Return values
None.
Notes
None.
17.3 PWR Firmware driver defines
17.3.1 PWR
PWR
PWR_Flag
#define: PWR_FLAG_WU PWR_CSR_WUF
#define: PWR_FLAG_SB PWR_CSR_SBF
#define: PWR_FLAG_PVDO PWR_CSR_PVDO

Table of Contents

Related product manuals