STM32L443xx HAL User Manual
|
Extended RTC Backup register functions. More...
Functions | |
void | HAL_RTCEx_BKUPWrite (RTC_HandleTypeDef *hrtc, uint32_t BackupRegister, uint32_t Data) |
Write a data in a specified RTC Backup data register. | |
uint32_t | HAL_RTCEx_BKUPRead (RTC_HandleTypeDef *hrtc, uint32_t BackupRegister) |
Read data from the specified RTC Backup data Register. |
Extended RTC Backup register functions.
=============================================================================== ##### Extended RTC Backup register functions ##### =============================================================================== [..] (+) Before calling any tamper or internal tamper function, you have to call first HAL_RTC_Init() function. (+) In that ine you can select to output tamper event on RTC pin. [..] This subsection provides functions allowing to (+) Write a data in a specified RTC Backup data register (+) Read a data in a specified RTC Backup data register
uint32_t HAL_RTCEx_BKUPRead | ( | RTC_HandleTypeDef * | hrtc, |
uint32_t | BackupRegister | ||
) |
Read data from the specified RTC Backup data Register.
hrtc | RTC handle |
BackupRegister | RTC Backup data Register number. This parameter can be: RTC_BKP_DRx where x can be from 0 to 31 to specify the register. |
Read | value |
Definition at line 2373 of file stm32l4xx_hal_rtc_ex.c.
References assert_param, __RTC_HandleTypeDef::Instance, and IS_RTC_BKP.
void HAL_RTCEx_BKUPWrite | ( | RTC_HandleTypeDef * | hrtc, |
uint32_t | BackupRegister, | ||
uint32_t | Data | ||
) |
Write a data in a specified RTC Backup data register.
hrtc | RTC handle |
BackupRegister | RTC Backup data Register number. This parameter can be: RTC_BKP_DRx where x can be from 0 to 31 to specify the register. |
Data | Data to be written in the specified Backup data register. |
None |
Definition at line 2340 of file stm32l4xx_hal_rtc_ex.c.
References assert_param, __RTC_HandleTypeDef::Instance, and IS_RTC_BKP.