STM32L486xx HAL User Manual
|
Defines | |
#define | __HAL_RTC_WAKEUPTIMER_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR |= (RTC_CR_WUTE)) |
Enable the RTC WakeUp Timer peripheral. | |
#define | __HAL_RTC_WAKEUPTIMER_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CR &= ~(RTC_CR_WUTE)) |
Disable the RTC WakeUp Timer peripheral. | |
#define | __HAL_RTC_WAKEUPTIMER_ENABLE_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->CR |= (__INTERRUPT__)) |
Enable the RTC WakeUpTimer interrupt. | |
#define | __HAL_RTC_WAKEUPTIMER_DISABLE_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->CR &= ~(__INTERRUPT__)) |
Disable the RTC WakeUpTimer interrupt. | |
#define | __HAL_RTC_WAKEUPTIMER_GET_IT(__HANDLE__, __INTERRUPT__) (((((__HANDLE__)->Instance->ISR) & ((__INTERRUPT__)>> 4)) != RESET) ? SET : RESET) |
Check whether the specified RTC WakeUpTimer interrupt has occurred or not. | |
#define | __HAL_RTC_WAKEUPTIMER_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) (((((__HANDLE__)->Instance->CR) & (__INTERRUPT__)) != RESET) ? SET : RESET) |
Check whether the specified RTC Wake Up timer interrupt is enabled or not. | |
#define | __HAL_RTC_WAKEUPTIMER_GET_FLAG(__HANDLE__, __FLAG__) (((((__HANDLE__)->Instance->ISR) & (__FLAG__)) != RESET) ? SET : RESET) |
Get the selected RTC WakeUpTimer's flag status. | |
#define | __HAL_RTC_WAKEUPTIMER_CLEAR_FLAG(__HANDLE__, __FLAG__) ((__HANDLE__)->Instance->ISR) = (~((__FLAG__) | RTC_ISR_INIT)|((__HANDLE__)->Instance->ISR & RTC_ISR_INIT)) |
Clear the RTC Wake Up timer's pending flags. | |
#define | __HAL_RTC_TAMPER1_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->TAMPCR |= (RTC_TAMPCR_TAMP1E)) |
Enable the RTC Tamper1 input detection. | |
#define | __HAL_RTC_TAMPER1_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->TAMPCR &= ~(RTC_TAMPCR_TAMP1E)) |
Disable the RTC Tamper1 input detection. | |
#define | __HAL_RTC_TAMPER2_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->TAMPCR |= (RTC_TAMPCR_TAMP2E)) |
Enable the RTC Tamper2 input detection. | |
#define | __HAL_RTC_TAMPER2_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->TAMPCR &= ~(RTC_TAMPCR_TAMP2E)) |
Disable the RTC Tamper2 input detection. | |
#define | __HAL_RTC_TAMPER3_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->TAMPCR |= (RTC_TAMPCR_TAMP3E)) |
Enable the RTC Tamper3 input detection. | |
#define | __HAL_RTC_TAMPER3_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->TAMPCR &= ~(RTC_TAMPCR_TAMP3E)) |
Disable the RTC Tamper3 input detection. | |
#define | __HAL_RTC_TAMPER_ENABLE_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->TAMPCR |= (__INTERRUPT__)) |
Enable the RTC Tamper interrupt. | |
#define | __HAL_RTC_TAMPER_DISABLE_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->TAMPCR &= ~(__INTERRUPT__)) |
Disable the RTC Tamper interrupt. | |
#define | __HAL_RTC_TAMPER_GET_IT(__HANDLE__, __INTERRUPT__) |
Check whether the specified RTC Tamper interrupt has occurred or not. | |
#define | __HAL_RTC_TAMPER_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) (((((__HANDLE__)->Instance->TAMPCR) & (__INTERRUPT__)) != RESET) ? SET : RESET) |
Check whether the specified RTC Tamper interrupt is enabled or not. | |
#define | __HAL_RTC_TAMPER_GET_FLAG(__HANDLE__, __FLAG__) (((((__HANDLE__)->Instance->ISR) & (__FLAG__)) != RESET) ? SET : RESET) |
Get the selected RTC Tamper's flag status. | |
#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. | |
#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)) != RESET) ? SET : RESET) |
Check whether the specified RTC TimeStamp interrupt has occurred or not. | |
#define | __HAL_RTC_TIMESTAMP_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) (((((__HANDLE__)->Instance->CR) & (__INTERRUPT__)) != RESET) ? SET : RESET) |
Check whether the specified RTC Time Stamp interrupt is enabled or not. | |
#define | __HAL_RTC_TIMESTAMP_GET_FLAG(__HANDLE__, __FLAG__) (((((__HANDLE__)->Instance->ISR) & (__FLAG__)) != RESET) ? SET : RESET) |
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 Stamp's 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__)) != RESET) ? SET : RESET) |
Get the selected RTC Internal Time Stamp's 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 Stamp's pending flags. | |
#define | __HAL_RTC_CALIBRATION_OUTPUT_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR |= (RTC_CR_COE)) |
Enable the RTC calibration output. | |
#define | __HAL_RTC_CALIBRATION_OUTPUT_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CR &= ~(RTC_CR_COE)) |
Disable the calibration output. | |
#define | __HAL_RTC_CLOCKREF_DETECTION_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR |= (RTC_CR_REFCKON)) |
Enable the clock reference detection. | |
#define | __HAL_RTC_CLOCKREF_DETECTION_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CR &= ~(RTC_CR_REFCKON)) |
Disable the clock reference detection. | |
#define | __HAL_RTC_SHIFT_GET_FLAG(__HANDLE__, __FLAG__) (((((__HANDLE__)->Instance->ISR) & (__FLAG__)) != RESET) ? SET : RESET) |
Get the selected RTC shift operation's flag status. | |
#define | __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_IT() (EXTI->IMR1 |= RTC_EXTI_LINE_WAKEUPTIMER_EVENT) |
Enable interrupt on the RTC WakeUp Timer associated Exti line. | |
#define | __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_IT() (EXTI->IMR1 &= ~(RTC_EXTI_LINE_WAKEUPTIMER_EVENT)) |
Disable interrupt on the RTC WakeUp Timer associated Exti line. | |
#define | __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_EVENT() (EXTI->EMR1 |= RTC_EXTI_LINE_WAKEUPTIMER_EVENT) |
Enable event on the RTC WakeUp Timer associated Exti line. | |
#define | __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_EVENT() (EXTI->EMR1 &= ~(RTC_EXTI_LINE_WAKEUPTIMER_EVENT)) |
Disable event on the RTC WakeUp Timer associated Exti line. | |
#define | __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_FALLING_EDGE() (EXTI->FTSR1 |= RTC_EXTI_LINE_WAKEUPTIMER_EVENT) |
Enable falling edge trigger on the RTC WakeUp Timer associated Exti line. | |
#define | __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_FALLING_EDGE() (EXTI->FTSR1 &= ~(RTC_EXTI_LINE_WAKEUPTIMER_EVENT)) |
Disable falling edge trigger on the RTC WakeUp Timer associated Exti line. | |
#define | __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_RISING_EDGE() (EXTI->RTSR1 |= RTC_EXTI_LINE_WAKEUPTIMER_EVENT) |
Enable rising edge trigger on the RTC WakeUp Timer associated Exti line. | |
#define | __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_RISING_EDGE() (EXTI->RTSR1 &= ~(RTC_EXTI_LINE_WAKEUPTIMER_EVENT)) |
Disable rising edge trigger on the RTC WakeUp Timer associated Exti line. | |
#define | __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_RISING_FALLING_EDGE() |
Enable rising & falling edge trigger on the RTC WakeUp Timer associated Exti line. | |
#define | __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_RISING_FALLING_EDGE() |
Disable rising & falling edge trigger on the RTC WakeUp Timer associated Exti line. | |
#define | __HAL_RTC_WAKEUPTIMER_EXTI_GET_FLAG() (EXTI->PR1 & RTC_EXTI_LINE_WAKEUPTIMER_EVENT) |
Check whether the RTC WakeUp Timer associated Exti line interrupt flag is set or not. | |
#define | __HAL_RTC_WAKEUPTIMER_EXTI_CLEAR_FLAG() (EXTI->PR1 = RTC_EXTI_LINE_WAKEUPTIMER_EVENT) |
Clear the RTC WakeUp Timer associated Exti line flag. | |
#define | __HAL_RTC_WAKEUPTIMER_EXTI_GENERATE_SWIT() (EXTI->SWIER1 |= RTC_EXTI_LINE_WAKEUPTIMER_EVENT) |
Generate a Software interrupt on the RTC WakeUp Timer associated Exti line. | |
#define | __HAL_RTC_TAMPER_TIMESTAMP_EXTI_ENABLE_IT() (EXTI->IMR1 |= RTC_EXTI_LINE_TAMPER_TIMESTAMP_EVENT) |
Enable interrupt on the RTC Tamper and Timestamp associated Exti line. | |
#define | __HAL_RTC_TAMPER_TIMESTAMP_EXTI_DISABLE_IT() (EXTI->IMR1 &= ~(RTC_EXTI_LINE_TAMPER_TIMESTAMP_EVENT)) |
Disable interrupt on the RTC Tamper and Timestamp associated Exti line. | |
#define | __HAL_RTC_TAMPER_TIMESTAMP_EXTI_ENABLE_EVENT() (EXTI->EMR1 |= RTC_EXTI_LINE_TAMPER_TIMESTAMP_EVENT) |
Enable event on the RTC Tamper and Timestamp associated Exti line. | |
#define | __HAL_RTC_TAMPER_TIMESTAMP_EXTI_DISABLE_EVENT() (EXTI->EMR1 &= ~(RTC_EXTI_LINE_TAMPER_TIMESTAMP_EVENT)) |
Disable event on the RTC Tamper and Timestamp associated Exti line. | |
#define | __HAL_RTC_TAMPER_TIMESTAMP_EXTI_ENABLE_FALLING_EDGE() (EXTI->FTSR1 |= RTC_EXTI_LINE_TAMPER_TIMESTAMP_EVENT) |
Enable falling edge trigger on the RTC Tamper and Timestamp associated Exti line. | |
#define | __HAL_RTC_TAMPER_TIMESTAMP_EXTI_DISABLE_FALLING_EDGE() (EXTI->FTSR1 &= ~(RTC_EXTI_LINE_TAMPER_TIMESTAMP_EVENT)) |
Disable falling edge trigger on the RTC Tamper and Timestamp associated Exti line. | |
#define | __HAL_RTC_TAMPER_TIMESTAMP_EXTI_ENABLE_RISING_EDGE() (EXTI->RTSR1 |= RTC_EXTI_LINE_TAMPER_TIMESTAMP_EVENT) |
Enable rising edge trigger on the RTC Tamper and Timestamp associated Exti line. | |
#define | __HAL_RTC_TAMPER_TIMESTAMP_EXTI_DISABLE_RISING_EDGE() (EXTI->RTSR1 &= ~(RTC_EXTI_LINE_TAMPER_TIMESTAMP_EVENT)) |
Disable rising edge trigger on the RTC Tamper and Timestamp associated Exti line. | |
#define | __HAL_RTC_TAMPER_TIMESTAMP_EXTI_ENABLE_RISING_FALLING_EDGE() |
Enable rising & falling edge trigger on the RTC Tamper and Timestamp associated Exti line. | |
#define | __HAL_RTC_TAMPER_TIMESTAMP_EXTI_DISABLE_RISING_FALLING_EDGE() |
Disable rising & falling edge trigger on the RTC Tamper and Timestamp associated Exti line. | |
#define | __HAL_RTC_TAMPER_TIMESTAMP_EXTI_GET_FLAG() (EXTI->PR1 & RTC_EXTI_LINE_TAMPER_TIMESTAMP_EVENT) |
Check whether the RTC Tamper and Timestamp associated Exti line interrupt flag is set or not. | |
#define | __HAL_RTC_TAMPER_TIMESTAMP_EXTI_CLEAR_FLAG() (EXTI->PR1 = RTC_EXTI_LINE_TAMPER_TIMESTAMP_EVENT) |
Clear the RTC Tamper and Timestamp associated Exti line flag. | |
#define | __HAL_RTC_TAMPER_TIMESTAMP_EXTI_GENERATE_SWIT() (EXTI->SWIER1 |= RTC_EXTI_LINE_TAMPER_TIMESTAMP_EVENT) |
Generate a Software interrupt on the RTC Tamper and Timestamp associated Exti line. |
#define __HAL_RTC_CALIBRATION_OUTPUT_DISABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR &= ~(RTC_CR_COE)) |
Disable the calibration output.
__HANDLE__,: | specifies the RTC handle. |
None |
Definition at line 689 of file stm32l4xx_hal_rtc_ex.h.
Referenced by HAL_RTCEx_DeactivateCalibrationOutPut().
#define __HAL_RTC_CALIBRATION_OUTPUT_ENABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR |= (RTC_CR_COE)) |
Enable the RTC calibration output.
__HANDLE__,: | specifies the RTC handle. |
None |
Definition at line 682 of file stm32l4xx_hal_rtc_ex.h.
Referenced by HAL_RTCEx_SetCalibrationOutPut().
#define __HAL_RTC_CLOCKREF_DETECTION_DISABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR &= ~(RTC_CR_REFCKON)) |
Disable the clock reference detection.
__HANDLE__,: | specifies the RTC handle. |
None |
Definition at line 703 of file stm32l4xx_hal_rtc_ex.h.
Referenced by HAL_RTCEx_DeactivateRefClock().
#define __HAL_RTC_CLOCKREF_DETECTION_ENABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR |= (RTC_CR_REFCKON)) |
Enable the clock reference detection.
__HANDLE__,: | specifies the RTC handle. |
None |
Definition at line 696 of file stm32l4xx_hal_rtc_ex.h.
Referenced by HAL_RTCEx_SetRefClock().
#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 Stamp's 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 675 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 655 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 648 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__)) != RESET) ? SET : RESET) |
Get the selected RTC Internal Time Stamp's 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 665 of file stm32l4xx_hal_rtc_ex.h.
#define __HAL_RTC_SHIFT_GET_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | (((((__HANDLE__)->Instance->ISR) & (__FLAG__)) != RESET) ? SET : RESET) |
Get the selected RTC shift operation's flag status.
__HANDLE__,: | specifies the RTC handle. |
__FLAG__,: | specifies the RTC shift operation Flag is pending or not. This parameter can be:
|
None |
Definition at line 713 of file stm32l4xx_hal_rtc_ex.h.
#define __HAL_RTC_TAMPER1_DISABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->TAMPCR &= ~(RTC_TAMPCR_TAMP1E)) |
Disable the RTC Tamper1 input detection.
__HANDLE__,: | specifies the RTC handle. |
None |
Definition at line 453 of file stm32l4xx_hal_rtc_ex.h.
#define __HAL_RTC_TAMPER1_ENABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->TAMPCR |= (RTC_TAMPCR_TAMP1E)) |
Enable the RTC Tamper1 input detection.
__HANDLE__,: | specifies the RTC handle. |
None |
Definition at line 446 of file stm32l4xx_hal_rtc_ex.h.
#define __HAL_RTC_TAMPER2_DISABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->TAMPCR &= ~(RTC_TAMPCR_TAMP2E)) |
Disable the RTC Tamper2 input detection.
__HANDLE__,: | specifies the RTC handle. |
None |
Definition at line 468 of file stm32l4xx_hal_rtc_ex.h.
#define __HAL_RTC_TAMPER2_ENABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->TAMPCR |= (RTC_TAMPCR_TAMP2E)) |
Enable the RTC Tamper2 input detection.
__HANDLE__,: | specifies the RTC handle. |
None |
Definition at line 461 of file stm32l4xx_hal_rtc_ex.h.
#define __HAL_RTC_TAMPER3_DISABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->TAMPCR &= ~(RTC_TAMPCR_TAMP3E)) |
Disable the RTC Tamper3 input detection.
__HANDLE__,: | specifies the RTC handle. |
None |
Definition at line 483 of file stm32l4xx_hal_rtc_ex.h.
#define __HAL_RTC_TAMPER3_ENABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->TAMPCR |= (RTC_TAMPCR_TAMP3E)) |
Enable the RTC Tamper3 input detection.
__HANDLE__,: | specifies the RTC handle. |
None |
Definition at line 476 of file stm32l4xx_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.
__HANDLE__,: | specifies the RTC handle. |
__FLAG__,: | specifies the RTC Tamper Flag sources to clear. This parameter can be:
|
None |
Definition at line 565 of file stm32l4xx_hal_rtc_ex.h.
Referenced by HAL_RTCEx_PollForTamper1Event(), HAL_RTCEx_PollForTamper2Event(), HAL_RTCEx_PollForTamper3Event(), and HAL_RTCEx_TamperTimeStampIRQHandler().
#define __HAL_RTC_TAMPER_DISABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((__HANDLE__)->Instance->TAMPCR &= ~(__INTERRUPT__)) |
Disable the RTC Tamper interrupt.
__HANDLE__,: | specifies the RTC handle. |
__INTERRUPT__,: | specifies the RTC Tamper interrupt sources to be disabled. This parameter can be any combination of the following values:
|
None |
Definition at line 510 of file stm32l4xx_hal_rtc_ex.h.
#define __HAL_RTC_TAMPER_ENABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((__HANDLE__)->Instance->TAMPCR |= (__INTERRUPT__)) |
Enable the RTC Tamper interrupt.
__HANDLE__,: | specifies the RTC handle. |
__INTERRUPT__,: | specifies the RTC Tamper interrupt sources to be enabled. This parameter can be any combination of the following values:
|
None |
Definition at line 497 of file stm32l4xx_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.
__HANDLE__,: | specifies the RTC handle. |
__FLAG__,: | specifies the RTC Tamper Flag is pending or not. This parameter can be:
|
None |
Definition at line 553 of file stm32l4xx_hal_rtc_ex.h.
Referenced by HAL_RTCEx_PollForTamper1Event(), HAL_RTCEx_PollForTamper2Event(), HAL_RTCEx_PollForTamper3Event(), and HAL_RTCEx_TamperTimeStampIRQHandler().
#define __HAL_RTC_TAMPER_GET_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) |
(((__INTERRUPT__) == RTC_IT_TAMP1) ? (((((__HANDLE__)->Instance->ISR) & ((__INTERRUPT__)>> 3)) != RESET) ? SET : RESET) : \ ((__INTERRUPT__) == RTC_IT_TAMP2) ? (((((__HANDLE__)->Instance->ISR) & ((__INTERRUPT__)>> 5)) != RESET) ? SET : RESET) : \ (((((__HANDLE__)->Instance->ISR) & ((__INTERRUPT__)>> 7)) != RESET) ? SET : RESET))
Check whether the specified RTC Tamper interrupt has occurred or not.
__HANDLE__,: | specifies the RTC handle. |
__INTERRUPT__,: | specifies the RTC Tamper interrupt to check. This parameter can be:
|
None |
Definition at line 523 of file stm32l4xx_hal_rtc_ex.h.
#define __HAL_RTC_TAMPER_GET_IT_SOURCE | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | (((((__HANDLE__)->Instance->TAMPCR) & (__INTERRUPT__)) != RESET) ? SET : RESET) |
Check whether the specified RTC Tamper interrupt is enabled or not.
__HANDLE__,: | specifies the RTC handle. |
__INTERRUPT__,: | specifies the RTC Tamper interrupt source to check. This parameter can be:
|
None |
Definition at line 541 of file stm32l4xx_hal_rtc_ex.h.
Referenced by HAL_RTCEx_TamperTimeStampIRQHandler().
#define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_CLEAR_FLAG | ( | ) | (EXTI->PR1 = RTC_EXTI_LINE_TAMPER_TIMESTAMP_EVENT) |
Clear the RTC Tamper and Timestamp associated Exti line flag.
None |
Definition at line 877 of file stm32l4xx_hal_rtc_ex.h.
Referenced by HAL_RTCEx_TamperTimeStampIRQHandler().
#define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_DISABLE_EVENT | ( | ) | (EXTI->EMR1 &= ~(RTC_EXTI_LINE_TAMPER_TIMESTAMP_EVENT)) |
Disable event on the RTC Tamper and Timestamp associated Exti line.
None |
Definition at line 822 of file stm32l4xx_hal_rtc_ex.h.
#define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_DISABLE_FALLING_EDGE | ( | ) | (EXTI->FTSR1 &= ~(RTC_EXTI_LINE_TAMPER_TIMESTAMP_EVENT)) |
Disable falling edge trigger on the RTC Tamper and Timestamp associated Exti line.
None |
Definition at line 834 of file stm32l4xx_hal_rtc_ex.h.
#define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_DISABLE_IT | ( | ) | (EXTI->IMR1 &= ~(RTC_EXTI_LINE_TAMPER_TIMESTAMP_EVENT)) |
Disable interrupt on the RTC Tamper and Timestamp associated Exti line.
None |
Definition at line 810 of file stm32l4xx_hal_rtc_ex.h.
#define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_DISABLE_RISING_EDGE | ( | ) | (EXTI->RTSR1 &= ~(RTC_EXTI_LINE_TAMPER_TIMESTAMP_EVENT)) |
Disable rising edge trigger on the RTC Tamper and Timestamp associated Exti line.
None |
Definition at line 846 of file stm32l4xx_hal_rtc_ex.h.
do { \ __HAL_RTC_TAMPER_TIMESTAMP_EXTI_DISABLE_RISING_EDGE(); \ __HAL_RTC_TAMPER_TIMESTAMP_EXTI_DISABLE_FALLING_EDGE(); \ } while(0)
Disable rising & falling edge trigger on the RTC Tamper and Timestamp associated Exti line.
This parameter can be:
None |
Definition at line 862 of file stm32l4xx_hal_rtc_ex.h.
#define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_ENABLE_EVENT | ( | ) | (EXTI->EMR1 |= RTC_EXTI_LINE_TAMPER_TIMESTAMP_EVENT) |
Enable event on the RTC Tamper and Timestamp associated Exti line.
None |
Definition at line 816 of file stm32l4xx_hal_rtc_ex.h.
#define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_ENABLE_FALLING_EDGE | ( | ) | (EXTI->FTSR1 |= RTC_EXTI_LINE_TAMPER_TIMESTAMP_EVENT) |
Enable falling edge trigger on the RTC Tamper and Timestamp associated Exti line.
None |
Definition at line 828 of file stm32l4xx_hal_rtc_ex.h.
#define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_ENABLE_IT | ( | ) | (EXTI->IMR1 |= RTC_EXTI_LINE_TAMPER_TIMESTAMP_EVENT) |
Enable interrupt on the RTC Tamper and Timestamp associated Exti line.
None |
Definition at line 804 of file stm32l4xx_hal_rtc_ex.h.
Referenced by HAL_RTCEx_SetTamper_IT(), and HAL_RTCEx_SetTimeStamp_IT().
#define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_ENABLE_RISING_EDGE | ( | ) | (EXTI->RTSR1 |= RTC_EXTI_LINE_TAMPER_TIMESTAMP_EVENT) |
Enable rising edge trigger on the RTC Tamper and Timestamp associated Exti line.
None |
Definition at line 840 of file stm32l4xx_hal_rtc_ex.h.
Referenced by HAL_RTCEx_SetTamper_IT(), and HAL_RTCEx_SetTimeStamp_IT().
do { \ __HAL_RTC_TAMPER_TIMESTAMP_EXTI_ENABLE_RISING_EDGE(); \ __HAL_RTC_TAMPER_TIMESTAMP_EXTI_ENABLE_FALLING_EDGE(); \ } while(0)
Enable rising & falling edge trigger on the RTC Tamper and Timestamp associated Exti line.
None |
Definition at line 852 of file stm32l4xx_hal_rtc_ex.h.
#define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_GENERATE_SWIT | ( | ) | (EXTI->SWIER1 |= RTC_EXTI_LINE_TAMPER_TIMESTAMP_EVENT) |
Generate a Software interrupt on the RTC Tamper and Timestamp associated Exti line.
None |
Definition at line 883 of file stm32l4xx_hal_rtc_ex.h.
#define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_GET_FLAG | ( | ) | (EXTI->PR1 & RTC_EXTI_LINE_TAMPER_TIMESTAMP_EVENT) |
Check whether the RTC Tamper and Timestamp associated Exti line interrupt flag is set or not.
Line | Status. |
Definition at line 871 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 Stamp's pending flags.
__HANDLE__,: | specifies the RTC handle. |
__FLAG__,: | specifies the RTC Alarm Flag sources to clear. This parameter can be:
|
None |
Definition at line 641 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 579 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 599 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 572 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 589 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__)) != RESET) ? SET : RESET) |
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:
|
None |
Definition at line 630 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)) != RESET) ? SET : RESET) |
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 609 of file stm32l4xx_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 is 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 619 of file stm32l4xx_hal_rtc_ex.h.
Referenced by HAL_RTCEx_TamperTimeStampIRQHandler().
#define __HAL_RTC_WAKEUPTIMER_CLEAR_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | ((__HANDLE__)->Instance->ISR) = (~((__FLAG__) | RTC_ISR_INIT)|((__HANDLE__)->Instance->ISR & RTC_ISR_INIT)) |
Clear the RTC Wake Up timer's pending flags.
__HANDLE__,: | specifies the RTC handle. |
__FLAG__,: | specifies the RTC WakeUpTimer Flag to clear. This parameter can be:
|
None |
Definition at line 438 of file stm32l4xx_hal_rtc_ex.h.
Referenced by HAL_RTCEx_PollForWakeUpTimerEvent(), HAL_RTCEx_SetWakeUpTimer_IT(), and HAL_RTCEx_WakeUpTimerIRQHandler().
#define __HAL_RTC_WAKEUPTIMER_DISABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR &= ~(RTC_CR_WUTE)) |
Disable the RTC WakeUp Timer peripheral.
__HANDLE__,: | specifies the RTC handle. |
None |
Definition at line 377 of file stm32l4xx_hal_rtc_ex.h.
Referenced by HAL_RTCEx_DeactivateWakeUpTimer(), HAL_RTCEx_SetWakeUpTimer(), and HAL_RTCEx_SetWakeUpTimer_IT().
#define __HAL_RTC_WAKEUPTIMER_DISABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((__HANDLE__)->Instance->CR &= ~(__INTERRUPT__)) |
Disable the RTC WakeUpTimer interrupt.
__HANDLE__,: | specifies the RTC handle. |
__INTERRUPT__,: | specifies the RTC WakeUpTimer interrupt sources to be disabled. This parameter can be:
|
None |
Definition at line 397 of file stm32l4xx_hal_rtc_ex.h.
Referenced by HAL_RTCEx_DeactivateWakeUpTimer().
#define __HAL_RTC_WAKEUPTIMER_ENABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR |= (RTC_CR_WUTE)) |
Enable the RTC WakeUp Timer peripheral.
__HANDLE__,: | specifies the RTC handle. |
None |
Definition at line 370 of file stm32l4xx_hal_rtc_ex.h.
Referenced by HAL_RTCEx_SetWakeUpTimer(), and HAL_RTCEx_SetWakeUpTimer_IT().
#define __HAL_RTC_WAKEUPTIMER_ENABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((__HANDLE__)->Instance->CR |= (__INTERRUPT__)) |
Enable the RTC WakeUpTimer interrupt.
__HANDLE__,: | specifies the RTC handle. |
__INTERRUPT__,: | specifies the RTC WakeUpTimer interrupt sources to be enabled. This parameter can be:
|
None |
Definition at line 387 of file stm32l4xx_hal_rtc_ex.h.
Referenced by HAL_RTCEx_SetWakeUpTimer_IT().
#define __HAL_RTC_WAKEUPTIMER_EXTI_CLEAR_FLAG | ( | ) | (EXTI->PR1 = RTC_EXTI_LINE_WAKEUPTIMER_EVENT) |
Clear the RTC WakeUp Timer associated Exti line flag.
None |
Definition at line 792 of file stm32l4xx_hal_rtc_ex.h.
Referenced by HAL_RTCEx_WakeUpTimerIRQHandler().
#define __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_EVENT | ( | ) | (EXTI->EMR1 &= ~(RTC_EXTI_LINE_WAKEUPTIMER_EVENT)) |
Disable event on the RTC WakeUp Timer associated Exti line.
None |
Definition at line 737 of file stm32l4xx_hal_rtc_ex.h.
#define __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_FALLING_EDGE | ( | ) | (EXTI->FTSR1 &= ~(RTC_EXTI_LINE_WAKEUPTIMER_EVENT)) |
Disable falling edge trigger on the RTC WakeUp Timer associated Exti line.
None |
Definition at line 749 of file stm32l4xx_hal_rtc_ex.h.
#define __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_IT | ( | ) | (EXTI->IMR1 &= ~(RTC_EXTI_LINE_WAKEUPTIMER_EVENT)) |
Disable interrupt on the RTC WakeUp Timer associated Exti line.
None |
Definition at line 725 of file stm32l4xx_hal_rtc_ex.h.
#define __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_RISING_EDGE | ( | ) | (EXTI->RTSR1 &= ~(RTC_EXTI_LINE_WAKEUPTIMER_EVENT)) |
Disable rising edge trigger on the RTC WakeUp Timer associated Exti line.
None |
Definition at line 761 of file stm32l4xx_hal_rtc_ex.h.
do { \ __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_RISING_EDGE(); \ __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_FALLING_EDGE(); \ } while(0)
Disable rising & falling edge trigger on the RTC WakeUp Timer associated Exti line.
This parameter can be:
None |
Definition at line 777 of file stm32l4xx_hal_rtc_ex.h.
#define __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_EVENT | ( | ) | (EXTI->EMR1 |= RTC_EXTI_LINE_WAKEUPTIMER_EVENT) |
Enable event on the RTC WakeUp Timer associated Exti line.
None |
Definition at line 731 of file stm32l4xx_hal_rtc_ex.h.
#define __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_FALLING_EDGE | ( | ) | (EXTI->FTSR1 |= RTC_EXTI_LINE_WAKEUPTIMER_EVENT) |
Enable falling edge trigger on the RTC WakeUp Timer associated Exti line.
None |
Definition at line 743 of file stm32l4xx_hal_rtc_ex.h.
#define __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_IT | ( | ) | (EXTI->IMR1 |= RTC_EXTI_LINE_WAKEUPTIMER_EVENT) |
Enable interrupt on the RTC WakeUp Timer associated Exti line.
None |
Definition at line 719 of file stm32l4xx_hal_rtc_ex.h.
Referenced by HAL_RTCEx_SetWakeUpTimer_IT().
#define __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_RISING_EDGE | ( | ) | (EXTI->RTSR1 |= RTC_EXTI_LINE_WAKEUPTIMER_EVENT) |
Enable rising edge trigger on the RTC WakeUp Timer associated Exti line.
None |
Definition at line 755 of file stm32l4xx_hal_rtc_ex.h.
Referenced by HAL_RTCEx_SetWakeUpTimer_IT().
do { \ __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_RISING_EDGE(); \ __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_FALLING_EDGE(); \ } while(0)
Enable rising & falling edge trigger on the RTC WakeUp Timer associated Exti line.
None |
Definition at line 767 of file stm32l4xx_hal_rtc_ex.h.
#define __HAL_RTC_WAKEUPTIMER_EXTI_GENERATE_SWIT | ( | ) | (EXTI->SWIER1 |= RTC_EXTI_LINE_WAKEUPTIMER_EVENT) |
Generate a Software interrupt on the RTC WakeUp Timer associated Exti line.
None |
Definition at line 798 of file stm32l4xx_hal_rtc_ex.h.
#define __HAL_RTC_WAKEUPTIMER_EXTI_GET_FLAG | ( | ) | (EXTI->PR1 & RTC_EXTI_LINE_WAKEUPTIMER_EVENT) |
Check whether the RTC WakeUp Timer associated Exti line interrupt flag is set or not.
Line | Status. |
Definition at line 786 of file stm32l4xx_hal_rtc_ex.h.
#define __HAL_RTC_WAKEUPTIMER_GET_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | (((((__HANDLE__)->Instance->ISR) & (__FLAG__)) != RESET) ? SET : RESET) |
Get the selected RTC WakeUpTimer's flag status.
__HANDLE__,: | specifies the RTC handle. |
__FLAG__,: | specifies the RTC WakeUpTimer Flag is pending or not. This parameter can be:
|
None |
Definition at line 428 of file stm32l4xx_hal_rtc_ex.h.
Referenced by HAL_RTCEx_DeactivateWakeUpTimer(), HAL_RTCEx_PollForWakeUpTimerEvent(), HAL_RTCEx_SetWakeUpTimer(), HAL_RTCEx_SetWakeUpTimer_IT(), and HAL_RTCEx_WakeUpTimerIRQHandler().
#define __HAL_RTC_WAKEUPTIMER_GET_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | (((((__HANDLE__)->Instance->ISR) & ((__INTERRUPT__)>> 4)) != RESET) ? SET : RESET) |
Check whether the specified RTC WakeUpTimer interrupt has occurred or not.
__HANDLE__,: | specifies the RTC handle. |
__INTERRUPT__,: | specifies the RTC WakeUpTimer interrupt sources to check. This parameter can be:
|
None |
Definition at line 407 of file stm32l4xx_hal_rtc_ex.h.
#define __HAL_RTC_WAKEUPTIMER_GET_IT_SOURCE | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | (((((__HANDLE__)->Instance->CR) & (__INTERRUPT__)) != RESET) ? SET : RESET) |
Check whether the specified RTC Wake Up timer interrupt is enabled or not.
__HANDLE__,: | specifies the RTC handle. |
__INTERRUPT__,: | specifies the RTC Wake Up timer interrupt sources to check. This parameter can be:
|
None |
Definition at line 417 of file stm32l4xx_hal_rtc_ex.h.