Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Space_Invaders_Demo neopixels gpio_test_stm32f3_discovery gpio_test_systimer ... more
Flags management functions
[PWR_Private_Functions]
  Flags management functions. More...
| Functions | |
| FlagStatus | PWR_GetFlagStatus (uint32_t PWR_FLAG) | 
| Checks whether the specified PWR flag is set or not. | |
| void | PWR_ClearFlag (uint32_t PWR_FLAG) | 
| Clears the PWR's pending flags. | |
Detailed Description
Flags management functions.
 ===============================================================================
                    ##### Flags management functions #####
 ===============================================================================  
Function Documentation
| void PWR_ClearFlag | ( | uint32_t | PWR_FLAG ) | 
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 
Definition at line 514 of file stm32f30x_pwr.c.
| FlagStatus PWR_GetFlagStatus | ( | uint32_t | PWR_FLAG ) | 
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.
 
- Return values:
- 
  The new state of PWR_FLAG (SET or RESET). 
Definition at line 488 of file stm32f30x_pwr.c.
Generated on Tue Jul 12 2022 17:34:46 by
 1.7.2
 1.7.2