HAL_RTC_SetAlarm() function
Sets the specified RTC Alarm.
Arguments
hrtc
pointer to a RTC_HandleTypeDef structure that contains the configuration information for RTC.
sAlarm
Pointer to Alarm structure
Specifies the format of the entered parameters. This parameter can be one of the following values: @arg RTC_FORMAT_BIN: Binary data format @arg RTC_FORMAT_BCD: BCD data format
Return value
HAL status
Notes
The Alarm register can only be written when the corresponding Alarm is disabled (Use the HAL_RTC_DeactivateAlarm()). The HAL_RTC_SetTime() must be called before enabling the Alarm feature.
Functions called by HAL_RTC_SetAlarm()
HAL_RTC_SetAlarm()
assert_failed() all items filtered out
Data read by HAL_RTC_SetAlarm()
Data written by HAL_RTC_SetAlarm()
HAL_RTC_SetAlarm()
Type of HAL_RTC_SetAlarm()
HAL_RTC_SetAlarm()
uint32_t all items filtered out