Macros | |
#define | __HAL_RTC_TAMPER1_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->TAFCR &= ~(RTC_TAFCR_TAMP1E)) |
Disable the RTC Tamper1 input detection. More... | |
#define | __HAL_RTC_TAMPER1_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->TAFCR |= (RTC_TAFCR_TAMP1E)) |
Enable the RTC Tamper1 input detection. More... | |
#define | __HAL_RTC_TAMPER2_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->TAFCR &= ~(RTC_TAFCR_TAMP2E)) |
Disable the RTC Tamper2 input detection. More... | |
#define | __HAL_RTC_TAMPER2_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->TAFCR |= (RTC_TAFCR_TAMP2E)) |
Enable the RTC Tamper2 input detection. More... | |
#define | __HAL_RTC_TAMPER_CLEAR_FLAG(__HANDLE__, __FLAG__) ((__HANDLE__)->Instance->ISR) = (~((__FLAG__) | RTC_ISR_INIT)|((__HANDLE__)->Instance->ISR & RTC_ISR_INIT)) |
Clear the RTC Tamper's pending flags. More... | |
#define | __HAL_RTC_TAMPER_GET_FLAG(__HANDLE__, __FLAG__) (((((__HANDLE__)->Instance->ISR) & (__FLAG__)) != RESET)? SET : RESET) |
Get the selected RTC Tamper's flag status. More... | |
#define | __HAL_RTC_TAMPER_GET_IT(__HANDLE__, __INTERRUPT__) (((((__HANDLE__)->Instance->ISR) & ((__INTERRUPT__)>> 4U)) != RESET)? SET : RESET) |
Check whether the specified RTC Tamper interrupt has occurred or not. More... | |
#define | __HAL_RTC_TAMPER_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) (((((__HANDLE__)->Instance->TAFCR) & (__INTERRUPT__)) != RESET) ? SET : RESET) |
Check whether the specified RTC Tamper interrupt has been enabled or not. More... | |
#define __HAL_RTC_TAMPER1_DISABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->TAFCR &= ~(RTC_TAFCR_TAMP1E)) |
Disable the RTC Tamper1 input detection.
<strong>HANDLE</strong> | specifies the RTC handle. |
None |
Definition at line 580 of file stm32f4xx_hal_rtc_ex.h.
#define __HAL_RTC_TAMPER1_ENABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->TAFCR |= (RTC_TAFCR_TAMP1E)) |
Enable the RTC Tamper1 input detection.
<strong>HANDLE</strong> | specifies the RTC handle. |
None |
Definition at line 573 of file stm32f4xx_hal_rtc_ex.h.
#define __HAL_RTC_TAMPER2_DISABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->TAFCR &= ~(RTC_TAFCR_TAMP2E)) |
Disable the RTC Tamper2 input detection.
<strong>HANDLE</strong> | specifies the RTC handle. |
None |
Definition at line 595 of file stm32f4xx_hal_rtc_ex.h.
#define __HAL_RTC_TAMPER2_ENABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->TAFCR |= (RTC_TAFCR_TAMP2E)) |
Enable the RTC Tamper2 input detection.
<strong>HANDLE</strong> | specifies the RTC handle. |
None |
Definition at line 588 of file stm32f4xx_hal_rtc_ex.h.
#define __HAL_RTC_TAMPER_CLEAR_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | ((__HANDLE__)->Instance->ISR) = (~((__FLAG__) | RTC_ISR_INIT)|((__HANDLE__)->Instance->ISR & RTC_ISR_INIT)) |
Clear the RTC Tamper's pending flags.
<strong>HANDLE</strong> | specifies the RTC handle. |
<strong>FLAG</strong> | specifies the RTC Tamper Flag to clear. This parameter can be:
|
None |
Definition at line 639 of file stm32f4xx_hal_rtc_ex.h.
#define __HAL_RTC_TAMPER_GET_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | (((((__HANDLE__)->Instance->ISR) & (__FLAG__)) != RESET)? SET : RESET) |
Get the selected RTC Tamper's flag status.
<strong>HANDLE</strong> | specifies the RTC handle. |
<strong>FLAG</strong> | specifies the RTC Tamper Flag sources to be enabled or disabled. This parameter can be:
|
None |
Definition at line 628 of file stm32f4xx_hal_rtc_ex.h.
#define __HAL_RTC_TAMPER_GET_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | (((((__HANDLE__)->Instance->ISR) & ((__INTERRUPT__)>> 4U)) != RESET)? SET : RESET) |
Check whether the specified RTC Tamper interrupt has occurred or not.
<strong>HANDLE</strong> | specifies the RTC handle. |
<strong>INTERRUPT</strong> | specifies the RTC Tamper interrupt to check. This parameter can be:
|
None |
Definition at line 607 of file stm32f4xx_hal_rtc_ex.h.
#define __HAL_RTC_TAMPER_GET_IT_SOURCE | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | (((((__HANDLE__)->Instance->TAFCR) & (__INTERRUPT__)) != RESET) ? SET : RESET) |
Check whether the specified RTC Tamper interrupt has been enabled or not.
<strong>HANDLE</strong> | specifies the RTC handle. |
<strong>INTERRUPT</strong> | specifies the RTC Tamper interrupt source to check. This parameter can be:
|
None |
Definition at line 617 of file stm32f4xx_hal_rtc_ex.h.