STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
Extended features functions

Extended features functions. More...

Collaboration diagram for Extended features functions:

Functions

void HAL_RTCEx_AlarmBEventCallback (RTC_HandleTypeDef *hrtc)
 Alarm B callback.
 
HAL_StatusTypeDef HAL_RTCEx_PollForAlarmBEvent (RTC_HandleTypeDef *hrtc, uint32_t Timeout)
 Handles Alarm B Polling request.
 

Detailed Description

Extended features functions.

 ===============================================================================
                 ##### Extended features functions #####
 ===============================================================================
    [..]  This section provides functions allowing to:
      (+) RTC Alarm B callback
      (+) RTC Poll for Alarm B request

Function Documentation

◆ HAL_RTCEx_AlarmBEventCallback()

__weak void HAL_RTCEx_AlarmBEventCallback ( RTC_HandleTypeDef * hrtc)

#include <stm32f4xx_hal_rtc_ex.h>

Alarm B callback.

Parameters
hrtcpointer to a RTC_HandleTypeDef structure that contains the configuration information for RTC.
Return values
None

Definition at line 1820 of file stm32f4xx_hal_rtc_ex.c.

References UNUSED.

Referenced by HAL_RTC_AlarmIRQHandler(), and HAL_RTC_Init().

◆ HAL_RTCEx_PollForAlarmBEvent()

HAL_StatusTypeDef HAL_RTCEx_PollForAlarmBEvent ( RTC_HandleTypeDef * hrtc,
uint32_t Timeout )

#include <stm32f4xx_hal_rtc_ex.h>

Handles Alarm B Polling request.

Parameters
hrtcpointer to a RTC_HandleTypeDef structure that contains the configuration information for RTC.
TimeoutTimeout duration
Return values
HALstatus

Definition at line 1837 of file stm32f4xx_hal_rtc_ex.c.

References __HAL_RTC_ALARM_CLEAR_FLAG, __HAL_RTC_ALARM_GET_FLAG, HAL_GetTick(), HAL_MAX_DELAY, HAL_OK, HAL_RTC_STATE_READY, HAL_RTC_STATE_TIMEOUT, HAL_TIMEOUT, RTC_FLAG_ALRBF, and RTC_HandleTypeDef::State.