STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
Initialization and de-initialization functions. More...
Functions | |
void | HAL_PWR_DeInit (void) |
Deinitializes the HAL 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 and backup SRAM). | |
void | HAL_PWR_DisableBkUpAccess (void) |
Disables access to the backup domain (RTC registers, RTC backup data registers and backup SRAM). | |
Initialization and de-initialization functions.
=============================================================================== ##### Initialization and de-initialization functions ##### =============================================================================== [..] After reset, the backup domain (RTC registers, RTC backup data registers and backup SRAM) 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 | ) |
#include <stm32f4xx_hal_pwr.h>
Deinitializes the HAL PWR peripheral registers to their default reset values.
None |
Definition at line 90 of file stm32f4xx_hal_pwr.c.
References __HAL_RCC_PWR_FORCE_RESET, and __HAL_RCC_PWR_RELEASE_RESET.
void HAL_PWR_EnableBkUpAccess | ( | void | ) |
#include <stm32f4xx_hal_pwr.h>
Enables access to the backup domain (RTC registers, RTC backup data registers and backup SRAM).
None |
Definition at line 108 of file stm32f4xx_hal_pwr.c.
void HAL_PWR_DisableBkUpAccess | ( | void | ) |
#include <stm32f4xx_hal_pwr.h>
Disables access to the backup domain (RTC registers, RTC backup data registers and backup SRAM).
None |
Definition at line 128 of file stm32f4xx_hal_pwr.c.