Functions | |
HAL_StatusTypeDef | HAL_RTC_SetAlarm (RTC_HandleTypeDef *hrtc, RTC_AlarmTypeDef *sAlarm, uint32_t Format) |
Sets the specified RTC Alarm. More... | |
HAL_StatusTypeDef | HAL_RTC_SetAlarm_IT (RTC_HandleTypeDef *hrtc, RTC_AlarmTypeDef *sAlarm, uint32_t Format) |
Sets the specified RTC Alarm. More... | |
HAL_StatusTypeDef | HAL_RTC_DeactivateAlarm (RTC_HandleTypeDef *hrtc) |
Deactivate the specified RTC Alarm. More... | |
HAL_StatusTypeDef | HAL_RTC_GetAlarm (RTC_HandleTypeDef *hrtc, RTC_AlarmTypeDef *sAlarm, uint32_t Format) |
Gets the RTC Alarm value and masks. More... | |
void | HAL_RTC_AlarmIRQHandler (RTC_HandleTypeDef *hrtc) |
HAL_StatusTypeDef | HAL_RTC_PollForAlarmAEvent (RTC_HandleTypeDef *hrtc, uint32_t Timeout) |
This function handles AlarmA Polling request. More... | |
void | HAL_RTC_AlarmAEventCallback (RTC_HandleTypeDef *hrtc) |
Alarm A callback. More... | |
HAL_StatusTypeDef | HAL_RTC_SetWakeUpTimer (RTC_HandleTypeDef *hrtc, uint32_t WakeUpCounter, uint32_t WakeUpClock) |
Sets wake up timer with interrupt. More... | |
uint32_t | HAL_RTC_DeactivateWakeUpTimer (RTC_HandleTypeDef *hrtc) |
Deactivates wake up timer counter. More... | |
uint32_t | HAL_RTC_GetWakeUpTimer (RTC_HandleTypeDef *hrtc) |
Gets wake up timer counter. More... | |
void | HAL_RTC_WakeupTimerEventCallback (RTC_HandleTypeDef *hrtc) |
Wakeup Timer callback. More... | |
void | HAL_RTC_IRQHandler (RTC_HandleTypeDef *hrtc) |
This function handles Alarm interrupt request. More... | |
void HAL_RTC_AlarmAEventCallback | ( | RTC_HandleTypeDef * | hrtc | ) |
Alarm A callback.
hrtc | pointer to a RTC_HandleTypeDef structure that contains the configuration information for RTC. |
None |
HAL_StatusTypeDef HAL_RTC_DeactivateAlarm | ( | RTC_HandleTypeDef * | hrtc | ) |
Deactivate the specified RTC Alarm.
hrtc | pointer to a RTC_HandleTypeDef structure that contains the configuration information for RTC. |
HAL | status |
uint32_t HAL_RTC_DeactivateWakeUpTimer | ( | RTC_HandleTypeDef * | hrtc | ) |
Deactivates wake up timer counter.
hrtc | pointer to a RTC_HandleTypeDef structure that contains the configuration information for RTC. |
HAL | status |
HAL_StatusTypeDef HAL_RTC_GetAlarm | ( | RTC_HandleTypeDef * | hrtc, |
RTC_AlarmTypeDef * | sAlarm, | ||
uint32_t | Format | ||
) |
Gets the RTC Alarm value and masks.
hrtc | pointer to a RTC_HandleTypeDef structure that contains the configuration information for RTC. |
sAlarm | Pointer to Date structure |
Format | Specifies the format of the entered parameters. This parameter can be one of the following values:
|
HAL | status |
uint32_t HAL_RTC_GetWakeUpTimer | ( | RTC_HandleTypeDef * | hrtc | ) |
Gets wake up timer counter.
hrtc | pointer to a RTC_HandleTypeDef structure that contains the configuration information for RTC. |
Counter | value |
void HAL_RTC_IRQHandler | ( | RTC_HandleTypeDef * | hrtc | ) |
This function handles Alarm interrupt request.
hrtc | pointer to a RTC_HandleTypeDef structure that contains the configuration information for RTC. |
None |
HAL_StatusTypeDef HAL_RTC_PollForAlarmAEvent | ( | RTC_HandleTypeDef * | hrtc, |
uint32_t | Timeout | ||
) |
This function handles AlarmA Polling request.
hrtc | pointer to a RTC_HandleTypeDef structure that contains the configuration information for RTC. |
Timeout | Timeout duration |
HAL | status |
HAL_StatusTypeDef HAL_RTC_SetAlarm | ( | RTC_HandleTypeDef * | hrtc, |
RTC_AlarmTypeDef * | sAlarm, | ||
uint32_t | Format | ||
) |
Sets the specified RTC Alarm.
hrtc | pointer to a RTC_HandleTypeDef structure that contains the configuration information for RTC. |
sAlarm | Pointer to Alarm structure |
Format | Specifies the format of the entered parameters. This parameter can be one of the following values:
|
HAL | status |
HAL_StatusTypeDef HAL_RTC_SetAlarm_IT | ( | RTC_HandleTypeDef * | hrtc, |
RTC_AlarmTypeDef * | sAlarm, | ||
uint32_t | Format | ||
) |
Sets the specified RTC Alarm.
hrtc | pointer to a RTC_HandleTypeDef structure that contains the configuration information for RTC. |
sAlarm | Pointer to Alarm structure |
Format | Specifies the format of the entered parameters. This parameter can be one of the following values:
|
HAL | status |
HAL_StatusTypeDef HAL_RTC_SetWakeUpTimer | ( | RTC_HandleTypeDef * | hrtc, |
uint32_t | WakeUpCounter, | ||
uint32_t | WakeUpClock | ||
) |
Sets wake up timer with interrupt.
hrtc | pointer to a RTC_HandleTypeDef structure that contains the configuration information for RTC. |
WakeUpCounter | Wake up counter |
WakeUpClock | Wake up clock, see @RTC_Wakeup_Clock |
HAL | status |
void HAL_RTC_WakeupTimerEventCallback | ( | RTC_HandleTypeDef * | hrtc | ) |
Wakeup Timer callback.
hrtc | pointer to a RTC_HandleTypeDef structure that contains the configuration information for RTC. |
None |