STM32L443xx HAL User Manual
|
Modules | |
RTC Calibration | |
RTCEx tamper | |
Defines | |
#define | __HAL_RTC_TIMESTAMP_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR |= (RTC_CR_TSE)) |
Enable the RTC TimeStamp peripheral. | |
#define | __HAL_RTC_TIMESTAMP_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CR &= ~(RTC_CR_TSE)) |
Disable the RTC TimeStamp peripheral. | |
#define | __HAL_RTC_TIMESTAMP_ENABLE_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->CR |= (__INTERRUPT__)) |
Enable the RTC TimeStamp interrupt. | |
#define | __HAL_RTC_TIMESTAMP_DISABLE_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->CR &= ~(__INTERRUPT__)) |
Disable the RTC TimeStamp interrupt. | |
#define | __HAL_RTC_TIMESTAMP_GET_IT(__HANDLE__, __INTERRUPT__) (((((__HANDLE__)->Instance->ISR) & ((__INTERRUPT__) >> 4)) != 0U) ? 1U : 0U) |
Check whether the specified RTC TimeStamp interrupt has occurred or not. | |
#define | __HAL_RTC_TIMESTAMP_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) (((((__HANDLE__)->Instance->CR) & (__INTERRUPT__)) != 0U) ? 1U : 0U) |
Check whether the specified RTC Time Stamp interrupt has been enabled or not. | |
#define | __HAL_RTC_TIMESTAMP_GET_FLAG(__HANDLE__, __FLAG__) (((((__HANDLE__)->Instance->ISR) & (__FLAG__)) != 0U) ? 1U : 0U) |
Get the selected RTC TimeStamp's flag status. | |
#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 Stamps pending flags. | |
#define | __HAL_RTC_INTERNAL_TIMESTAMP_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR |= (RTC_CR_ITSE)) |
Enable the RTC internal TimeStamp peripheral. | |
#define | __HAL_RTC_INTERNAL_TIMESTAMP_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CR &= ~(RTC_CR_ITSE)) |
Disable the RTC internal TimeStamp peripheral. | |
#define | __HAL_RTC_INTERNAL_TIMESTAMP_GET_FLAG(__HANDLE__, __FLAG__) (((((__HANDLE__)->Instance->ISR) & (__FLAG__)) != 0U) ? 1U : 0U) |
Get the selected RTC Internal Time Stamps flag status. | |
#define | __HAL_RTC_INTERNAL_TIMESTAMP_CLEAR_FLAG(__HANDLE__, __FLAG__) ((__HANDLE__)->Instance->ISR) = (~((__FLAG__) | RTC_ISR_INIT)|((__HANDLE__)->Instance->ISR & RTC_ISR_INIT)) |
Clear the RTC Internal Time Stamps pending flags. |
#define __HAL_RTC_INTERNAL_TIMESTAMP_CLEAR_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | ((__HANDLE__)->Instance->ISR) = (~((__FLAG__) | RTC_ISR_INIT)|((__HANDLE__)->Instance->ISR & RTC_ISR_INIT)) |
Clear the RTC Internal Time Stamps pending flags.
__HANDLE__ | specifies the RTC handle. |
__FLAG__ | specifies the RTC Internal Time Stamp Flag source to clear. This parameter can be: |
None |
Definition at line 1008 of file stm32l4xx_hal_rtc_ex.h.
Referenced by HAL_RTCEx_GetTimeStamp().
#define __HAL_RTC_INTERNAL_TIMESTAMP_DISABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR &= ~(RTC_CR_ITSE)) |
Disable the RTC internal TimeStamp peripheral.
__HANDLE__ | specifies the RTC handle. |
None |
Definition at line 981 of file stm32l4xx_hal_rtc_ex.h.
Referenced by HAL_RTCEx_DeactivateInternalTimeStamp().
#define __HAL_RTC_INTERNAL_TIMESTAMP_ENABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR |= (RTC_CR_ITSE)) |
Enable the RTC internal TimeStamp peripheral.
__HANDLE__ | specifies the RTC handle. |
None |
Definition at line 974 of file stm32l4xx_hal_rtc_ex.h.
Referenced by HAL_RTCEx_SetInternalTimeStamp().
#define __HAL_RTC_INTERNAL_TIMESTAMP_GET_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | (((((__HANDLE__)->Instance->ISR) & (__FLAG__)) != 0U) ? 1U : 0U) |
Get the selected RTC Internal Time Stamps flag status.
__HANDLE__ | specifies the RTC handle. |
__FLAG__ | specifies the RTC Internal Time Stamp Flag is pending or not. This parameter can be: |
None |
Definition at line 994 of file stm32l4xx_hal_rtc_ex.h.
#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 Stamps pending flags.
__HANDLE__ | specifies the RTC handle. |
__FLAG__ | specifies the RTC TimeStamp Flag to clear. This parameter can be: |
None |
Definition at line 966 of file stm32l4xx_hal_rtc_ex.h.
Referenced by HAL_RTCEx_GetTimeStamp(), HAL_RTCEx_PollForTimeStampEvent(), and HAL_RTCEx_TamperTimeStampIRQHandler().
#define __HAL_RTC_TIMESTAMP_DISABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR &= ~(RTC_CR_TSE)) |
Disable the RTC TimeStamp peripheral.
__HANDLE__ | specifies the RTC handle. |
None |
Definition at line 894 of file stm32l4xx_hal_rtc_ex.h.
#define __HAL_RTC_TIMESTAMP_DISABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((__HANDLE__)->Instance->CR &= ~(__INTERRUPT__)) |
Disable the RTC TimeStamp interrupt.
__HANDLE__ | specifies the RTC handle. |
__INTERRUPT__ | specifies the RTC TimeStamp interrupt source to be disabled. This parameter can be:
|
None |
Definition at line 914 of file stm32l4xx_hal_rtc_ex.h.
Referenced by HAL_RTCEx_DeactivateTimeStamp().
#define __HAL_RTC_TIMESTAMP_ENABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR |= (RTC_CR_TSE)) |
Enable the RTC TimeStamp peripheral.
__HANDLE__ | specifies the RTC handle. |
None |
Definition at line 887 of file stm32l4xx_hal_rtc_ex.h.
Referenced by HAL_RTCEx_SetTimeStamp(), and HAL_RTCEx_SetTimeStamp_IT().
#define __HAL_RTC_TIMESTAMP_ENABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((__HANDLE__)->Instance->CR |= (__INTERRUPT__)) |
Enable the RTC TimeStamp interrupt.
__HANDLE__ | specifies the RTC handle. |
__INTERRUPT__ | specifies the RTC TimeStamp interrupt source to be enabled. This parameter can be:
|
None |
Definition at line 904 of file stm32l4xx_hal_rtc_ex.h.
Referenced by HAL_RTCEx_SetTimeStamp_IT().
#define __HAL_RTC_TIMESTAMP_GET_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | (((((__HANDLE__)->Instance->ISR) & (__FLAG__)) != 0U) ? 1U : 0U) |
Get the selected RTC TimeStamp's flag status.
__HANDLE__ | specifies the RTC handle. |
__FLAG__ | specifies the RTC TimeStamp Flag is pending or not. This parameter can be: |
Flag | status |
Definition at line 951 of file stm32l4xx_hal_rtc_ex.h.
Referenced by HAL_RTCEx_PollForTimeStampEvent(), and HAL_RTCEx_TamperTimeStampIRQHandler().
#define __HAL_RTC_TIMESTAMP_GET_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | (((((__HANDLE__)->Instance->ISR) & ((__INTERRUPT__) >> 4)) != 0U) ? 1U : 0U) |
Check whether the specified RTC TimeStamp interrupt has occurred or not.
__HANDLE__ | specifies the RTC handle. |
__INTERRUPT__ | specifies the RTC TimeStamp interrupt source to check. This parameter can be:
|
None |
Definition at line 927 of file stm32l4xx_hal_rtc_ex.h.
#define __HAL_RTC_TIMESTAMP_GET_IT_SOURCE | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | (((((__HANDLE__)->Instance->CR) & (__INTERRUPT__)) != 0U) ? 1U : 0U) |
Check whether the specified RTC Time Stamp interrupt has been enabled or not.
__HANDLE__ | specifies the RTC handle. |
__INTERRUPT__ | specifies the RTC Time Stamp interrupt source to check. This parameter can be:
|
None |
Definition at line 937 of file stm32l4xx_hal_rtc_ex.h.
Referenced by HAL_RTCEx_TamperTimeStampIRQHandler().