HAL
__HAL_RTC_TIMESTAMP_GET_IT_SOURCE is only used within HAL.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesHAL__HAL_RTC_TIMESTAMP_GET_IT_SOURCE

__HAL_RTC_TIMESTAMP_GET_IT_SOURCE macro

Check whether the specified RTC Timestamp interrupt has been enabled or not.

Syntax

#define __HAL_RTC_TIMESTAMP_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) (((((__HANDLE__)->Instance->CR) & (__INTERRUPT__)) != 0U) ? 1U : 0U)

Arguments

__HANDLE__

specifies the RTC handle.

__INTERRUPT__

specifies the RTC Timestamp interrupt source to check. This parameter can be: @arg RTC_IT_TS: TimeStamp interrupt

Return value

None

References

LocationText
stm32f4xx_hal_rtc_ex.h:554
#define __HAL_RTC_TIMESTAMP_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) (((((__HANDLE__)->Instance->CR) & (__INTERRUPT__)) != 0U) ? 1U : 0U)
stm32f4xx_hal_rtc_ex.c:612
if (__HAL_RTC_TIMESTAMP_GET_IT_SOURCE(hrtc, RTC_IT_TS) != 0U)