__HAL_RTC_TAMPER_GET_FLAG macro
Get the selected RTC Tamper's flag status.
Syntax
#define __HAL_RTC_TAMPER_GET_FLAG(__HANDLE__, __FLAG__) (((((__HANDLE__)->Instance->ISR) & (__FLAG__)) != 0U)? 1U : 0U) Arguments
__HANDLE__
specifies the RTC handle.
__FLAG__
specifies the RTC Tamper flag to be checked. This parameter can be: @arg RTC_FLAG_TAMP1F: Tamper 1 interrupt flag @arg RTC_FLAG_TAMP2F: Tamper 2 interrupt flag
Return value
None
Notes
RTC_FLAG_TAMP2F is not applicable to all devices.