STM32F103xB HAL User Manual
|
Initialization and de-initialization functions. More...
Functions | |
void | HAL_PWR_DeInit (void) |
Deinitializes the PWR peripheral registers to their default reset values. | |
void | HAL_PWR_EnableBkUpAccess (void) |
Enables access to the backup domain (RTC registers, RTC backup data registers ). | |
void | HAL_PWR_DisableBkUpAccess (void) |
Disables access to the backup domain (RTC registers, RTC backup data registers). |
Initialization and de-initialization functions.
=============================================================================== ##### Initialization and de-initialization functions ##### =============================================================================== [..] After reset, the backup domain (RTC registers, RTC backup data registers) is protected against possible unwanted write accesses. To enable access to the RTC Domain and RTC registers, proceed as follows: (+) Enable the Power Controller (PWR) APB1 interface clock using the __HAL_RCC_PWR_CLK_ENABLE() macro. (+) Enable access to RTC domain using the HAL_PWR_EnableBkUpAccess() function.
void HAL_PWR_DeInit | ( | void | ) |
Deinitializes the PWR peripheral registers to their default reset values.
None |
Definition at line 156 of file stm32f1xx_hal_pwr.c.
References __HAL_RCC_PWR_FORCE_RESET, and __HAL_RCC_PWR_RELEASE_RESET.
void HAL_PWR_DisableBkUpAccess | ( | void | ) |
Disables access to the backup domain (RTC registers, RTC backup data registers).
None |
Definition at line 182 of file stm32f1xx_hal_pwr.c.
References CR_DBP_BB.
void HAL_PWR_EnableBkUpAccess | ( | void | ) |
Enables access to the backup domain (RTC registers, RTC backup data registers ).
None |
Definition at line 169 of file stm32f1xx_hal_pwr.c.
References CR_DBP_BB.