Macros
Collaboration diagram for RTC Exported Macros:

Macros

#define __HAL_RTC_ALARM_CLEAR_FLAG(__HANDLE__, __FLAG__)   ((__HANDLE__)->Instance->ISR) = (~(((__FLAG__) | RTC_ISR_INIT)& 0x0000FFFFU)|((__HANDLE__)->Instance->ISR & RTC_ISR_INIT))
 Clear the RTC Alarm's pending flags. More...
 
#define __HAL_RTC_ALARM_CLEAR_FLAG(__HANDLE__, __FLAG__)   ((__HANDLE__)->Instance->ISR) = (~((__FLAG__) | RTC_ISR_INIT)|((__HANDLE__)->Instance->ISR & RTC_ISR_INIT))
 Clear the RTC Alarm's pending flags. More...
 
#define __HAL_RTC_ALARM_DISABLE_IT(__HANDLE__, __INTERRUPT__)   ((__HANDLE__)->Instance->CR &= ~(__INTERRUPT__))
 Disable the RTC Alarm interrupt. More...
 
#define __HAL_RTC_ALARM_DISABLE_IT(__HANDLE__, __INTERRUPT__)   ((__HANDLE__)->Instance->CR &= ~(__INTERRUPT__))
 Disable the RTC Alarm interrupt. More...
 
#define __HAL_RTC_ALARM_ENABLE_IT(__HANDLE__, __INTERRUPT__)   ((__HANDLE__)->Instance->CR |= (__INTERRUPT__))
 Enable the RTC Alarm interrupt. More...
 
#define __HAL_RTC_ALARM_ENABLE_IT(__HANDLE__, __INTERRUPT__)   ((__HANDLE__)->Instance->CR |= (__INTERRUPT__))
 Enable the RTC Alarm interrupt. More...
 
#define __HAL_RTC_ALARM_EXTI_CLEAR_FLAG()   (EXTI->PR = RTC_EXTI_LINE_ALARM_EVENT)
 Clear the RTC Alarm associated Exti line flag. More...
 
#define __HAL_RTC_ALARM_EXTI_CLEAR_FLAG()   (EXTI->PR = RTC_EXTI_LINE_ALARM_EVENT)
 Clear the RTC Alarm associated Exti line flag. More...
 
#define __HAL_RTC_ALARM_EXTI_DISABLE_EVENT()   (EXTI->EMR &= ~(RTC_EXTI_LINE_ALARM_EVENT))
 Disable event on the RTC Alarm associated Exti line. More...
 
#define __HAL_RTC_ALARM_EXTI_DISABLE_EVENT()   (EXTI->EMR &= ~(RTC_EXTI_LINE_ALARM_EVENT))
 Disable event on the RTC Alarm associated Exti line. More...
 
#define __HAL_RTC_ALARM_EXTI_DISABLE_FALLING_EDGE()   (EXTI->FTSR &= ~(RTC_EXTI_LINE_ALARM_EVENT))
 Disable falling edge trigger on the RTC Alarm associated Exti line. More...
 
#define __HAL_RTC_ALARM_EXTI_DISABLE_FALLING_EDGE()   (EXTI->FTSR &= ~(RTC_EXTI_LINE_ALARM_EVENT))
 Disable falling edge trigger on the RTC Alarm associated Exti line. More...
 
#define __HAL_RTC_ALARM_EXTI_DISABLE_IT()   (EXTI->IMR &= ~(RTC_EXTI_LINE_ALARM_EVENT))
 Disable interrupt on the RTC Alarm associated Exti line. More...
 
#define __HAL_RTC_ALARM_EXTI_DISABLE_IT()   (EXTI->IMR &= ~(RTC_EXTI_LINE_ALARM_EVENT))
 Disable interrupt on the RTC Alarm associated Exti line. More...
 
#define __HAL_RTC_ALARM_EXTI_DISABLE_RISING_EDGE()   (EXTI->RTSR &= ~(RTC_EXTI_LINE_ALARM_EVENT))
 Disable rising edge trigger on the RTC Alarm associated Exti line. More...
 
#define __HAL_RTC_ALARM_EXTI_DISABLE_RISING_EDGE()   (EXTI->RTSR &= ~(RTC_EXTI_LINE_ALARM_EVENT))
 Disable rising edge trigger on the RTC Alarm associated Exti line. More...
 
#define __HAL_RTC_ALARM_EXTI_DISABLE_RISING_FALLING_EDGE()   __HAL_RTC_ALARM_EXTI_DISABLE_RISING_EDGE();__HAL_RTC_ALARM_EXTI_DISABLE_FALLING_EDGE();
 Disable rising & falling edge trigger on the RTC Alarm associated Exti line. More...
 
#define __HAL_RTC_ALARM_EXTI_DISABLE_RISING_FALLING_EDGE()
 Disable rising & falling edge trigger on the RTC Alarm associated Exti line. More...
 
#define __HAL_RTC_ALARM_EXTI_ENABLE_EVENT()   (EXTI->EMR |= RTC_EXTI_LINE_ALARM_EVENT)
 Enable event on the RTC Alarm associated Exti line. More...
 
#define __HAL_RTC_ALARM_EXTI_ENABLE_EVENT()   (EXTI->EMR |= RTC_EXTI_LINE_ALARM_EVENT)
 Enable event on the RTC Alarm associated Exti line. More...
 
#define __HAL_RTC_ALARM_EXTI_ENABLE_FALLING_EDGE()   (EXTI->FTSR |= RTC_EXTI_LINE_ALARM_EVENT)
 Enable falling edge trigger on the RTC Alarm associated Exti line. More...
 
#define __HAL_RTC_ALARM_EXTI_ENABLE_FALLING_EDGE()   (EXTI->FTSR |= RTC_EXTI_LINE_ALARM_EVENT)
 Enable falling edge trigger on the RTC Alarm associated Exti line. More...
 
#define __HAL_RTC_ALARM_EXTI_ENABLE_IT()   (EXTI->IMR |= RTC_EXTI_LINE_ALARM_EVENT)
 Enable interrupt on the RTC Alarm associated Exti line. More...
 
#define __HAL_RTC_ALARM_EXTI_ENABLE_IT()   (EXTI->IMR |= RTC_EXTI_LINE_ALARM_EVENT)
 Enable interrupt on the RTC Alarm associated Exti line. More...
 
#define __HAL_RTC_ALARM_EXTI_ENABLE_RISING_EDGE()   (EXTI->RTSR |= RTC_EXTI_LINE_ALARM_EVENT)
 Enable rising edge trigger on the RTC Alarm associated Exti line. More...
 
#define __HAL_RTC_ALARM_EXTI_ENABLE_RISING_EDGE()   (EXTI->RTSR |= RTC_EXTI_LINE_ALARM_EVENT)
 Enable rising edge trigger on the RTC Alarm associated Exti line. More...
 
#define __HAL_RTC_ALARM_EXTI_ENABLE_RISING_FALLING_EDGE()   __HAL_RTC_ALARM_EXTI_ENABLE_RISING_EDGE();__HAL_RTC_ALARM_EXTI_ENABLE_FALLING_EDGE();
 Enable rising & falling edge trigger on the RTC Alarm associated Exti line. More...
 
#define __HAL_RTC_ALARM_EXTI_ENABLE_RISING_FALLING_EDGE()
 Enable rising & falling edge trigger on the RTC Alarm associated Exti line. More...
 
#define __HAL_RTC_ALARM_EXTI_GENERATE_SWIT()   (EXTI->SWIER |= RTC_EXTI_LINE_ALARM_EVENT)
 Generate a Software interrupt on RTC Alarm associated Exti line. More...
 
#define __HAL_RTC_ALARM_EXTI_GENERATE_SWIT()   (EXTI->SWIER |= RTC_EXTI_LINE_ALARM_EVENT)
 Generate a Software interrupt on RTC Alarm associated Exti line. More...
 
#define __HAL_RTC_ALARM_EXTI_GET_FLAG()   (EXTI->PR & RTC_EXTI_LINE_ALARM_EVENT)
 Check whether the RTC Alarm associated Exti line interrupt flag is set or not. More...
 
#define __HAL_RTC_ALARM_EXTI_GET_FLAG()   (EXTI->PR & RTC_EXTI_LINE_ALARM_EVENT)
 Check whether the RTC Alarm associated Exti line interrupt flag is set or not. More...
 
#define __HAL_RTC_ALARM_GET_FLAG(__HANDLE__, __FLAG__)   (((((__HANDLE__)->Instance->ISR) & (__FLAG__)) != RESET)? SET : RESET)
 Get the selected RTC Alarm's flag status. More...
 
#define __HAL_RTC_ALARM_GET_FLAG(__HANDLE__, __FLAG__)   (((((__HANDLE__)->Instance->ISR) & (__FLAG__)) != RESET)? SET : RESET)
 Get the selected RTC Alarm's flag status. More...
 
#define __HAL_RTC_ALARM_GET_IT(__HANDLE__, __INTERRUPT__)   ((((((__HANDLE__)->Instance->ISR)& ((__INTERRUPT__)>> 4U)) & 0x0000FFFFU) != RESET)? SET : RESET)
 Check whether the specified RTC Alarm interrupt has occurred or not. More...
 
#define __HAL_RTC_ALARM_GET_IT(__HANDLE__, __INTERRUPT__)   (((((__HANDLE__)->Instance->ISR)& ((__INTERRUPT__)>> 4U)) != RESET)? SET : RESET)
 Check whether the specified RTC Alarm interrupt has occurred or not. More...
 
#define __HAL_RTC_ALARM_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__)   (((((__HANDLE__)->Instance->CR) & (__INTERRUPT__)) != RESET) ? SET : RESET)
 Check whether the specified RTC Alarm interrupt has been enabled or not. More...
 
#define __HAL_RTC_ALARM_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__)   (((((__HANDLE__)->Instance->CR) & (__INTERRUPT__)) != RESET) ? SET : RESET)
 Check whether the specified RTC Alarm interrupt has been enabled or not. More...
 
#define __HAL_RTC_ALARMA_DISABLE(__HANDLE__)   ((__HANDLE__)->Instance->CR &= ~(RTC_CR_ALRAE))
 Disable the RTC ALARMA peripheral. More...
 
#define __HAL_RTC_ALARMA_DISABLE(__HANDLE__)   ((__HANDLE__)->Instance->CR &= ~(RTC_CR_ALRAE))
 Disable the RTC ALARMA peripheral. More...
 
#define __HAL_RTC_ALARMA_ENABLE(__HANDLE__)   ((__HANDLE__)->Instance->CR |= (RTC_CR_ALRAE))
 Enable the RTC ALARMA peripheral. More...
 
#define __HAL_RTC_ALARMA_ENABLE(__HANDLE__)   ((__HANDLE__)->Instance->CR |= (RTC_CR_ALRAE))
 Enable the RTC ALARMA peripheral. More...
 
#define __HAL_RTC_ALARMB_DISABLE(__HANDLE__)   ((__HANDLE__)->Instance->CR &= ~(RTC_CR_ALRBE))
 Disable the RTC ALARMB peripheral. More...
 
#define __HAL_RTC_ALARMB_DISABLE(__HANDLE__)   ((__HANDLE__)->Instance->CR &= ~(RTC_CR_ALRBE))
 Disable the RTC ALARMB peripheral. More...
 
#define __HAL_RTC_ALARMB_ENABLE(__HANDLE__)   ((__HANDLE__)->Instance->CR |= (RTC_CR_ALRBE))
 Enable the RTC ALARMB peripheral. More...
 
#define __HAL_RTC_ALARMB_ENABLE(__HANDLE__)   ((__HANDLE__)->Instance->CR |= (RTC_CR_ALRBE))
 Enable the RTC ALARMB peripheral. More...
 
#define __HAL_RTC_RESET_HANDLE_STATE(__HANDLE__)   ((__HANDLE__)->State = HAL_RTC_STATE_RESET)
 Reset RTC handle state. More...
 
#define __HAL_RTC_RESET_HANDLE_STATE(__HANDLE__)   ((__HANDLE__)->State = HAL_RTC_STATE_RESET)
 Reset RTC handle state. More...
 
#define __HAL_RTC_WRITEPROTECTION_DISABLE(__HANDLE__)
 Disable the write protection for RTC registers. More...
 
#define __HAL_RTC_WRITEPROTECTION_DISABLE(__HANDLE__)
 Disable the write protection for RTC registers. More...
 
#define __HAL_RTC_WRITEPROTECTION_ENABLE(__HANDLE__)
 Enable the write protection for RTC registers. More...
 
#define __HAL_RTC_WRITEPROTECTION_ENABLE(__HANDLE__)
 Enable the write protection for RTC registers. More...
 

Detailed Description

Macro Definition Documentation

◆ __HAL_RTC_ALARM_CLEAR_FLAG [1/2]

#define __HAL_RTC_ALARM_CLEAR_FLAG (   __HANDLE__,
  __FLAG__ 
)    ((__HANDLE__)->Instance->ISR) = (~(((__FLAG__) | RTC_ISR_INIT)& 0x0000FFFFU)|((__HANDLE__)->Instance->ISR & RTC_ISR_INIT))

Clear the RTC Alarm's pending flags.

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

Definition at line 568 of file stm32f7xx_hal_rtc.h.

◆ __HAL_RTC_ALARM_CLEAR_FLAG [2/2]

#define __HAL_RTC_ALARM_CLEAR_FLAG (   __HANDLE__,
  __FLAG__ 
)    ((__HANDLE__)->Instance->ISR) = (~((__FLAG__) | RTC_ISR_INIT)|((__HANDLE__)->Instance->ISR & RTC_ISR_INIT))

Clear the RTC Alarm's pending flags.

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

Definition at line 571 of file stm32f4xx_hal_rtc.h.

◆ __HAL_RTC_ALARM_DISABLE_IT [1/2]

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

Disable the RTC Alarm interrupt.

Parameters
<strong>HANDLE</strong>specifies the RTC handle.
<strong>INTERRUPT</strong>specifies the RTC Alarm interrupt sources to be enabled or disabled. This parameter can be any combination of the following values:
  • RTC_IT_ALRA: Alarm A interrupt
  • RTC_IT_ALRB: Alarm B interrupt
Return values
None

Definition at line 533 of file stm32f7xx_hal_rtc.h.

◆ __HAL_RTC_ALARM_DISABLE_IT [2/2]

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

Disable the RTC Alarm interrupt.

Parameters
<strong>HANDLE</strong>specifies the RTC handle.
<strong>INTERRUPT</strong>specifies the RTC Alarm interrupt sources to be enabled or disabled. This parameter can be any combination of the following values:
  • RTC_IT_ALRA: Alarm A interrupt
  • RTC_IT_ALRB: Alarm B interrupt
Return values
None

Definition at line 536 of file stm32f4xx_hal_rtc.h.

◆ __HAL_RTC_ALARM_ENABLE_IT [1/2]

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

Enable the RTC Alarm interrupt.

Parameters
<strong>HANDLE</strong>specifies the RTC handle.
<strong>INTERRUPT</strong>specifies the RTC Alarm interrupt sources to be enabled or disabled. This parameter can be any combination of the following values:
  • RTC_IT_ALRA: Alarm A interrupt
  • RTC_IT_ALRB: Alarm B interrupt
Return values
None

Definition at line 522 of file stm32f7xx_hal_rtc.h.

◆ __HAL_RTC_ALARM_ENABLE_IT [2/2]

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

Enable the RTC Alarm interrupt.

Parameters
<strong>HANDLE</strong>specifies the RTC handle.
<strong>INTERRUPT</strong>specifies the RTC Alarm interrupt sources to be enabled or disabled. This parameter can be any combination of the following values:
  • RTC_IT_ALRA: Alarm A interrupt
  • RTC_IT_ALRB: Alarm B interrupt
Return values
None

Definition at line 525 of file stm32f4xx_hal_rtc.h.

◆ __HAL_RTC_ALARM_EXTI_CLEAR_FLAG [1/2]

#define __HAL_RTC_ALARM_EXTI_CLEAR_FLAG ( )    (EXTI->PR = RTC_EXTI_LINE_ALARM_EVENT)

Clear the RTC Alarm associated Exti line flag.

Return values
None.

Definition at line 651 of file stm32f7xx_hal_rtc.h.

◆ __HAL_RTC_ALARM_EXTI_CLEAR_FLAG [2/2]

#define __HAL_RTC_ALARM_EXTI_CLEAR_FLAG ( )    (EXTI->PR = RTC_EXTI_LINE_ALARM_EVENT)

Clear the RTC Alarm associated Exti line flag.

Return values
None.

Definition at line 659 of file stm32f4xx_hal_rtc.h.

◆ __HAL_RTC_ALARM_EXTI_DISABLE_EVENT [1/2]

#define __HAL_RTC_ALARM_EXTI_DISABLE_EVENT ( )    (EXTI->EMR &= ~(RTC_EXTI_LINE_ALARM_EVENT))

Disable event on the RTC Alarm associated Exti line.

Return values
None.

Definition at line 603 of file stm32f7xx_hal_rtc.h.

◆ __HAL_RTC_ALARM_EXTI_DISABLE_EVENT [2/2]

#define __HAL_RTC_ALARM_EXTI_DISABLE_EVENT ( )    (EXTI->EMR &= ~(RTC_EXTI_LINE_ALARM_EVENT))

Disable event on the RTC Alarm associated Exti line.

Return values
None.

Definition at line 607 of file stm32f4xx_hal_rtc.h.

◆ __HAL_RTC_ALARM_EXTI_DISABLE_FALLING_EDGE [1/2]

#define __HAL_RTC_ALARM_EXTI_DISABLE_FALLING_EDGE ( )    (EXTI->FTSR &= ~(RTC_EXTI_LINE_ALARM_EVENT))

Disable falling edge trigger on the RTC Alarm associated Exti line.

Return values
None.

Definition at line 615 of file stm32f7xx_hal_rtc.h.

◆ __HAL_RTC_ALARM_EXTI_DISABLE_FALLING_EDGE [2/2]

#define __HAL_RTC_ALARM_EXTI_DISABLE_FALLING_EDGE ( )    (EXTI->FTSR &= ~(RTC_EXTI_LINE_ALARM_EVENT))

Disable falling edge trigger on the RTC Alarm associated Exti line.

Return values
None.

Definition at line 619 of file stm32f4xx_hal_rtc.h.

◆ __HAL_RTC_ALARM_EXTI_DISABLE_IT [1/2]

#define __HAL_RTC_ALARM_EXTI_DISABLE_IT ( )    (EXTI->IMR &= ~(RTC_EXTI_LINE_ALARM_EVENT))

Disable interrupt on the RTC Alarm associated Exti line.

Return values
None

Definition at line 591 of file stm32f7xx_hal_rtc.h.

◆ __HAL_RTC_ALARM_EXTI_DISABLE_IT [2/2]

#define __HAL_RTC_ALARM_EXTI_DISABLE_IT ( )    (EXTI->IMR &= ~(RTC_EXTI_LINE_ALARM_EVENT))

Disable interrupt on the RTC Alarm associated Exti line.

Return values
None

Definition at line 595 of file stm32f4xx_hal_rtc.h.

◆ __HAL_RTC_ALARM_EXTI_DISABLE_RISING_EDGE [1/2]

#define __HAL_RTC_ALARM_EXTI_DISABLE_RISING_EDGE ( )    (EXTI->RTSR &= ~(RTC_EXTI_LINE_ALARM_EVENT))

Disable rising edge trigger on the RTC Alarm associated Exti line.

Return values
None.

Definition at line 627 of file stm32f7xx_hal_rtc.h.

◆ __HAL_RTC_ALARM_EXTI_DISABLE_RISING_EDGE [2/2]

#define __HAL_RTC_ALARM_EXTI_DISABLE_RISING_EDGE ( )    (EXTI->RTSR &= ~(RTC_EXTI_LINE_ALARM_EVENT))

Disable rising edge trigger on the RTC Alarm associated Exti line.

Return values
None.

Definition at line 631 of file stm32f4xx_hal_rtc.h.

◆ __HAL_RTC_ALARM_EXTI_DISABLE_RISING_FALLING_EDGE [1/2]

#define __HAL_RTC_ALARM_EXTI_DISABLE_RISING_FALLING_EDGE ( )    __HAL_RTC_ALARM_EXTI_DISABLE_RISING_EDGE();__HAL_RTC_ALARM_EXTI_DISABLE_FALLING_EDGE();

Disable rising & falling edge trigger on the RTC Alarm associated Exti line.

Return values
None.

Definition at line 639 of file stm32f7xx_hal_rtc.h.

◆ __HAL_RTC_ALARM_EXTI_DISABLE_RISING_FALLING_EDGE [2/2]

#define __HAL_RTC_ALARM_EXTI_DISABLE_RISING_FALLING_EDGE ( )
Value:
__HAL_RTC_ALARM_EXTI_DISABLE_FALLING_EDGE();\
} while(0U)

Disable rising & falling edge trigger on the RTC Alarm associated Exti line.

Return values
None.

Definition at line 645 of file stm32f4xx_hal_rtc.h.

◆ __HAL_RTC_ALARM_EXTI_ENABLE_EVENT [1/2]

#define __HAL_RTC_ALARM_EXTI_ENABLE_EVENT ( )    (EXTI->EMR |= RTC_EXTI_LINE_ALARM_EVENT)

Enable event on the RTC Alarm associated Exti line.

Return values
None.

Definition at line 597 of file stm32f7xx_hal_rtc.h.

◆ __HAL_RTC_ALARM_EXTI_ENABLE_EVENT [2/2]

#define __HAL_RTC_ALARM_EXTI_ENABLE_EVENT ( )    (EXTI->EMR |= RTC_EXTI_LINE_ALARM_EVENT)

Enable event on the RTC Alarm associated Exti line.

Return values
None.

Definition at line 601 of file stm32f4xx_hal_rtc.h.

◆ __HAL_RTC_ALARM_EXTI_ENABLE_FALLING_EDGE [1/2]

#define __HAL_RTC_ALARM_EXTI_ENABLE_FALLING_EDGE ( )    (EXTI->FTSR |= RTC_EXTI_LINE_ALARM_EVENT)

Enable falling edge trigger on the RTC Alarm associated Exti line.

Return values
None.

Definition at line 609 of file stm32f7xx_hal_rtc.h.

◆ __HAL_RTC_ALARM_EXTI_ENABLE_FALLING_EDGE [2/2]

#define __HAL_RTC_ALARM_EXTI_ENABLE_FALLING_EDGE ( )    (EXTI->FTSR |= RTC_EXTI_LINE_ALARM_EVENT)

Enable falling edge trigger on the RTC Alarm associated Exti line.

Return values
None.

Definition at line 613 of file stm32f4xx_hal_rtc.h.

◆ __HAL_RTC_ALARM_EXTI_ENABLE_IT [1/2]

#define __HAL_RTC_ALARM_EXTI_ENABLE_IT ( )    (EXTI->IMR |= RTC_EXTI_LINE_ALARM_EVENT)

Enable interrupt on the RTC Alarm associated Exti line.

Return values
None

Definition at line 585 of file stm32f7xx_hal_rtc.h.

◆ __HAL_RTC_ALARM_EXTI_ENABLE_IT [2/2]

#define __HAL_RTC_ALARM_EXTI_ENABLE_IT ( )    (EXTI->IMR |= RTC_EXTI_LINE_ALARM_EVENT)

Enable interrupt on the RTC Alarm associated Exti line.

Return values
None

Definition at line 589 of file stm32f4xx_hal_rtc.h.

◆ __HAL_RTC_ALARM_EXTI_ENABLE_RISING_EDGE [1/2]

#define __HAL_RTC_ALARM_EXTI_ENABLE_RISING_EDGE ( )    (EXTI->RTSR |= RTC_EXTI_LINE_ALARM_EVENT)

Enable rising edge trigger on the RTC Alarm associated Exti line.

Return values
None.

Definition at line 621 of file stm32f7xx_hal_rtc.h.

◆ __HAL_RTC_ALARM_EXTI_ENABLE_RISING_EDGE [2/2]

#define __HAL_RTC_ALARM_EXTI_ENABLE_RISING_EDGE ( )    (EXTI->RTSR |= RTC_EXTI_LINE_ALARM_EVENT)

Enable rising edge trigger on the RTC Alarm associated Exti line.

Return values
None.

Definition at line 625 of file stm32f4xx_hal_rtc.h.

◆ __HAL_RTC_ALARM_EXTI_ENABLE_RISING_FALLING_EDGE [1/2]

#define __HAL_RTC_ALARM_EXTI_ENABLE_RISING_FALLING_EDGE ( )    __HAL_RTC_ALARM_EXTI_ENABLE_RISING_EDGE();__HAL_RTC_ALARM_EXTI_ENABLE_FALLING_EDGE();

Enable rising & falling edge trigger on the RTC Alarm associated Exti line.

Return values
None.

Definition at line 633 of file stm32f7xx_hal_rtc.h.

◆ __HAL_RTC_ALARM_EXTI_ENABLE_RISING_FALLING_EDGE [2/2]

#define __HAL_RTC_ALARM_EXTI_ENABLE_RISING_FALLING_EDGE ( )
Value:
__HAL_RTC_ALARM_EXTI_ENABLE_FALLING_EDGE();\
} while(0U)

Enable rising & falling edge trigger on the RTC Alarm associated Exti line.

Return values
None.

Definition at line 637 of file stm32f4xx_hal_rtc.h.

◆ __HAL_RTC_ALARM_EXTI_GENERATE_SWIT [1/2]

#define __HAL_RTC_ALARM_EXTI_GENERATE_SWIT ( )    (EXTI->SWIER |= RTC_EXTI_LINE_ALARM_EVENT)

Generate a Software interrupt on RTC Alarm associated Exti line.

Return values
None.

Definition at line 657 of file stm32f7xx_hal_rtc.h.

◆ __HAL_RTC_ALARM_EXTI_GENERATE_SWIT [2/2]

#define __HAL_RTC_ALARM_EXTI_GENERATE_SWIT ( )    (EXTI->SWIER |= RTC_EXTI_LINE_ALARM_EVENT)

Generate a Software interrupt on RTC Alarm associated Exti line.

Return values
None.

Definition at line 665 of file stm32f4xx_hal_rtc.h.

◆ __HAL_RTC_ALARM_EXTI_GET_FLAG [1/2]

#define __HAL_RTC_ALARM_EXTI_GET_FLAG ( )    (EXTI->PR & RTC_EXTI_LINE_ALARM_EVENT)

Check whether the RTC Alarm associated Exti line interrupt flag is set or not.

Return values
LineStatus.

Definition at line 645 of file stm32f7xx_hal_rtc.h.

◆ __HAL_RTC_ALARM_EXTI_GET_FLAG [2/2]

#define __HAL_RTC_ALARM_EXTI_GET_FLAG ( )    (EXTI->PR & RTC_EXTI_LINE_ALARM_EVENT)

Check whether the RTC Alarm associated Exti line interrupt flag is set or not.

Return values
LineStatus.

Definition at line 653 of file stm32f4xx_hal_rtc.h.

◆ __HAL_RTC_ALARM_GET_FLAG [1/2]

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

Get the selected RTC Alarm's flag status.

Parameters
<strong>HANDLE</strong>specifies the RTC handle.
<strong>FLAG</strong>specifies the RTC Alarm Flag to check. This parameter can be:
  • RTC_FLAG_ALRAF
  • RTC_FLAG_ALRBF
  • RTC_FLAG_ALRAWF
  • RTC_FLAG_ALRBWF
Return values
None

Definition at line 557 of file stm32f7xx_hal_rtc.h.

◆ __HAL_RTC_ALARM_GET_FLAG [2/2]

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

Get the selected RTC Alarm's flag status.

Parameters
<strong>HANDLE</strong>specifies the RTC handle.
<strong>FLAG</strong>specifies the RTC Alarm Flag to check. This parameter can be:
  • RTC_FLAG_ALRAF
  • RTC_FLAG_ALRBF
  • RTC_FLAG_ALRAWF
  • RTC_FLAG_ALRBWF
Return values
None

Definition at line 560 of file stm32f4xx_hal_rtc.h.

◆ __HAL_RTC_ALARM_GET_IT [1/2]

#define __HAL_RTC_ALARM_GET_IT (   __HANDLE__,
  __INTERRUPT__ 
)    ((((((__HANDLE__)->Instance->ISR)& ((__INTERRUPT__)>> 4U)) & 0x0000FFFFU) != RESET)? SET : RESET)

Check whether the specified RTC Alarm interrupt has occurred or not.

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

Definition at line 544 of file stm32f7xx_hal_rtc.h.

◆ __HAL_RTC_ALARM_GET_IT [2/2]

#define __HAL_RTC_ALARM_GET_IT (   __HANDLE__,
  __INTERRUPT__ 
)    (((((__HANDLE__)->Instance->ISR)& ((__INTERRUPT__)>> 4U)) != RESET)? SET : RESET)

Check whether the specified RTC Alarm interrupt has occurred or not.

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

Definition at line 547 of file stm32f4xx_hal_rtc.h.

◆ __HAL_RTC_ALARM_GET_IT_SOURCE [1/2]

#define __HAL_RTC_ALARM_GET_IT_SOURCE (   __HANDLE__,
  __INTERRUPT__ 
)    (((((__HANDLE__)->Instance->CR) & (__INTERRUPT__)) != RESET) ? SET : RESET)

Check whether the specified RTC Alarm interrupt has been enabled or not.

Parameters
<strong>HANDLE</strong>specifies the RTC handle.
<strong>INTERRUPT</strong>specifies the RTC Alarm interrupt sources to check. This parameter can be:
  • RTC_IT_ALRA: Alarm A interrupt
  • RTC_IT_ALRB: Alarm B interrupt
Return values
None

Definition at line 579 of file stm32f7xx_hal_rtc.h.

◆ __HAL_RTC_ALARM_GET_IT_SOURCE [2/2]

#define __HAL_RTC_ALARM_GET_IT_SOURCE (   __HANDLE__,
  __INTERRUPT__ 
)    (((((__HANDLE__)->Instance->CR) & (__INTERRUPT__)) != RESET) ? SET : RESET)

Check whether the specified RTC Alarm interrupt has been enabled or not.

Parameters
<strong>HANDLE</strong>specifies the RTC handle.
<strong>INTERRUPT</strong>specifies the RTC Alarm interrupt sources to check. This parameter can be:
  • RTC_IT_ALRA: Alarm A interrupt
  • RTC_IT_ALRB: Alarm B interrupt
Return values
None

Definition at line 583 of file stm32f4xx_hal_rtc.h.

◆ __HAL_RTC_ALARMA_DISABLE [1/2]

#define __HAL_RTC_ALARMA_DISABLE (   __HANDLE__)    ((__HANDLE__)->Instance->CR &= ~(RTC_CR_ALRAE))

Disable the RTC ALARMA peripheral.

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

Definition at line 497 of file stm32f7xx_hal_rtc.h.

◆ __HAL_RTC_ALARMA_DISABLE [2/2]

#define __HAL_RTC_ALARMA_DISABLE (   __HANDLE__)    ((__HANDLE__)->Instance->CR &= ~(RTC_CR_ALRAE))

Disable the RTC ALARMA peripheral.

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

Definition at line 500 of file stm32f4xx_hal_rtc.h.

◆ __HAL_RTC_ALARMA_ENABLE [1/2]

#define __HAL_RTC_ALARMA_ENABLE (   __HANDLE__)    ((__HANDLE__)->Instance->CR |= (RTC_CR_ALRAE))

Enable the RTC ALARMA peripheral.

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

Definition at line 490 of file stm32f7xx_hal_rtc.h.

◆ __HAL_RTC_ALARMA_ENABLE [2/2]

#define __HAL_RTC_ALARMA_ENABLE (   __HANDLE__)    ((__HANDLE__)->Instance->CR |= (RTC_CR_ALRAE))

Enable the RTC ALARMA peripheral.

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

Definition at line 493 of file stm32f4xx_hal_rtc.h.

◆ __HAL_RTC_ALARMB_DISABLE [1/2]

#define __HAL_RTC_ALARMB_DISABLE (   __HANDLE__)    ((__HANDLE__)->Instance->CR &= ~(RTC_CR_ALRBE))

Disable the RTC ALARMB peripheral.

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

Definition at line 511 of file stm32f7xx_hal_rtc.h.

◆ __HAL_RTC_ALARMB_DISABLE [2/2]

#define __HAL_RTC_ALARMB_DISABLE (   __HANDLE__)    ((__HANDLE__)->Instance->CR &= ~(RTC_CR_ALRBE))

Disable the RTC ALARMB peripheral.

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

Definition at line 514 of file stm32f4xx_hal_rtc.h.

◆ __HAL_RTC_ALARMB_ENABLE [1/2]

#define __HAL_RTC_ALARMB_ENABLE (   __HANDLE__)    ((__HANDLE__)->Instance->CR |= (RTC_CR_ALRBE))

Enable the RTC ALARMB peripheral.

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

Definition at line 504 of file stm32f7xx_hal_rtc.h.

◆ __HAL_RTC_ALARMB_ENABLE [2/2]

#define __HAL_RTC_ALARMB_ENABLE (   __HANDLE__)    ((__HANDLE__)->Instance->CR |= (RTC_CR_ALRBE))

Enable the RTC ALARMB peripheral.

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

Definition at line 507 of file stm32f4xx_hal_rtc.h.

◆ __HAL_RTC_RESET_HANDLE_STATE [1/2]

#define __HAL_RTC_RESET_HANDLE_STATE (   __HANDLE__)    ((__HANDLE__)->State = HAL_RTC_STATE_RESET)

Reset RTC handle state.

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

Definition at line 461 of file stm32f7xx_hal_rtc.h.

◆ __HAL_RTC_RESET_HANDLE_STATE [2/2]

#define __HAL_RTC_RESET_HANDLE_STATE (   __HANDLE__)    ((__HANDLE__)->State = HAL_RTC_STATE_RESET)

Reset RTC handle state.

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

Definition at line 464 of file stm32f4xx_hal_rtc.h.

◆ __HAL_RTC_WRITEPROTECTION_DISABLE [1/2]

#define __HAL_RTC_WRITEPROTECTION_DISABLE (   __HANDLE__)
Value:
do{ \
(__HANDLE__)->Instance->WPR = 0xCAU; \
(__HANDLE__)->Instance->WPR = 0x53U; \
} while(0U)

Disable the write protection for RTC registers.

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

Definition at line 469 of file stm32f7xx_hal_rtc.h.

◆ __HAL_RTC_WRITEPROTECTION_DISABLE [2/2]

#define __HAL_RTC_WRITEPROTECTION_DISABLE (   __HANDLE__)
Value:
do{ \
(__HANDLE__)->Instance->WPR = 0xCAU; \
(__HANDLE__)->Instance->WPR = 0x53U; \
} while(0U)

Disable the write protection for RTC registers.

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

Definition at line 472 of file stm32f4xx_hal_rtc.h.

◆ __HAL_RTC_WRITEPROTECTION_ENABLE [1/2]

#define __HAL_RTC_WRITEPROTECTION_ENABLE (   __HANDLE__)
Value:
do{ \
(__HANDLE__)->Instance->WPR = 0xFFU; \
} while(0U)

Enable the write protection for RTC registers.

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

Definition at line 480 of file stm32f7xx_hal_rtc.h.

◆ __HAL_RTC_WRITEPROTECTION_ENABLE [2/2]

#define __HAL_RTC_WRITEPROTECTION_ENABLE (   __HANDLE__)
Value:
do{ \
(__HANDLE__)->Instance->WPR = 0xFFU; \
} while(0U)

Enable the write protection for RTC registers.

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

Definition at line 483 of file stm32f4xx_hal_rtc.h.

__HAL_RTC_ALARM_EXTI_ENABLE_RISING_EDGE
#define __HAL_RTC_ALARM_EXTI_ENABLE_RISING_EDGE()
Enable rising edge trigger on the RTC Alarm associated Exti line.
Definition: stm32f4xx_hal_rtc.h:625
__HAL_RTC_ALARM_EXTI_DISABLE_RISING_EDGE
#define __HAL_RTC_ALARM_EXTI_DISABLE_RISING_EDGE()
Disable rising edge trigger on the RTC Alarm associated Exti line.
Definition: stm32f4xx_hal_rtc.h:631


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