Macros | |
#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. More... | |
#define | __HAL_RTC_WAKEUPTIMER_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CR &= ~(RTC_CR_WUTE)) |
Disable the RTC Wake-up Timer peripheral. More... | |
#define | __HAL_RTC_WAKEUPTIMER_DISABLE_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->CR &= ~(__INTERRUPT__)) |
Disable the RTC WakeUpTimer interrupt. More... | |
#define | __HAL_RTC_WAKEUPTIMER_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR |= (RTC_CR_WUTE)) |
Enable the RTC WakeUp Timer peripheral. More... | |
#define | __HAL_RTC_WAKEUPTIMER_ENABLE_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->CR |= (__INTERRUPT__)) |
Enable the RTC WakeUpTimer interrupt. More... | |
#define | __HAL_RTC_WAKEUPTIMER_EXTI_CLEAR_FLAG() (EXTI->PR = RTC_EXTI_LINE_WAKEUPTIMER_EVENT) |
Clear the RTC Wake-up Timer associated Exti line flag. More... | |
#define | __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_EVENT() (EXTI->EMR &= ~(RTC_EXTI_LINE_WAKEUPTIMER_EVENT)) |
Disable event on the RTC Wake-up Timer associated Exti line. More... | |
#define | __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_FALLING_EDGE() (EXTI->FTSR &= ~(RTC_EXTI_LINE_WAKEUPTIMER_EVENT)) |
Disable falling edge trigger on the RTC Wake-up Timer associated Exti line. More... | |
#define | __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_IT() (EXTI->IMR &= ~(RTC_EXTI_LINE_WAKEUPTIMER_EVENT)) |
Disable interrupt on the RTC Wake-up Timer associated Exti line. More... | |
#define | __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_RISING_EDGE() (EXTI->RTSR &= ~(RTC_EXTI_LINE_WAKEUPTIMER_EVENT)) |
Disable rising edge trigger on the RTC Wake-up Timer associated Exti line. More... | |
#define | __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_RISING_FALLING_EDGE() |
Disable rising & falling edge trigger on the RTC Wake-up Timer associated Exti line. This parameter can be: More... | |
#define | __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_EVENT() (EXTI->EMR |= RTC_EXTI_LINE_WAKEUPTIMER_EVENT) |
Enable event on the RTC Wake-up Timer associated Exti line. More... | |
#define | __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_FALLING_EDGE() (EXTI->FTSR |= RTC_EXTI_LINE_WAKEUPTIMER_EVENT) |
Enable falling edge trigger on the RTC Wake-up Timer associated Exti line. More... | |
#define | __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_IT() (EXTI->IMR |= RTC_EXTI_LINE_WAKEUPTIMER_EVENT) |
Enable interrupt on the RTC Wake-up Timer associated Exti line. More... | |
#define | __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_RISING_EDGE() (EXTI->RTSR |= RTC_EXTI_LINE_WAKEUPTIMER_EVENT) |
Enable rising edge trigger on the RTC Wake-up Timer associated Exti line. More... | |
#define | __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_RISING_FALLING_EDGE() |
Enable rising & falling edge trigger on the RTC Wake-up Timer associated Exti line. More... | |
#define | __HAL_RTC_WAKEUPTIMER_EXTI_GENERATE_SWIT() (EXTI->SWIER |= RTC_EXTI_LINE_WAKEUPTIMER_EVENT) |
Generate a Software interrupt on the RTC Wake-up Timer associated Exti line. More... | |
#define | __HAL_RTC_WAKEUPTIMER_EXTI_GET_FLAG() (EXTI->PR & RTC_EXTI_LINE_WAKEUPTIMER_EVENT) |
Check whether the RTC Wake-up Timer associated Exti line interrupt flag is set or not. More... | |
#define | __HAL_RTC_WAKEUPTIMER_GET_FLAG(__HANDLE__, __FLAG__) (((((__HANDLE__)->Instance->ISR) & (__FLAG__)) != RESET)? SET : RESET) |
Get the selected RTC WakeUpTimer's flag status. More... | |
#define | __HAL_RTC_WAKEUPTIMER_GET_IT(__HANDLE__, __INTERRUPT__) (((((__HANDLE__)->Instance->ISR) & ((__INTERRUPT__)>> 4U)) != RESET)? SET : RESET) |
Check whether the specified RTC WakeUpTimer interrupt has occurred or not. More... | |
#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 has been enabled or not. More... | |
#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.
<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 390 of file stm32f4xx_hal_rtc_ex.h.
#define __HAL_RTC_WAKEUPTIMER_DISABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR &= ~(RTC_CR_WUTE)) |
Disable the RTC Wake-up Timer peripheral.
<strong>HANDLE</strong> | specifies the RTC handle. |
None |
Definition at line 329 of file stm32f4xx_hal_rtc_ex.h.
#define __HAL_RTC_WAKEUPTIMER_DISABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((__HANDLE__)->Instance->CR &= ~(__INTERRUPT__)) |
Disable the RTC WakeUpTimer interrupt.
<strong>HANDLE</strong> | specifies the RTC handle. |
<strong>INTERRUPT</strong> | specifies the RTC WakeUpTimer interrupt sources to be enabled or disabled. This parameter can be:
|
None |
Definition at line 349 of file stm32f4xx_hal_rtc_ex.h.
#define __HAL_RTC_WAKEUPTIMER_ENABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR |= (RTC_CR_WUTE)) |
Enable the RTC WakeUp Timer peripheral.
<strong>HANDLE</strong> | specifies the RTC handle. |
None |
Definition at line 322 of file stm32f4xx_hal_rtc_ex.h.
#define __HAL_RTC_WAKEUPTIMER_ENABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((__HANDLE__)->Instance->CR |= (__INTERRUPT__)) |
Enable the RTC WakeUpTimer interrupt.
<strong>HANDLE</strong> | specifies the RTC handle. |
<strong>INTERRUPT</strong> | specifies the RTC WakeUpTimer interrupt sources to be enabled or disabled. This parameter can be:
|
None |
Definition at line 339 of file stm32f4xx_hal_rtc_ex.h.
#define __HAL_RTC_WAKEUPTIMER_EXTI_CLEAR_FLAG | ( | ) | (EXTI->PR = RTC_EXTI_LINE_WAKEUPTIMER_EVENT) |
Clear the RTC Wake-up Timer associated Exti line flag.
None. |
Definition at line 467 of file stm32f4xx_hal_rtc_ex.h.
#define __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_EVENT | ( | ) | (EXTI->EMR &= ~(RTC_EXTI_LINE_WAKEUPTIMER_EVENT)) |
Disable event on the RTC Wake-up Timer associated Exti line.
None. |
Definition at line 414 of file stm32f4xx_hal_rtc_ex.h.
#define __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_FALLING_EDGE | ( | ) | (EXTI->FTSR &= ~(RTC_EXTI_LINE_WAKEUPTIMER_EVENT)) |
Disable falling edge trigger on the RTC Wake-up Timer associated Exti line.
None. |
Definition at line 426 of file stm32f4xx_hal_rtc_ex.h.
#define __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_IT | ( | ) | (EXTI->IMR &= ~(RTC_EXTI_LINE_WAKEUPTIMER_EVENT)) |
Disable interrupt on the RTC Wake-up Timer associated Exti line.
None |
Definition at line 402 of file stm32f4xx_hal_rtc_ex.h.
#define __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_RISING_EDGE | ( | ) | (EXTI->RTSR &= ~(RTC_EXTI_LINE_WAKEUPTIMER_EVENT)) |
Disable rising edge trigger on the RTC Wake-up Timer associated Exti line.
None. |
Definition at line 438 of file stm32f4xx_hal_rtc_ex.h.
#define __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_RISING_FALLING_EDGE | ( | ) |
Disable rising & falling edge trigger on the RTC Wake-up Timer associated Exti line. This parameter can be:
None. |
Definition at line 453 of file stm32f4xx_hal_rtc_ex.h.
#define __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_EVENT | ( | ) | (EXTI->EMR |= RTC_EXTI_LINE_WAKEUPTIMER_EVENT) |
Enable event on the RTC Wake-up Timer associated Exti line.
None. |
Definition at line 408 of file stm32f4xx_hal_rtc_ex.h.
#define __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_FALLING_EDGE | ( | ) | (EXTI->FTSR |= RTC_EXTI_LINE_WAKEUPTIMER_EVENT) |
Enable falling edge trigger on the RTC Wake-up Timer associated Exti line.
None. |
Definition at line 420 of file stm32f4xx_hal_rtc_ex.h.
#define __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_IT | ( | ) | (EXTI->IMR |= RTC_EXTI_LINE_WAKEUPTIMER_EVENT) |
Enable interrupt on the RTC Wake-up Timer associated Exti line.
None |
Definition at line 396 of file stm32f4xx_hal_rtc_ex.h.
#define __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_RISING_EDGE | ( | ) | (EXTI->RTSR |= RTC_EXTI_LINE_WAKEUPTIMER_EVENT) |
Enable rising edge trigger on the RTC Wake-up Timer associated Exti line.
None. |
Definition at line 432 of file stm32f4xx_hal_rtc_ex.h.
#define __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_RISING_FALLING_EDGE | ( | ) |
Enable rising & falling edge trigger on the RTC Wake-up Timer associated Exti line.
None. |
Definition at line 444 of file stm32f4xx_hal_rtc_ex.h.
#define __HAL_RTC_WAKEUPTIMER_EXTI_GENERATE_SWIT | ( | ) | (EXTI->SWIER |= RTC_EXTI_LINE_WAKEUPTIMER_EVENT) |
Generate a Software interrupt on the RTC Wake-up Timer associated Exti line.
None. |
Definition at line 473 of file stm32f4xx_hal_rtc_ex.h.
#define __HAL_RTC_WAKEUPTIMER_EXTI_GET_FLAG | ( | ) | (EXTI->PR & RTC_EXTI_LINE_WAKEUPTIMER_EVENT) |
Check whether the RTC Wake-up Timer associated Exti line interrupt flag is set or not.
Line | Status. |
Definition at line 461 of file stm32f4xx_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.
<strong>HANDLE</strong> | specifies the RTC handle. |
<strong>FLAG</strong> | specifies the RTC WakeUpTimer Flag to check. This parameter can be:
|
None |
Definition at line 380 of file stm32f4xx_hal_rtc_ex.h.
#define __HAL_RTC_WAKEUPTIMER_GET_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | (((((__HANDLE__)->Instance->ISR) & ((__INTERRUPT__)>> 4U)) != RESET)? SET : RESET) |
Check whether the specified RTC WakeUpTimer interrupt has occurred or not.
<strong>HANDLE</strong> | specifies the RTC handle. |
<strong>INTERRUPT</strong> | specifies the RTC WakeUpTimer interrupt to check. This parameter can be:
|
None |
Definition at line 359 of file stm32f4xx_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 has been enabled or not.
<strong>HANDLE</strong> | specifies the RTC handle. |
<strong>INTERRUPT</strong> | specifies the RTC Wake Up timer interrupt sources to check. This parameter can be:
|
None |
Definition at line 369 of file stm32f4xx_hal_rtc_ex.h.