Modules | Functions
Collaboration diagram for PWR_Private_Functions:

Modules

 Backup Domain Access function
 Backup Domain Access function.
 
 PVD configuration functions
 PVD configuration functions.
 
 WakeUp pin configuration functions
 WakeUp pin configuration functions.
 
 Main and Backup Regulators configuration functions
 Main and Backup Regulators configuration functions.
 
 FLASH Power Down configuration functions
 FLASH Power Down configuration functions.
 
 Low Power modes configuration functions
 Low Power modes configuration functions.
 
 Flags management functions
 Flags management functions.
 

Functions

void PWR_BackupAccessCmd (FunctionalState NewState)
 Enables or disables access to the RTC and backup registers. More...
 
void PWR_ClearFlag (uint32_t PWR_FLAG)
 Clears the PWR's pending flags. More...
 
void PWR_DeInit (void)
 Deinitializes the PWR peripheral registers to their default reset values. More...
 
void PWR_EnterSTANDBYMode (void)
 Enters STANDBY mode. More...
 
void PWR_EnterSTOPMode (uint32_t PWR_Regulator, uint8_t PWR_STOPEntry)
 Enters STOP mode. More...
 
FlagStatus PWR_GetFlagStatus (uint32_t PWR_FLAG)
 Checks whether the specified PWR flag is set or not. More...
 
void PWR_PVDCmd (FunctionalState NewState)
 Enables or disables the Power Voltage Detector(PVD). More...
 
void PWR_PVDLevelConfig (uint32_t PWR_PVDLevel)
 Configures the voltage threshold detected by the Power Voltage Detector(PVD). More...
 
void PWR_WakeUpPinCmd (FunctionalState NewState)
 Enables or disables the WakeUp Pin functionality. More...
 

Detailed Description

Function Documentation

void PWR_BackupAccessCmd ( FunctionalState  NewState)

Enables or disables access to the RTC and backup registers.

Enables or disables access to the backup domain (RTC registers, RTC backup data registers and backup SRAM).

Parameters
NewStatenew state of the access to the RTC and backup registers. This parameter can be: ENABLE or DISABLE.
Return values
None

Definition at line 124 of file stm32f10x_pwr.c.

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 287 of file stm32f10x_pwr.c.

void PWR_DeInit ( void  )

Deinitializes the PWR peripheral registers to their default reset values.

Parameters
None
Return values
None

Definition at line 112 of file stm32f10x_pwr.c.

void PWR_EnterSTANDBYMode ( void  )

Enters STANDBY mode.

Parameters
None
Return values
None

Definition at line 236 of file stm32f10x_pwr.c.

void PWR_EnterSTOPMode ( uint32_t  PWR_Regulator,
uint8_t  PWR_STOPEntry 
)

Enters STOP mode.

Parameters
PWR_Regulatorspecifies the regulator state in STOP mode. This parameter can be one of the following values:
  • PWR_Regulator_ON: STOP mode with regulator ON
  • PWR_Regulator_LowPower: STOP mode with regulator in low power mode
PWR_STOPEntryspecifies if STOP mode in entered with WFI or WFE instruction. This parameter can be one of the following values:
  • PWR_STOPEntry_WFI: enter STOP mode with WFI instruction
  • PWR_STOPEntry_WFE: enter STOP mode with WFE instruction
Return values
None

Definition at line 197 of file stm32f10x_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
  • PWR_FLAG_SB: StandBy flag
  • PWR_FLAG_PVDO: PVD Output
Return values
Thenew state of PWR_FLAG (SET or RESET).

Definition at line 261 of file stm32f10x_pwr.c.

void PWR_PVDCmd ( FunctionalState  NewState)

Enables or disables the Power Voltage Detector(PVD).

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

Definition at line 137 of file stm32f10x_pwr.c.

void PWR_PVDLevelConfig ( uint32_t  PWR_PVDLevel)

Configures the voltage threshold detected by the Power Voltage Detector(PVD).

Parameters
PWR_PVDLevelspecifies the PVD detection level This parameter can be one of the following values:
  • PWR_PVDLevel_2V2: PVD detection level set to 2.2V
  • PWR_PVDLevel_2V3: PVD detection level set to 2.3V
  • PWR_PVDLevel_2V4: PVD detection level set to 2.4V
  • PWR_PVDLevel_2V5: PVD detection level set to 2.5V
  • PWR_PVDLevel_2V6: PVD detection level set to 2.6V
  • PWR_PVDLevel_2V7: PVD detection level set to 2.7V
  • PWR_PVDLevel_2V8: PVD detection level set to 2.8V
  • PWR_PVDLevel_2V9: PVD detection level set to 2.9V
Return values
None

Definition at line 158 of file stm32f10x_pwr.c.

void PWR_WakeUpPinCmd ( FunctionalState  NewState)

Enables or disables the WakeUp Pin functionality.

Parameters
NewStatenew state of the WakeUp Pin functionality. This parameter can be: ENABLE or DISABLE.
Return values
None

Definition at line 178 of file stm32f10x_pwr.c.



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