Macros | |
#define | __HAL_RTC_TIMESTAMP_CLEAR_FLAG(__HANDLE__, __FLAG__) ((__HANDLE__)->Instance->ISR) = (~((__FLAG__) | RTC_ISR_INIT)|((__HANDLE__)->Instance->ISR & RTC_ISR_INIT)) |
Clear the RTC Time Stamp's pending flags. More... | |
#define | __HAL_RTC_TIMESTAMP_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CR &= ~(RTC_CR_TSE)) |
Disable the RTC TimeStamp peripheral. More... | |
#define | __HAL_RTC_TIMESTAMP_DISABLE_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->CR &= ~(__INTERRUPT__)) |
Disable the RTC TimeStamp interrupt. More... | |
#define | __HAL_RTC_TIMESTAMP_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR |= (RTC_CR_TSE)) |
Enable the RTC TimeStamp peripheral. More... | |
#define | __HAL_RTC_TIMESTAMP_ENABLE_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->CR |= (__INTERRUPT__)) |
Enable the RTC TimeStamp interrupt. More... | |
#define | __HAL_RTC_TIMESTAMP_GET_FLAG(__HANDLE__, __FLAG__) (((((__HANDLE__)->Instance->ISR) & (__FLAG__)) != RESET)? SET : RESET) |
Get the selected RTC TimeStamp's flag status. More... | |
#define | __HAL_RTC_TIMESTAMP_GET_IT(__HANDLE__, __INTERRUPT__) (((((__HANDLE__)->Instance->ISR) & ((__INTERRUPT__)>> 4U)) != RESET)? SET : RESET) |
Check whether the specified RTC TimeStamp interrupt has occurred or not. More... | |
#define | __HAL_RTC_TIMESTAMP_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) (((((__HANDLE__)->Instance->CR) & (__INTERRUPT__)) != RESET) ? SET : RESET) |
Check whether the specified RTC Time Stamp interrupt has been enabled or not. More... | |
#define __HAL_RTC_TIMESTAMP_CLEAR_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | ((__HANDLE__)->Instance->ISR) = (~((__FLAG__) | RTC_ISR_INIT)|((__HANDLE__)->Instance->ISR & RTC_ISR_INIT)) |
Clear the RTC Time Stamp's pending flags.
<strong>HANDLE</strong> | specifies the RTC handle. |
<strong>FLAG</strong> | specifies the RTC Alarm Flag sources to be enabled or disabled. This parameter can be:
|
None |
Definition at line 557 of file stm32f4xx_hal_rtc_ex.h.
#define __HAL_RTC_TIMESTAMP_DISABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR &= ~(RTC_CR_TSE)) |
Disable the RTC TimeStamp peripheral.
<strong>HANDLE</strong> | specifies the RTC handle. |
None |
Definition at line 496 of file stm32f4xx_hal_rtc_ex.h.
#define __HAL_RTC_TIMESTAMP_DISABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((__HANDLE__)->Instance->CR &= ~(__INTERRUPT__)) |
Disable the RTC TimeStamp interrupt.
<strong>HANDLE</strong> | specifies the RTC handle. |
<strong>INTERRUPT</strong> | specifies the RTC TimeStamp interrupt sources to be enabled or disabled. This parameter can be:
|
None |
Definition at line 516 of file stm32f4xx_hal_rtc_ex.h.
#define __HAL_RTC_TIMESTAMP_ENABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR |= (RTC_CR_TSE)) |
Enable the RTC TimeStamp peripheral.
<strong>HANDLE</strong> | specifies the RTC handle. |
None |
Definition at line 489 of file stm32f4xx_hal_rtc_ex.h.
#define __HAL_RTC_TIMESTAMP_ENABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((__HANDLE__)->Instance->CR |= (__INTERRUPT__)) |
Enable the RTC TimeStamp interrupt.
<strong>HANDLE</strong> | specifies the RTC handle. |
<strong>INTERRUPT</strong> | specifies the RTC TimeStamp interrupt sources to be enabled or disabled. This parameter can be:
|
None |
Definition at line 506 of file stm32f4xx_hal_rtc_ex.h.
#define __HAL_RTC_TIMESTAMP_GET_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | (((((__HANDLE__)->Instance->ISR) & (__FLAG__)) != RESET)? SET : RESET) |
Get the selected RTC TimeStamp's flag status.
<strong>HANDLE</strong> | specifies the RTC handle. |
<strong>FLAG</strong> | specifies the RTC TimeStamp flag to check. This parameter can be:
|
None |
Definition at line 547 of file stm32f4xx_hal_rtc_ex.h.
#define __HAL_RTC_TIMESTAMP_GET_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | (((((__HANDLE__)->Instance->ISR) & ((__INTERRUPT__)>> 4U)) != RESET)? SET : RESET) |
Check whether the specified RTC TimeStamp interrupt has occurred or not.
<strong>HANDLE</strong> | specifies the RTC handle. |
<strong>INTERRUPT</strong> | specifies the RTC TimeStamp interrupt to check. This parameter can be:
|
None |
Definition at line 526 of file stm32f4xx_hal_rtc_ex.h.
#define __HAL_RTC_TIMESTAMP_GET_IT_SOURCE | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | (((((__HANDLE__)->Instance->CR) & (__INTERRUPT__)) != RESET) ? SET : RESET) |
Check whether the specified RTC Time Stamp interrupt has been enabled or not.
<strong>HANDLE</strong> | specifies the RTC handle. |
<strong>INTERRUPT</strong> | specifies the RTC Time Stamp interrupt source to check. This parameter can be:
|
None |
Definition at line 536 of file stm32f4xx_hal_rtc_ex.h.