Macros
Collaboration diagram for RTC WakeUp Timer:

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...
 

Detailed Description

Macro Definition Documentation

◆ __HAL_RTC_WAKEUPTIMER_CLEAR_FLAG

#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.

Parameters
<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:
  • RTC_FLAG_WUTF
Return values
None

Definition at line 390 of file stm32f4xx_hal_rtc_ex.h.

◆ __HAL_RTC_WAKEUPTIMER_DISABLE

#define __HAL_RTC_WAKEUPTIMER_DISABLE (   __HANDLE__)    ((__HANDLE__)->Instance->CR &= ~(RTC_CR_WUTE))

Disable the RTC Wake-up Timer peripheral.

Parameters
<strong>HANDLE</strong>specifies the RTC handle.
Return values
None

Definition at line 329 of file stm32f4xx_hal_rtc_ex.h.

◆ __HAL_RTC_WAKEUPTIMER_DISABLE_IT

#define __HAL_RTC_WAKEUPTIMER_DISABLE_IT (   __HANDLE__,
  __INTERRUPT__ 
)    ((__HANDLE__)->Instance->CR &= ~(__INTERRUPT__))

Disable the RTC WakeUpTimer interrupt.

Parameters
<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:
  • RTC_IT_WUT: WakeUpTimer A interrupt
Return values
None

Definition at line 349 of file stm32f4xx_hal_rtc_ex.h.

◆ __HAL_RTC_WAKEUPTIMER_ENABLE

#define __HAL_RTC_WAKEUPTIMER_ENABLE (   __HANDLE__)    ((__HANDLE__)->Instance->CR |= (RTC_CR_WUTE))

Enable the RTC WakeUp Timer peripheral.

Parameters
<strong>HANDLE</strong>specifies the RTC handle.
Return values
None

Definition at line 322 of file stm32f4xx_hal_rtc_ex.h.

◆ __HAL_RTC_WAKEUPTIMER_ENABLE_IT

#define __HAL_RTC_WAKEUPTIMER_ENABLE_IT (   __HANDLE__,
  __INTERRUPT__ 
)    ((__HANDLE__)->Instance->CR |= (__INTERRUPT__))

Enable the RTC WakeUpTimer interrupt.

Parameters
<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:
  • RTC_IT_WUT: WakeUpTimer A interrupt
Return values
None

Definition at line 339 of file stm32f4xx_hal_rtc_ex.h.

◆ __HAL_RTC_WAKEUPTIMER_EXTI_CLEAR_FLAG

#define __HAL_RTC_WAKEUPTIMER_EXTI_CLEAR_FLAG ( )    (EXTI->PR = RTC_EXTI_LINE_WAKEUPTIMER_EVENT)

Clear the RTC Wake-up Timer associated Exti line flag.

Return values
None.

Definition at line 467 of file stm32f4xx_hal_rtc_ex.h.

◆ __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_EVENT

#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.

Return values
None.

Definition at line 414 of file stm32f4xx_hal_rtc_ex.h.

◆ __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_FALLING_EDGE

#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.

Return values
None.

Definition at line 426 of file stm32f4xx_hal_rtc_ex.h.

◆ __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_IT

#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.

Return values
None

Definition at line 402 of file stm32f4xx_hal_rtc_ex.h.

◆ __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_RISING_EDGE

#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.

Return values
None.

Definition at line 438 of file stm32f4xx_hal_rtc_ex.h.

◆ __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_RISING_FALLING_EDGE

#define __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_RISING_FALLING_EDGE ( )
Value:
__HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_FALLING_EDGE();\
} while(0U)

Disable rising & falling edge trigger on the RTC Wake-up Timer associated Exti line. This parameter can be:

Return values
None.

Definition at line 453 of file stm32f4xx_hal_rtc_ex.h.

◆ __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_EVENT

#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.

Return values
None.

Definition at line 408 of file stm32f4xx_hal_rtc_ex.h.

◆ __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_FALLING_EDGE

#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.

Return values
None.

Definition at line 420 of file stm32f4xx_hal_rtc_ex.h.

◆ __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_IT

#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.

Return values
None

Definition at line 396 of file stm32f4xx_hal_rtc_ex.h.

◆ __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_RISING_EDGE

#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.

Return values
None.

Definition at line 432 of file stm32f4xx_hal_rtc_ex.h.

◆ __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_RISING_FALLING_EDGE

#define __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_RISING_FALLING_EDGE ( )
Value:
__HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_FALLING_EDGE();\
} while(0U)

Enable rising & falling edge trigger on the RTC Wake-up Timer associated Exti line.

Return values
None.

Definition at line 444 of file stm32f4xx_hal_rtc_ex.h.

◆ __HAL_RTC_WAKEUPTIMER_EXTI_GENERATE_SWIT

#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.

Return values
None.

Definition at line 473 of file stm32f4xx_hal_rtc_ex.h.

◆ __HAL_RTC_WAKEUPTIMER_EXTI_GET_FLAG

#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.

Return values
LineStatus.

Definition at line 461 of file stm32f4xx_hal_rtc_ex.h.

◆ __HAL_RTC_WAKEUPTIMER_GET_FLAG

#define __HAL_RTC_WAKEUPTIMER_GET_FLAG (   __HANDLE__,
  __FLAG__ 
)    (((((__HANDLE__)->Instance->ISR) & (__FLAG__)) != RESET)? SET : RESET)

Get the selected RTC WakeUpTimer's flag status.

Parameters
<strong>HANDLE</strong>specifies the RTC handle.
<strong>FLAG</strong>specifies the RTC WakeUpTimer Flag to check. This parameter can be:
  • RTC_FLAG_WUTF
  • RTC_FLAG_WUTWF
Return values
None

Definition at line 380 of file stm32f4xx_hal_rtc_ex.h.

◆ __HAL_RTC_WAKEUPTIMER_GET_IT

#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.

Parameters
<strong>HANDLE</strong>specifies the RTC handle.
<strong>INTERRUPT</strong>specifies the RTC WakeUpTimer interrupt to check. This parameter can be:
  • RTC_IT_WUT: WakeUpTimer A interrupt
Return values
None

Definition at line 359 of file stm32f4xx_hal_rtc_ex.h.

◆ __HAL_RTC_WAKEUPTIMER_GET_IT_SOURCE

#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.

Parameters
<strong>HANDLE</strong>specifies the RTC handle.
<strong>INTERRUPT</strong>specifies the RTC Wake Up timer interrupt sources to check. This parameter can be:
  • RTC_IT_WUT: WakeUpTimer interrupt
Return values
None

Definition at line 369 of file stm32f4xx_hal_rtc_ex.h.

__HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_RISING_EDGE
#define __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_RISING_EDGE()
Enable rising edge trigger on the RTC Wake-up Timer associated Exti line.
Definition: stm32f4xx_hal_rtc_ex.h:432
__HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_RISING_EDGE
#define __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_RISING_EDGE()
Disable rising edge trigger on the RTC Wake-up Timer associated Exti line.
Definition: stm32f4xx_hal_rtc_ex.h:438


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:07