STM32H735xx HAL User Manual
Functions
Extended RTC Backup register functions
RTC Exported Functions

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.

Detailed Description

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

Function Documentation

uint32_t HAL_RTCEx_BKUPRead ( RTC_HandleTypeDef hrtc,
uint32_t  BackupRegister 
)

Read data from the specified RTC Backup data Register.

Parameters:
hrtcRTC handle
BackupRegisterRTC Backup data Register number. This parameter can be: RTC_BKP_DRx where x can be from 0 to 31 to specify the register.
Return values:
Readvalue

Definition at line 2408 of file stm32h7xx_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.

Parameters:
hrtcRTC handle
BackupRegisterRTC Backup data Register number. This parameter can be: RTC_BKP_DRx where x can be from 0 to 31 to specify the register.
DataData to be written in the specified Backup data register.
Return values:
None

Definition at line 2378 of file stm32h7xx_hal_rtc_ex.c.

References assert_param, __RTC_HandleTypeDef::Instance, and IS_RTC_BKP.