HAL
__HAL_RTC_TAMPER_GET_IT_SOURCE is only used within HAL.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesHAL__HAL_RTC_TAMPER_GET_IT_SOURCE

__HAL_RTC_TAMPER_GET_IT_SOURCE macro

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

Syntax

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

Arguments

__HANDLE__

specifies the RTC handle.

__INTERRUPT__

specifies the RTC Tamper interrupt source to check. This parameter can be: @arg RTC_IT_TAMP: Tamper global interrupt

Return value

None

References

LocationText
stm32f4xx_hal_rtc_ex.h:646
#define __HAL_RTC_TAMPER_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) (((((__HANDLE__)->Instance->TAFCR) & (__INTERRUPT__)) != 0U) ? 1U : 0U)
stm32f4xx_hal_rtc_ex.c:631
if (__HAL_RTC_TAMPER_GET_IT_SOURCE(hrtc, RTC_IT_TAMP) != 0U)
stm32f4xx_hal_rtc_ex.c:650
if (__HAL_RTC_TAMPER_GET_IT_SOURCE(hrtc, RTC_IT_TAMP) != 0U)