Macros
Collaboration diagram for RTC Timestamp:

Macros

#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. More...
 
#define __HAL_RTC_TIMESTAMP_DISABLE(__HANDLE__)   ((__HANDLE__)->Instance->CR &= ~(RTC_CR_TSE))
 Disable the RTC TimeStamp peripheral. More...
 
#define __HAL_RTC_TIMESTAMP_DISABLE_IT(__HANDLE__, __INTERRUPT__)   ((__HANDLE__)->Instance->CR &= ~(__INTERRUPT__))
 Disable the RTC TimeStamp interrupt. More...
 
#define __HAL_RTC_TIMESTAMP_ENABLE(__HANDLE__)   ((__HANDLE__)->Instance->CR |= (RTC_CR_TSE))
 Enable the RTC TimeStamp peripheral. More...
 
#define __HAL_RTC_TIMESTAMP_ENABLE_IT(__HANDLE__, __INTERRUPT__)   ((__HANDLE__)->Instance->CR |= (__INTERRUPT__))
 Enable the RTC TimeStamp interrupt. More...
 
#define __HAL_RTC_TIMESTAMP_GET_FLAG(__HANDLE__, __FLAG__)   (((((__HANDLE__)->Instance->ISR) & (__FLAG__)) != RESET)? SET : RESET)
 Get the selected RTC TimeStamp's flag status. More...
 
#define __HAL_RTC_TIMESTAMP_GET_IT(__HANDLE__, __INTERRUPT__)   (((((__HANDLE__)->Instance->ISR) & ((__INTERRUPT__)>> 4U)) != RESET)? SET : RESET)
 Check whether the specified RTC TimeStamp interrupt has occurred or not. More...
 
#define __HAL_RTC_TIMESTAMP_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__)   (((((__HANDLE__)->Instance->CR) & (__INTERRUPT__)) != RESET) ? SET : RESET)
 Check whether the specified RTC Time Stamp interrupt has been enabled or not. More...
 

Detailed Description

Macro Definition Documentation

◆ __HAL_RTC_TIMESTAMP_CLEAR_FLAG

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

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_TSF
Return values
None

Definition at line 557 of file stm32f4xx_hal_rtc_ex.h.

◆ __HAL_RTC_TIMESTAMP_DISABLE

#define __HAL_RTC_TIMESTAMP_DISABLE (   __HANDLE__)    ((__HANDLE__)->Instance->CR &= ~(RTC_CR_TSE))

Disable the RTC TimeStamp peripheral.

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

Definition at line 496 of file stm32f4xx_hal_rtc_ex.h.

◆ __HAL_RTC_TIMESTAMP_DISABLE_IT

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

Disable the RTC TimeStamp interrupt.

Parameters
<strong>HANDLE</strong>specifies the RTC handle.
<strong>INTERRUPT</strong>specifies the RTC TimeStamp interrupt sources to be enabled or disabled. This parameter can be:
  • RTC_IT_TS: TimeStamp interrupt
Return values
None

Definition at line 516 of file stm32f4xx_hal_rtc_ex.h.

◆ __HAL_RTC_TIMESTAMP_ENABLE

#define __HAL_RTC_TIMESTAMP_ENABLE (   __HANDLE__)    ((__HANDLE__)->Instance->CR |= (RTC_CR_TSE))

Enable the RTC TimeStamp peripheral.

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

Definition at line 489 of file stm32f4xx_hal_rtc_ex.h.

◆ __HAL_RTC_TIMESTAMP_ENABLE_IT

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

Enable the RTC TimeStamp interrupt.

Parameters
<strong>HANDLE</strong>specifies the RTC handle.
<strong>INTERRUPT</strong>specifies the RTC TimeStamp interrupt sources to be enabled or disabled. This parameter can be:
  • RTC_IT_TS: TimeStamp interrupt
Return values
None

Definition at line 506 of file stm32f4xx_hal_rtc_ex.h.

◆ __HAL_RTC_TIMESTAMP_GET_FLAG

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

Get the selected RTC TimeStamp's flag status.

Parameters
<strong>HANDLE</strong>specifies the RTC handle.
<strong>FLAG</strong>specifies the RTC TimeStamp flag to check. This parameter can be:
  • RTC_FLAG_TSF
  • RTC_FLAG_TSOVF
Return values
None

Definition at line 547 of file stm32f4xx_hal_rtc_ex.h.

◆ __HAL_RTC_TIMESTAMP_GET_IT

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

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

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

Definition at line 526 of file stm32f4xx_hal_rtc_ex.h.

◆ __HAL_RTC_TIMESTAMP_GET_IT_SOURCE

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

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

Parameters
<strong>HANDLE</strong>specifies the RTC handle.
<strong>INTERRUPT</strong>specifies the RTC Time Stamp interrupt source to check. This parameter can be:
  • RTC_IT_TS: TimeStamp interrupt
Return values
None

Definition at line 536 of file stm32f4xx_hal_rtc_ex.h.



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