HAL RTC Extension Driver
Function description
Parameters
Return values
HAL_RTCEx_PollForWakeUpTimerEvent
Function name
Function description
Parameters
Return values
HAL_RTCEx_BKUPWrite
Function name
Function description
Parameters
Return values
HAL_RTCEx_BKUPRead
Function name
Function description
Parameters
Return values
HAL_RTCEx_SetCoarseCalib
Function name
Function description
492/1371
Wake Up Timer callback.
hrtc: pointer to a RTC_HandleTypeDef structure that
contains the configuration information for RTC.
None:
HAL_StatusTypeDef HAL_RTCEx_PollForWakeUpTimerEvent
(RTC_HandleTypeDef * hrtc, uint32_t Timeout)
This function handles Wake Up Timer Polling.
hrtc: pointer to a RTC_HandleTypeDef structure that
contains the configuration information for RTC.
Timeout: Timeout duration
HAL: status
void HAL_RTCEx_BKUPWrite (RTC_HandleTypeDef * hrtc,
uint32_t BackupRegister, uint32_t Data)
Writes a data in a specified RTC Backup data register.
hrtc: pointer to a RTC_HandleTypeDef structure that
contains the configuration information for RTC.
BackupRegister: RTC Backup data Register number. This
parameter can be: RTC_BKP_DRx where x can be from 0 to
19 to specify the register.
Data: Data to be written in the specified RTC Backup data
register.
None:
uint32_t HAL_RTCEx_BKUPRead (RTC_HandleTypeDef * hrtc,
uint32_t BackupRegister)
Reads data from the specified RTC Backup data Register.
hrtc: pointer to a RTC_HandleTypeDef structure that
contains the configuration information for RTC.
BackupRegister: RTC Backup data Register number. This
parameter can be: RTC_BKP_DRx where x can be from 0 to
19 to specify the register.
Read: value
HAL_StatusTypeDef HAL_RTCEx_SetCoarseCalib
(RTC_HandleTypeDef * hrtc, uint32_t CalibSign, uint32_t
Value)
Sets the Coarse calibration parameters.
DocID028236 Rev 2
UM1940
Need help?
Do you have a question about the STM32F2 and is the answer not in the manual?
Questions and answers