STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
RTC Exported Macros
Collaboration diagram for RTC Exported Macros:

Macros

#define __HAL_RTC_WAKEUPTIMER_ENABLE(__HANDLE__)
 Enable the RTC WakeUp Timer peripheral.
#define __HAL_RTC_WAKEUPTIMER_DISABLE(__HANDLE__)
 Disable the RTC WakeUp Timer peripheral.
#define __HAL_RTC_WAKEUPTIMER_ENABLE_IT(__HANDLE__, __INTERRUPT__)
 Enable the RTC WakeUpTimer interrupt.
#define __HAL_RTC_WAKEUPTIMER_DISABLE_IT(__HANDLE__, __INTERRUPT__)
 Disable the RTC WakeUpTimer interrupt.
#define __HAL_RTC_WAKEUPTIMER_GET_IT(__HANDLE__, __INTERRUPT__)
 Check whether the specified RTC WakeUpTimer interrupt has occurred or not.
#define __HAL_RTC_WAKEUPTIMER_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__)
 Check whether the specified RTC Wake Up timer interrupt has been enabled or not.
#define __HAL_RTC_WAKEUPTIMER_GET_FLAG(__HANDLE__, __FLAG__)
 Get the selected RTC WakeUpTimer's flag status.
#define __HAL_RTC_WAKEUPTIMER_CLEAR_FLAG(__HANDLE__, __FLAG__)
 Clear the RTC Wake Up timer's pending flags.
#define __HAL_RTC_TAMPER1_ENABLE(__HANDLE__)
 Enable the RTC Tamper1 input detection.
#define __HAL_RTC_TAMPER1_DISABLE(__HANDLE__)
 Disable the RTC Tamper1 input detection.
#define __HAL_RTC_TAMPER3_ENABLE(__HANDLE__)
 Enable the RTC Tamper2 input detection.
#define __HAL_RTC_TAMPER3_DISABLE(__HANDLE__)
 Disable the RTC Tamper3 input detection.
#define __HAL_RTC_TAMPER_ENABLE_IT(__HANDLE__, __INTERRUPT__)
 Enable the RTC Tamper interrupt.
#define __HAL_RTC_TAMPER_DISABLE_IT(__HANDLE__, __INTERRUPT__)
 Disable the RTC Tamper interrupt.
#define __HAL_RTC_TAMPER_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__)
 Check whether the specified RTC Tamper interrupt has been enabled or not.
#define __HAL_RTC_TAMPER_GET_FLAG(__HANDLE__, __FLAG__)
 Get the selected RTC Tamper's flag status.
#define __HAL_RTC_TAMPER_CLEAR_FLAG(__HANDLE__, __FLAG__)
 Clear the RTC Tamper's pending flags.
#define __HAL_RTC_TAMPER_GET_SAMPLING_FREQ(__HANDLE__)
 Get the frequency at which each of the Tamper inputs are sampled.
#define __HAL_RTC_TAMPER_GET_SAMPLES_COUNT(__HANDLE__)
 Get the number of consecutive samples at the specified level needed to activate a Tamper event.
#define __HAL_RTC_TAMPER_GET_PRCHRG_DURATION(__HANDLE__)
 Get the pull-up resistors precharge duration.
#define __HAL_RTC_TAMPER_GET_PULLUP_STATUS(__HANDLE__)
 Get the pull-up resistors status.
#define __HAL_RTC_TIMESTAMP_ENABLE(__HANDLE__)
 Enable the RTC TimeStamp peripheral.
#define __HAL_RTC_TIMESTAMP_DISABLE(__HANDLE__)
 Disable the RTC TimeStamp peripheral.
#define __HAL_RTC_TIMESTAMP_ENABLE_IT(__HANDLE__, __INTERRUPT__)
 Enable the RTC TimeStamp interrupt.
#define __HAL_RTC_TIMESTAMP_DISABLE_IT(__HANDLE__, __INTERRUPT__)
 Disable the RTC TimeStamp interrupt.
#define __HAL_RTC_TIMESTAMP_GET_IT(__HANDLE__, __INTERRUPT__)
 Check whether the specified RTC TimeStamp interrupt has occurred or not.
#define __HAL_RTC_TIMESTAMP_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__)
 Check whether the specified RTC Time Stamp interrupt has been enabled or not.
#define __HAL_RTC_TIMESTAMP_GET_FLAG(__HANDLE__, __FLAG__)
 Get the selected RTC TimeStamp's flag status.
#define __HAL_RTC_TIMESTAMP_CLEAR_FLAG(__HANDLE__, __FLAG__)
 Clear the RTC Time Stamp's pending flags.
#define __HAL_RTC_INTERNAL_TIMESTAMP_ENABLE(__HANDLE__)
 Enable the RTC internal TimeStamp peripheral.
#define __HAL_RTC_INTERNAL_TIMESTAMP_DISABLE(__HANDLE__)
 Disable the RTC internal TimeStamp peripheral.
#define __HAL_RTC_INTERNAL_TIMESTAMP_GET_FLAG(__HANDLE__, __FLAG__)
 Get the selected RTC Internal Time Stamp's flag status.
#define __HAL_RTC_INTERNAL_TIMESTAMP_CLEAR_FLAG(__HANDLE__, __FLAG__)
 Clear the RTC Internal Time Stamp's pending flags.
#define __HAL_RTC_TAMPTS_ENABLE(__HANDLE__)
 Enable the RTC TimeStamp on Tamper detection.
#define __HAL_RTC_TAMPTS_DISABLE(__HANDLE__)
 Disable the RTC TimeStamp on Tamper detection.
#define __HAL_RTC_TAMPTS_GET_STATUS(__HANDLE__)
 Get activation status of the RTC TimeStamp on Tamper detection.
#define __HAL_RTC_CALIBRATION_OUTPUT_ENABLE(__HANDLE__)
 Enable the RTC calibration output.
#define __HAL_RTC_CALIBRATION_OUTPUT_DISABLE(__HANDLE__)
 Disable the calibration output.
#define __HAL_RTC_CLOCKREF_DETECTION_ENABLE(__HANDLE__)
 Enable the clock reference detection.
#define __HAL_RTC_CLOCKREF_DETECTION_DISABLE(__HANDLE__)
 Disable the clock reference detection.
#define __HAL_RTC_SHIFT_GET_FLAG(__HANDLE__, __FLAG__)
 Get the selected RTC shift operation's flag status.
#define __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_IT()
 Enable interrupt on the RTC WakeUp Timer associated Exti line.
#define __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_IT()
 Disable interrupt on the RTC WakeUp Timer associated Exti line.
#define __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_EVENT()
 Enable event on the RTC WakeUp Timer associated Exti line.
#define __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_EVENT()
 Disable event on the RTC WakeUp Timer associated Exti line.
#define __HAL_RTC_WAKEUPTIMER_EXTID3_ENABLE_EVENT()
 Enable event on the RTC WakeUp Timer associated D3 Exti line.
#define __HAL_RTC_WAKEUPTIMER_EXTID3_DISABLE_EVENT()
 Disable event on the RTC WakeUp Timer associated D3 Exti line.
#define __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_FALLING_EDGE()
 Enable falling edge trigger on the RTC WakeUp Timer associated Exti line.
#define __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_FALLING_EDGE()
 Disable falling edge trigger on the RTC WakeUp Timer associated Exti line.
#define __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_RISING_EDGE()
 Enable rising edge trigger on the RTC WakeUp Timer associated Exti line.
#define __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_RISING_EDGE()
 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()
 Check whether the RTC WakeUp Timer associated Exti line interrupt flag is set or not.
#define __HAL_RTC_WAKEUPTIMER_EXTI_CLEAR_FLAG()
 Clear the RTC WakeUp Timer associated Exti line flag.
#define __HAL_RTC_WAKEUPTIMER_EXTID3_GET_FLAG()
 Check whether the RTC WakeUp Timer associated D3 Exti line interrupt flag is set or not.
#define __HAL_RTC_WAKEUPTIMER_EXTID3_CLEAR_FLAG()
 Clear the RTC WakeUp Timer associated D3 Exti line flag.
#define __HAL_RTC_WAKEUPTIMER_EXTI_GENERATE_SWIT()
 Generate a Software interrupt on the RTC WakeUp Timer associated Exti line.
#define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_ENABLE_IT()
 Enable interrupt on the RTC Tamper and Timestamp associated Exti line.
#define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_DISABLE_IT()
 Disable interrupt on the RTC Tamper and Timestamp associated Exti line.
#define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_ENABLE_EVENT()
 Enable event on the RTC Tamper and Timestamp associated Exti line.
#define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_DISABLE_EVENT()
 Disable event on the RTC Tamper and Timestamp associated Exti line.
#define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_ENABLE_FALLING_EDGE()
 Enable falling edge trigger on the RTC Tamper and Timestamp associated Exti line.
#define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_DISABLE_FALLING_EDGE()
 Disable falling edge trigger on the RTC Tamper and Timestamp associated Exti line.
#define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_ENABLE_RISING_EDGE()
 Enable rising edge trigger on the RTC Tamper and Timestamp associated Exti line.
#define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_DISABLE_RISING_EDGE()
 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()
 Check whether the RTC Tamper and Timestamp associated Exti line interrupt flag is set or not.
#define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_CLEAR_FLAG()
 Clear the RTC Tamper and Timestamp associated Exti line flag.
#define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_GENERATE_SWIT()
 Generate a Software interrupt on the RTC Tamper and Timestamp associated Exti line.

Detailed Description

Macro Definition Documentation

◆ __HAL_RTC_CALIBRATION_OUTPUT_DISABLE

#define __HAL_RTC_CALIBRATION_OUTPUT_DISABLE ( __HANDLE__)
Value:
((__HANDLE__)->Instance->CR &= ~(RTC_CR_COE))
#define RTC_CR_COE

Disable the calibration output.

Parameters
__HANDLE__specifies the RTC handle.
Return values
None

Definition at line 1309 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_CALIBRATION_OUTPUT_ENABLE

#define __HAL_RTC_CALIBRATION_OUTPUT_ENABLE ( __HANDLE__)
Value:
((__HANDLE__)->Instance->CR |= (RTC_CR_COE))

Enable the RTC calibration output.

Parameters
__HANDLE__specifies the RTC handle.
Return values
None

Definition at line 1302 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_CLOCKREF_DETECTION_DISABLE

#define __HAL_RTC_CLOCKREF_DETECTION_DISABLE ( __HANDLE__)
Value:
((__HANDLE__)->Instance->CR &= ~(RTC_CR_REFCKON))
#define RTC_CR_REFCKON

Disable the clock reference detection.

Parameters
__HANDLE__specifies the RTC handle.
Return values
None

Definition at line 1323 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_CLOCKREF_DETECTION_ENABLE

#define __HAL_RTC_CLOCKREF_DETECTION_ENABLE ( __HANDLE__)
Value:
((__HANDLE__)->Instance->CR |= (RTC_CR_REFCKON))

Enable the clock reference detection.

Parameters
__HANDLE__specifies the RTC handle.
Return values
None

Definition at line 1316 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_INTERNAL_TIMESTAMP_CLEAR_FLAG

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

Clear the RTC Internal Time Stamp's pending flags.

Parameters
__HANDLE__specifies the RTC handle.
__FLAG__specifies the RTC Internal Time Stamp Flag source to clear. This parameter can be:
  • RTC_FLAG_ITSF
Note
This flag must be cleared together with TSF flag.
Return values
None

Definition at line 1238 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_INTERNAL_TIMESTAMP_DISABLE

#define __HAL_RTC_INTERNAL_TIMESTAMP_DISABLE ( __HANDLE__)
Value:
((__HANDLE__)->Instance->CR &= ~(RTC_CR_ITSE))
#define RTC_CR_ITSE

Disable the RTC internal TimeStamp peripheral.

Parameters
__HANDLE__specifies the RTC handle.
Return values
None

Definition at line 1210 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_INTERNAL_TIMESTAMP_ENABLE

#define __HAL_RTC_INTERNAL_TIMESTAMP_ENABLE ( __HANDLE__)
Value:
((__HANDLE__)->Instance->CR |= (RTC_CR_ITSE))

Enable the RTC internal TimeStamp peripheral.

Parameters
__HANDLE__specifies the RTC handle.
Return values
None

Definition at line 1203 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_INTERNAL_TIMESTAMP_GET_FLAG

#define __HAL_RTC_INTERNAL_TIMESTAMP_GET_FLAG ( __HANDLE__,
__FLAG__ )
Value:
(((((__HANDLE__)->Instance->ISR) & (__FLAG__)) != 0U) ? 1U : 0U)

Get the selected RTC Internal Time Stamp's flag status.

Parameters
__HANDLE__specifies the RTC handle.
__FLAG__specifies the RTC Internal Time Stamp Flag is pending or not. This parameter can be:
  • RTC_FLAG_ITSF
Return values
Flagstatus

Definition at line 1223 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_SHIFT_GET_FLAG

#define __HAL_RTC_SHIFT_GET_FLAG ( __HANDLE__,
__FLAG__ )
Value:
(((((__HANDLE__)->Instance->ISR) & (__FLAG__)) != 0U) ? 1U : 0U)

Get the selected RTC shift operation's flag status.

Parameters
__HANDLE__specifies the RTC handle.
__FLAG__specifies the RTC shift operation Flag is pending or not. This parameter can be:
  • RTC_FLAG_SHPF
Return values
Flagstatus

Definition at line 1336 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_TAMPER1_DISABLE

#define __HAL_RTC_TAMPER1_DISABLE ( __HANDLE__)
Value:
((__HANDLE__)->Instance->TAMPCR &= ~(RTC_TAMPCR_TAMP1E))
#define RTC_TAMPCR_TAMP1E

Disable the RTC Tamper1 input detection.

Parameters
__HANDLE__specifies the RTC handle.
Return values
None

Definition at line 902 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_TAMPER1_ENABLE

#define __HAL_RTC_TAMPER1_ENABLE ( __HANDLE__)
Value:
((__HANDLE__)->Instance->TAMPCR |= (RTC_TAMPCR_TAMP1E))

Enable the RTC Tamper1 input detection.

Parameters
__HANDLE__specifies the RTC handle.
Return values
None

Definition at line 891 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_TAMPER3_DISABLE

#define __HAL_RTC_TAMPER3_DISABLE ( __HANDLE__)
Value:
((__HANDLE__)->Instance->TAMPCR &= ~(RTC_TAMPCR_TAMP3E))
#define RTC_TAMPCR_TAMP3E

Disable the RTC Tamper3 input detection.

Parameters
__HANDLE__specifies the RTC handle.
Return values
None

Definition at line 950 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_TAMPER3_ENABLE

#define __HAL_RTC_TAMPER3_ENABLE ( __HANDLE__)
Value:
((__HANDLE__)->Instance->TAMPCR |= (RTC_TAMPCR_TAMP3E))

Enable the RTC Tamper2 input detection.

Parameters
__HANDLE__specifies the RTC handle.
Return values
None

Disable the RTC Tamper2 input detection.

Parameters
__HANDLE__specifies the RTC handle.
Return values
None

Enable the RTC Tamper3 input detection.

Parameters
__HANDLE__specifies the RTC handle.
Return values
None

Definition at line 939 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_TAMPER_CLEAR_FLAG

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

Clear the RTC Tamper's pending flags.

Parameters
__HANDLE__specifies the RTC handle.
__FLAG__specifies the RTC Tamper Flag to clear. This parameter can be:
  • RTC_FLAG_TAMP1F: Tamper1 flag
  • RTC_FLAG_TAMP2F: Tamper2 flag (*)
  • RTC_FLAG_TAMP3F: Tamper3 flag (*) Not applicable to all devices.
Return values
None

Definition at line 1038 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_TAMPER_DISABLE_IT

#define __HAL_RTC_TAMPER_DISABLE_IT ( __HANDLE__,
__INTERRUPT__ )
Value:
((__HANDLE__)->Instance->TAMPCR &= ~(__INTERRUPT__))

Disable the RTC Tamper interrupt.

Parameters
__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:
  • RTC_IT_TAMP: All tampers interrupts
  • RTC_IT_TAMP1: Tamper1 interrupt
  • RTC_IT_TAMP2: Tamper2 interrupt (*)
  • RTC_IT_TAMP3: Tamper3 interrupt (*) Not applicable to all devices.
Return values
None

Definition at line 986 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_TAMPER_ENABLE_IT

#define __HAL_RTC_TAMPER_ENABLE_IT ( __HANDLE__,
__INTERRUPT__ )
Value:
((__HANDLE__)->Instance->TAMPCR |= (__INTERRUPT__))

Enable the RTC Tamper interrupt.

Parameters
__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:
  • RTC_IT_TAMPALL: All tampers interrupts
  • RTC_IT_TAMP1: Tamper1 interrupt
  • RTC_IT_TAMP2: Tamper2 interrupt (*)
  • RTC_IT_TAMP3: Tamper3 interrupt (*) Not applicable to all devices.
Return values
None

Definition at line 968 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_TAMPER_GET_FLAG

#define __HAL_RTC_TAMPER_GET_FLAG ( __HANDLE__,
__FLAG__ )
Value:
(((((__HANDLE__)->Instance->ISR) & (__FLAG__)) != 0U) ? 1U : 0U)

Get the selected RTC Tamper's flag status.

Parameters
__HANDLE__specifies the RTC handle.
__FLAG__specifies the RTC Tamper Flag is pending or not. This parameter can be:
  • RTC_FLAG_TAMP1F: Tamper1 flag
  • RTC_FLAG_TAMP2F: Tamper2 flag (*)
  • RTC_FLAG_TAMP3F: Tamper3 flag (*) Not applicable to all devices.
Return values
Flagstatus

Definition at line 1021 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_TAMPER_GET_IT_SOURCE

#define __HAL_RTC_TAMPER_GET_IT_SOURCE ( __HANDLE__,
__INTERRUPT__ )
Value:
(((((__HANDLE__)->Instance->TAMPCR) & (__INTERRUPT__)) != 0U) ? 1U : 0U)

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

Parameters
__HANDLE__specifies the RTC handle.
__INTERRUPT__specifies the RTC Tamper interrupt source to check. This parameter can be:
  • RTC_IT_TAMPALL: All tampers interrupts
  • RTC_IT_TAMP1: Tamper1 interrupt
  • RTC_IT_TAMP2: Tamper2 interrupt (*)
  • RTC_IT_TAMP3: Tamper3 interrupt (*) Not applicable to all devices.
Return values
Flagstatus

Definition at line 1004 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_TAMPER_GET_PRCHRG_DURATION

#define __HAL_RTC_TAMPER_GET_PRCHRG_DURATION ( __HANDLE__)
Value:
((uint32_t)(((__HANDLE__)->Instance->TAMPCR) & (RTC_TAMPERPRECHARGEDURATION_MASK)))
#define RTC_TAMPERPRECHARGEDURATION_MASK
Masking all bits except those of field TAMPPRCH[1:0].

Get the pull-up resistors precharge duration.

Parameters
__HANDLE__specifies the RTC handle.
Return values
Numberof consecutive samples This value can be:
  • RTC_TAMPERPRECHARGEDURATION_1RTCCLK
  • RTC_TAMPERPRECHARGEDURATION_2RTCCLK
  • RTC_TAMPERPRECHARGEDURATION_4RTCCLK
  • RTC_TAMPERPRECHARGEDURATION_8RTCCLK

Definition at line 1090 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_TAMPER_GET_PULLUP_STATUS

#define __HAL_RTC_TAMPER_GET_PULLUP_STATUS ( __HANDLE__)
Value:
((uint32_t)(((__HANDLE__)->Instance->TAMPCR) & (RTC_TAMPER_PULLUP_MASK)))
#define RTC_TAMPER_PULLUP_MASK
Maskin all bits except bit TAMPPUDIS.

Get the pull-up resistors status.

Parameters
__HANDLE__specifies the RTC handle.
Return values
Pull-upresistors status This value can be:
  • RTC_TAMPER_PULLUP_ENABLE
  • RTC_TAMPER_PULLUP_DISABLE

Definition at line 1104 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_TAMPER_GET_SAMPLES_COUNT

#define __HAL_RTC_TAMPER_GET_SAMPLES_COUNT ( __HANDLE__)
Value:
((uint32_t)(((__HANDLE__)->Instance->TAMPCR) & (RTC_TAMPERFILTER_MASK)))
#define RTC_TAMPERFILTER_MASK
Masking all bits except those of field TAMPFLT[1:0].

Get the number of consecutive samples at the specified level needed to activate a Tamper event.

Parameters
__HANDLE__specifies the RTC handle.
Return values
Numberof consecutive samples This value can be:
  • RTC_TAMPERFILTER_DISABLE
  • RTC_TAMPERFILTER_2SAMPLE
  • RTC_TAMPERFILTER_4SAMPLE
  • RTC_TAMPERFILTER_8SAMPLE

Definition at line 1074 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_TAMPER_GET_SAMPLING_FREQ

#define __HAL_RTC_TAMPER_GET_SAMPLING_FREQ ( __HANDLE__)
Value:
((uint32_t)(((__HANDLE__)->Instance->TAMPCR) & (RTC_TAMPERSAMPLINGFREQ_RTCCLK_MASK)))
#define RTC_TAMPERSAMPLINGFREQ_RTCCLK_MASK
Masking all bits except those of field TAMPFREQ[2:0].

Get the frequency at which each of the Tamper inputs are sampled.

Parameters
__HANDLE__specifies the RTC handle.
Return values
Samplingfrequency This value can be:
  • RTC_TAMPERSAMPLINGFREQ_RTCCLK_DIV32768
  • RTC_TAMPERSAMPLINGFREQ_RTCCLK_DIV16384
  • RTC_TAMPERSAMPLINGFREQ_RTCCLK_DIV8192
  • RTC_TAMPERSAMPLINGFREQ_RTCCLK_DIV4096
  • RTC_TAMPERSAMPLINGFREQ_RTCCLK_DIV2048
  • RTC_TAMPERSAMPLINGFREQ_RTCCLK_DIV512
  • RTC_TAMPERSAMPLINGFREQ_RTCCLK_DIV256

Definition at line 1057 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_TAMPER_TIMESTAMP_EXTI_CLEAR_FLAG

#define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_CLEAR_FLAG ( )
Value:
#define EXTI
#define RTC_EXTI_LINE_TAMPER_TIMESTAMP_EVENT
External interrupt line 18 Connected to the RTC Tamper and Time Stamp events.

Clear the RTC Tamper and Timestamp associated Exti line flag.

Return values
None

Definition at line 1650 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_TAMPER_TIMESTAMP_EXTI_DISABLE_EVENT

#define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_DISABLE_EVENT ( )
Value:

Disable event on the RTC Tamper and Timestamp associated Exti line.

Return values
None

Definition at line 1559 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_TAMPER_TIMESTAMP_EXTI_DISABLE_FALLING_EDGE

#define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_DISABLE_FALLING_EDGE ( )
Value:

Disable falling edge trigger on the RTC Tamper and Timestamp associated Exti line.

Return values
None

Definition at line 1601 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_TAMPER_TIMESTAMP_EXTI_DISABLE_IT

#define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_DISABLE_IT ( )
Value:

Disable interrupt on the RTC Tamper and Timestamp associated Exti line.

Return values
None

Definition at line 1539 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_TAMPER_TIMESTAMP_EXTI_DISABLE_RISING_EDGE

#define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_DISABLE_RISING_EDGE ( )
Value:

Disable rising edge trigger on the RTC Tamper and Timestamp associated Exti line.

Return values
None

Definition at line 1613 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_TAMPER_TIMESTAMP_EXTI_DISABLE_RISING_FALLING_EDGE

#define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_DISABLE_RISING_FALLING_EDGE ( )
Value:
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.

Return values
None

Definition at line 1628 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_TAMPER_TIMESTAMP_EXTI_ENABLE_EVENT

#define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_ENABLE_EVENT ( )
Value:

Enable event on the RTC Tamper and Timestamp associated Exti line.

Return values
None

Definition at line 1549 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_TAMPER_TIMESTAMP_EXTI_ENABLE_FALLING_EDGE

#define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_ENABLE_FALLING_EDGE ( )
Value:

Enable falling edge trigger on the RTC Tamper and Timestamp associated Exti line.

Return values
None

Definition at line 1595 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_TAMPER_TIMESTAMP_EXTI_ENABLE_IT

#define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_ENABLE_IT ( )
Value:

Enable interrupt on the RTC Tamper and Timestamp associated Exti line.

Return values
None

Definition at line 1529 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_TAMPER_TIMESTAMP_EXTI_ENABLE_RISING_EDGE

#define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_ENABLE_RISING_EDGE ( )
Value:

Enable rising edge trigger on the RTC Tamper and Timestamp associated Exti line.

Return values
None

Definition at line 1607 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_TAMPER_TIMESTAMP_EXTI_ENABLE_RISING_FALLING_EDGE

#define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_ENABLE_RISING_FALLING_EDGE ( )
Value:
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.

Return values
None

Definition at line 1619 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_TAMPER_TIMESTAMP_EXTI_GENERATE_SWIT

#define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_GENERATE_SWIT ( )
Value:

Generate a Software interrupt on the RTC Tamper and Timestamp associated Exti line.

Return values
None

Definition at line 1672 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_TAMPER_TIMESTAMP_EXTI_GET_FLAG

#define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_GET_FLAG ( )
Value:

Check whether the RTC Tamper and Timestamp associated Exti line interrupt flag is set or not.

Return values
LineStatus

Definition at line 1640 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_TAMPTS_DISABLE

#define __HAL_RTC_TAMPTS_DISABLE ( __HANDLE__)
Value:
((__HANDLE__)->Instance->TAMPCR &= ~(RTC_TIMESTAMPONTAMPERDETECTION_MASK))
#define RTC_TIMESTAMPONTAMPERDETECTION_MASK
Masking all bits except bit TAMPTS.

Disable the RTC TimeStamp on Tamper detection.

Parameters
__HANDLE__specifies the RTC handle.
Return values
None

Definition at line 1260 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_TAMPTS_ENABLE

#define __HAL_RTC_TAMPTS_ENABLE ( __HANDLE__)
Value:
((__HANDLE__)->Instance->TAMPCR |= (RTC_TIMESTAMPONTAMPERDETECTION_MASK))

Enable the RTC TimeStamp on Tamper detection.

Parameters
__HANDLE__specifies the RTC handle.
Return values
None

Definition at line 1249 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_TAMPTS_GET_STATUS

#define __HAL_RTC_TAMPTS_GET_STATUS ( __HANDLE__)
Value:
((__HANDLE__)->Instance->TAMPCR &= RTC_TIMESTAMPONTAMPERDETECTION_MASK)

Get activation status of the RTC TimeStamp on Tamper detection.

Parameters
__HANDLE__specifies the RTC handle.
Return values
Activationstatus of TimeStamp on Tamper detection This value can be:
  • RTC_TIMESTAMPONTAMPERDETECTION_ENABLE
  • RTC_TIMESTAMPONTAMPERDETECTION_DISABLE

Definition at line 1274 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_TIMESTAMP_CLEAR_FLAG

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

Clear the RTC Time Stamp's pending flags.

Parameters
__HANDLE__specifies the RTC handle.
__FLAG__specifies the RTC Alarm Flag sources to clear. This parameter can be:
  • RTC_FLAG_TSF
  • RTC_FLAG_TSOVF
Return values
None

Definition at line 1195 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_TIMESTAMP_DISABLE

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

Disable the RTC TimeStamp peripheral.

Parameters
__HANDLE__specifies the RTC handle.
Return values
None

Definition at line 1123 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_TIMESTAMP_DISABLE_IT

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

Disable the RTC TimeStamp interrupt.

Parameters
__HANDLE__specifies the RTC handle.
__INTERRUPT__specifies the RTC TimeStamp interrupt source to be disabled. This parameter can be:
Return values
None

Definition at line 1143 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_TIMESTAMP_ENABLE

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

Enable the RTC TimeStamp peripheral.

Parameters
__HANDLE__specifies the RTC handle.
Return values
None

Definition at line 1116 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_TIMESTAMP_ENABLE_IT

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

Enable the RTC TimeStamp interrupt.

Parameters
__HANDLE__specifies the RTC handle.
__INTERRUPT__specifies the RTC TimeStamp interrupt source to be enabled. This parameter can be:
Return values
None

Definition at line 1133 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_TIMESTAMP_GET_FLAG

#define __HAL_RTC_TIMESTAMP_GET_FLAG ( __HANDLE__,
__FLAG__ )
Value:
(((((__HANDLE__)->Instance->ISR) & (__FLAG__)) != 0U) ? 1U : 0U)

Get the selected RTC TimeStamp's flag status.

Parameters
__HANDLE__specifies the RTC handle.
__FLAG__specifies the RTC TimeStamp Flag is pending or not. This parameter can be:
  • RTC_FLAG_TSF
  • RTC_FLAG_TSOVF
Return values
Flagstatus

Definition at line 1180 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_TIMESTAMP_GET_IT

#define __HAL_RTC_TIMESTAMP_GET_IT ( __HANDLE__,
__INTERRUPT__ )
Value:
(((((__HANDLE__)->Instance->ISR) & (__INTERRUPT__)) != 0U) ? 1U : 0U)

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

Parameters
__HANDLE__specifies the RTC handle.
__INTERRUPT__specifies the RTC TimeStamp interrupt source to check. This parameter can be:
Return values
None

Definition at line 1156 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_TIMESTAMP_GET_IT_SOURCE

#define __HAL_RTC_TIMESTAMP_GET_IT_SOURCE ( __HANDLE__,
__INTERRUPT__ )
Value:
(((((__HANDLE__)->Instance->CR) & (__INTERRUPT__)) != 0U) ? 1U : 0U)

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

Parameters
__HANDLE__specifies the RTC handle.
__INTERRUPT__specifies the RTC Time Stamp interrupt source to check. This parameter can be:
Return values
None

Definition at line 1166 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_WAKEUPTIMER_CLEAR_FLAG

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

Clear the RTC Wake Up timer's pending flags.

Parameters
__HANDLE__specifies the RTC handle.
__FLAG__specifies the RTC WakeUpTimer Flag to clear. This parameter can be:
Return values
None

Definition at line 876 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_WAKEUPTIMER_DISABLE

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

Disable the RTC WakeUp Timer peripheral.

Parameters
__HANDLE__specifies the RTC handle.
Return values
None

Definition at line 796 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_WAKEUPTIMER_DISABLE_IT

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

Disable the RTC WakeUpTimer interrupt.

Parameters
__HANDLE__specifies the RTC handle.
__INTERRUPT__specifies the RTC WakeUpTimer interrupt sources to be disabled. This parameter can be:
Return values
None

Definition at line 816 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_WAKEUPTIMER_ENABLE

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

Enable the RTC WakeUp Timer peripheral.

Parameters
__HANDLE__specifies the RTC handle.
Return values
None

Definition at line 789 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_WAKEUPTIMER_ENABLE_IT

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

Enable the RTC WakeUpTimer interrupt.

Parameters
__HANDLE__specifies the RTC handle.
__INTERRUPT__specifies the RTC WakeUpTimer interrupt sources to be enabled. This parameter can be:
Return values
None

Definition at line 806 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_WAKEUPTIMER_EXTI_CLEAR_FLAG

#define __HAL_RTC_WAKEUPTIMER_EXTI_CLEAR_FLAG ( )
Value:
#define RTC_EXTI_LINE_WAKEUPTIMER_EVENT
External interrupt line 19 Connected to the RTC Wakeup event.

Clear the RTC WakeUp Timer associated Exti line flag.

Return values
None

Definition at line 1481 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_EVENT

#define __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_EVENT ( )
Value:

Disable event on the RTC WakeUp Timer associated Exti line.

Return values
None

Definition at line 1379 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_FALLING_EDGE

#define __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_FALLING_EDGE ( )
Value:

Disable falling edge trigger on the RTC WakeUp Timer associated Exti line.

Return values
None

Definition at line 1431 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_IT

#define __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_IT ( )
Value:

Disable interrupt on the RTC WakeUp Timer associated Exti line.

Return values
None

Definition at line 1359 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_RISING_EDGE

#define __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_RISING_EDGE ( )
Value:

Disable rising edge trigger on the RTC WakeUp Timer associated Exti line.

Return values
None

Definition at line 1443 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_RISING_FALLING_EDGE

#define __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_RISING_FALLING_EDGE ( )
Value:
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:

Return values
None

Definition at line 1459 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_EVENT

#define __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_EVENT ( )
Value:

Enable event on the RTC WakeUp Timer associated Exti line.

Return values
None

Definition at line 1369 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_FALLING_EDGE

#define __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_FALLING_EDGE ( )
Value:

Enable falling edge trigger on the RTC WakeUp Timer associated Exti line.

Return values
None

Definition at line 1425 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_IT

#define __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_IT ( )
Value:

Enable interrupt on the RTC WakeUp Timer associated Exti line.

Return values
None

Definition at line 1350 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_RISING_EDGE

#define __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_RISING_EDGE ( )
Value:

Enable rising edge trigger on the RTC WakeUp Timer associated Exti line.

Return values
None

Definition at line 1437 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_RISING_FALLING_EDGE

#define __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_RISING_FALLING_EDGE ( )
Value:
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.

Return values
None

Definition at line 1449 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_WAKEUPTIMER_EXTI_GENERATE_SWIT

#define __HAL_RTC_WAKEUPTIMER_EXTI_GENERATE_SWIT ( )
Value:

Generate a Software interrupt on the RTC WakeUp Timer associated Exti line.

Return values
None.

Definition at line 1500 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_WAKEUPTIMER_EXTI_GET_FLAG

#define __HAL_RTC_WAKEUPTIMER_EXTI_GET_FLAG ( )
Value:

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

Return values
LineStatus.

Definition at line 1471 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_WAKEUPTIMER_EXTID3_CLEAR_FLAG

#define __HAL_RTC_WAKEUPTIMER_EXTID3_CLEAR_FLAG ( )
Value:

Clear the RTC WakeUp Timer associated D3 Exti line flag.

Return values
None.

Definition at line 1494 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_WAKEUPTIMER_EXTID3_DISABLE_EVENT

#define __HAL_RTC_WAKEUPTIMER_EXTID3_DISABLE_EVENT ( )
Value:

Disable event on the RTC WakeUp Timer associated D3 Exti line.

Return values
None

Definition at line 1392 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_WAKEUPTIMER_EXTID3_ENABLE_EVENT

#define __HAL_RTC_WAKEUPTIMER_EXTID3_ENABLE_EVENT ( )
Value:

Enable event on the RTC WakeUp Timer associated D3 Exti line.

Return values
None

Definition at line 1386 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_WAKEUPTIMER_EXTID3_GET_FLAG

#define __HAL_RTC_WAKEUPTIMER_EXTID3_GET_FLAG ( )
Value:

Check whether the RTC WakeUp Timer associated D3 Exti line interrupt flag is set or not.

Return values
LineStatus

Definition at line 1488 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_WAKEUPTIMER_GET_FLAG

#define __HAL_RTC_WAKEUPTIMER_GET_FLAG ( __HANDLE__,
__FLAG__ )
Value:
(((((__HANDLE__)->Instance->ISR) & (__FLAG__)) != 0U) ? 1U : 0U)

Get the selected RTC WakeUpTimer's flag status.

Parameters
__HANDLE__specifies the RTC handle.
__FLAG__specifies the RTC WakeUpTimer Flag sources to check. This parameter can be:
Return values
Flagstatus

Definition at line 862 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_WAKEUPTIMER_GET_IT

#define __HAL_RTC_WAKEUPTIMER_GET_IT ( __HANDLE__,
__INTERRUPT__ )
Value:
(((((__HANDLE__)->Instance->ISR) & (__INTERRUPT__)) != 0U) ? 1U : 0U)

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

Parameters
__HANDLE__specifies the RTC handle.
__INTERRUPT__specifies the RTC WakeUpTimer interrupt sources to check. This parameter can be:
  • RTC_FLAG_WUTF WakeUpTimer interrupt flag
Return values
None

Definition at line 829 of file stm32h7xx_hal_rtc_ex.h.

◆ __HAL_RTC_WAKEUPTIMER_GET_IT_SOURCE

#define __HAL_RTC_WAKEUPTIMER_GET_IT_SOURCE ( __HANDLE__,
__INTERRUPT__ )
Value:
(((((__HANDLE__)->Instance->CR) & (__INTERRUPT__)) != 0U) ? 1U : 0U)

Check whether the specified RTC Wake Up timer interrupt has been enabled or not.

Parameters
__HANDLE__specifies the RTC handle.
__INTERRUPT__specifies the RTC Wake Up timer interrupt sources to check. This parameter can be:
Return values
None

Definition at line 840 of file stm32h7xx_hal_rtc_ex.h.