Hal Drivers for L4

Dependents:   BSP OneHopeOnePrayer FINAL_AUDIO_RECORD AudioDemo

Fork of STM32L4xx_HAL_Driver by Senior Design: Sound Monitor

Embed: (wiki syntax)

« Back to documentation index

Initialization and de-initialization functions

Initialization and de-initialization functions
[PWR Exported Functions]

Initialization and de-initialization functions. More...

Functions

void HAL_PWR_DeInit (void)
 Deinitialize the HAL PWR peripheral registers to their default reset values.
void HAL_PWR_EnableBkUpAccess (void)
 Enable access to the backup domain (RTC registers, RTC backup data registers).
void HAL_PWR_DisableBkUpAccess (void)
 Disable access to the backup domain (RTC registers, RTC backup data registers).

Detailed Description

Initialization and de-initialization functions.

 ===============================================================================
              ##### Initialization and de-initialization functions #####
 ===============================================================================
    [..]


Function Documentation

void HAL_PWR_DeInit ( void   )

Deinitialize the HAL PWR peripheral registers to their default reset values.

Return values:
None

Definition at line 105 of file stm32l4xx_hal_pwr.c.

void HAL_PWR_DisableBkUpAccess ( void   )

Disable access to the backup domain (RTC registers, RTC backup data registers).

Return values:
None

Definition at line 133 of file stm32l4xx_hal_pwr.c.

void HAL_PWR_EnableBkUpAccess ( void   )

Enable access to the backup domain (RTC registers, RTC backup data registers).

Note:
After reset, the backup domain is protected against possible unwanted write accesses.
RTCSEL that sets the RTC clock source selection is in the RTC back-up domain. In order to set or modify the RTC clock, the backup domain access must be disabled.
LSEON bit that switches on and off the LSE crystal belongs as well to the back-up domain.
Return values:
None

Definition at line 123 of file stm32l4xx_hal_pwr.c.