Functions

FLASH Power Down configuration functions. More...

Collaboration diagram for FLASH Power Down configuration functions:

Functions

void PWR_ClearFlag (uint32_t PWR_FLAG)
 Clears the PWR's pending flags. More...
 
void PWR_FlashPowerDownCmd (FunctionalState NewState)
 Enables or disables the Flash Power Down in STOP mode. More...
 
FlagStatus PWR_GetFlagStatus (uint32_t PWR_FLAG)
 Checks whether the specified PWR flag is set or not. More...
 

Detailed Description

FLASH Power Down configuration functions.

Flags management functions.

 ===============================================================================
             ##### FLASH Power Down configuration functions #####
 ===============================================================================  
    [..]
      (+) By setting the FPDS bit in the PWR_CR register by using the 
          PWR_FlashPowerDownCmd() function, the Flash memory also enters power 
          down mode when the device enters Stop mode. When the Flash memory 
          is in power down mode, an additional startup delay is incurred when 
          waking up from Stop mode.
 ===============================================================================
                    ##### Flags management functions #####
 ===============================================================================  

Function Documentation

void PWR_ClearFlag ( uint32_t  PWR_FLAG)

Clears the PWR's pending flags.

Parameters
PWR_FLAGspecifies 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.

void PWR_FlashPowerDownCmd ( FunctionalState  NewState)

Enables or disables the Flash Power Down in STOP mode.

Parameters
NewStatenew state of the Flash power mode. This parameter can be: ENABLE or DISABLE.
Return values
None

Definition at line 378 of file stm32f4xx_pwr.c.

FlagStatus PWR_GetFlagStatus ( uint32_t  PWR_FLAG)

Checks whether the specified PWR flag is set or not.

Parameters
PWR_FLAGspecifies 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
Thenew state of PWR_FLAG (SET or RESET).

Definition at line 488 of file stm32f30x_pwr.c.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 19:59:29