35 HAL_PWR_REGULATOR_MAIN = 0u,
36 HAL_PWR_REGULATOR_LOWPOWER = 1u
44 HAL_PWR_LP_ENTRY_WFI = 0u,
45 HAL_PWR_LP_ENTRY_WFE = 1u
56 __attribute__((deprecated(
"Please use PWR_RESET().")));
hal_bool_t hal_pwr_set_overdrive(hal_bool_t status)
Enables/Disables the voltage regulator overdrive mode.
void hal_pwr_set_backup_access(hal_bool_t status)
Enables/Disables write access to backup domain.
void hal_pwr_reset(void) __attribute__((deprecated("Please use PWR_RESET().")))
Resets the periphery to default values.
hal_pwr_lp_entry_t
Defines the method used to enter/leave the low power modes.
Definition: hal_pwr.h:43
Common #defines and typedefs.
hal_bool_t hal_pwr_set_underdrive(hal_bool_t status)
Enables/Disables the voltage regulator underdrive mode.
hal_pwr_regulator_t
Defines the available voltage regulators.
Definition: hal_pwr.h:34
void hal_pwr_set_flash_powerdown(hal_bool_t status)
Enables/Disables the flash powerdown mode.
hal_bool_t
Often used TRUE / FALSE type.
Definition: hal_common.h:31
hal_bool_t hal_pwr_set_backup_domain(hal_bool_t status)
Enables/disables the backup domain (RTC, backup sram/registers).
void hal_pwr_set_wakeup_pin(hal_bool_t status)
Enables/Disables the wakeup pin.