STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
stm32h7xx_hal_rtc_ex.h File Reference

Header file of RTC HAL Extension module. More...

Include dependency graph for stm32h7xx_hal_rtc_ex.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  RTC_TamperTypeDef

Macros

#define BKP_REG_NUMBER   RTC_BKP_NUMBER
#define RTC_BKP_DR0   0x00u
#define RTC_BKP_DR1   0x01u
#define RTC_BKP_DR2   0x02u
#define RTC_BKP_DR3   0x03u
#define RTC_BKP_DR4   0x04u
#define RTC_BKP_DR5   0x05u
#define RTC_BKP_DR6   0x06u
#define RTC_BKP_DR7   0x07u
#define RTC_BKP_DR8   0x08u
#define RTC_BKP_DR9   0x09u
#define RTC_BKP_DR10   0x0Au
#define RTC_BKP_DR11   0x0Bu
#define RTC_BKP_DR12   0x0Cu
#define RTC_BKP_DR13   0x0Du
#define RTC_BKP_DR14   0x0Eu
#define RTC_BKP_DR15   0x0Fu
#define RTC_BKP_DR16   0x10u
#define RTC_BKP_DR17   0x11u
#define RTC_BKP_DR18   0x12u
#define RTC_BKP_DR19   0x13u
#define RTC_BKP_DR20   0x14u
#define RTC_BKP_DR21   0x15u
#define RTC_BKP_DR22   0x16u
#define RTC_BKP_DR23   0x17u
#define RTC_BKP_DR24   0x18u
#define RTC_BKP_DR25   0x19u
#define RTC_BKP_DR26   0x1Au
#define RTC_BKP_DR27   0x1Bu
#define RTC_BKP_DR28   0x1Cu
#define RTC_BKP_DR29   0x1Du
#define RTC_BKP_DR30   0x1Eu
#define RTC_BKP_DR31   0x1Fu
#define RTC_TIMESTAMPEDGE_RISING   0x00000000u
#define RTC_TIMESTAMPEDGE_FALLING   RTC_CR_TSEDGE
#define RTC_TIMESTAMPPIN_DEFAULT   0x00000000u
#define RTC_TAMPER_1   RTC_TAMPCR_TAMP1E
#define RTC_TAMPER_3   RTC_TAMPCR_TAMP3E
#define RTC_TAMPER_ALL   (RTC_TAMPER_1 | RTC_TAMPER_3)
#define RTC_IT_TAMP1   RTC_TAFCR_TAMPIE
 Enable Tamper Interrupt.
#define RTC_IT_TAMP   RTC_TAMPCR_TAMPIE
 Enable all Tamper Interrupts.
#define RTC_IT_TAMPALL   RTC_IT_TAMP
#define RTC_TAMPERTRIGGER_RISINGEDGE   0x01u
 Warning : Filter must be RTC_TAMPERFILTER_DISABLE.
#define RTC_TAMPERTRIGGER_FALLINGEDGE   0x02u
 Warning : Filter must be RTC_TAMPERFILTER_DISABLE.
#define RTC_TAMPERTRIGGER_LOWLEVEL   0x04u
 Warning : Filter must not be RTC_TAMPERFILTER_DISABLE.
#define RTC_TAMPERTRIGGER_HIGHLEVEL   0x08u
 Warning : Filter must not be RTC_TAMPERFILTER_DISABLE.
#define RTC_TAMPER_1_TRIGGER   RTC_TAMPCR_TAMP1TRG
#define RTC_TAMPER_3_TRIGGER   RTC_TAMPCR_TAMP3TRG
#define RTC_TAMPER_X_TRIGGER
#define RTC_TAMPER_ERASE_BACKUP_ENABLE   0x00u
 < These values are not applicable to the STM32H723/33, STM32H725/35 and STM32H730 devices, and have been kept for backward compatibility
#define RTC_TAMPER_ERASE_BACKUP_DISABLE   0x01u
#define RTC_TAMPERMASK_FLAG_DISABLE   0x00u
 < These values are not applicable to the STM32H723/33, STM32H725/35 and STM32H730 devices, and have been kept for backward compatibility
#define RTC_TAMPERMASK_FLAG_ENABLE   0x01u
#define RTC_TAMPERFILTER_DISABLE   0x00000000u
 Tamper filter is disabled.
#define RTC_TAMPERFILTER_2SAMPLE   RTC_TAMPCR_TAMPFLT_0
 Tamper is activated after 2 consecutive samples at the active level.
#define RTC_TAMPERFILTER_4SAMPLE   RTC_TAMPCR_TAMPFLT_1
 Tamper is activated after 4 consecutive samples at the active level.
#define RTC_TAMPERFILTER_8SAMPLE   RTC_TAMPCR_TAMPFLT
 Tamper is activated after 8 consecutive samples at the active level.
#define RTC_TAMPERFILTER_MASK   RTC_TAMPCR_TAMPFLT
 Masking all bits except those of field TAMPFLT[1:0].
#define RTC_TAMPERSAMPLINGFREQ_RTCCLK_DIV32768   0x00000000u
 Each of the tamper inputs are sampled with a frequency = RTCCLK / 32768.
#define RTC_TAMPERSAMPLINGFREQ_RTCCLK_DIV16384   RTC_TAMPCR_TAMPFREQ_0
 Each of the tamper inputs are sampled with a frequency = RTCCLK / 16384.
#define RTC_TAMPERSAMPLINGFREQ_RTCCLK_DIV8192   RTC_TAMPCR_TAMPFREQ_1
 Each of the tamper inputs are sampled with a frequency = RTCCLK / 8192.
#define RTC_TAMPERSAMPLINGFREQ_RTCCLK_DIV4096   (RTC_TAMPCR_TAMPFREQ_0 | RTC_TAMPCR_TAMPFREQ_1)
 Each of the tamper inputs are sampled with a frequency = RTCCLK / 4096.
#define RTC_TAMPERSAMPLINGFREQ_RTCCLK_DIV2048   RTC_TAMPCR_TAMPFREQ_2
 Each of the tamper inputs are sampled with a frequency = RTCCLK / 2048.
#define RTC_TAMPERSAMPLINGFREQ_RTCCLK_DIV1024   (RTC_TAMPCR_TAMPFREQ_0 | RTC_TAMPCR_TAMPFREQ_2)
 Each of the tamper inputs are sampled with a frequency = RTCCLK / 1024.
#define RTC_TAMPERSAMPLINGFREQ_RTCCLK_DIV512   (RTC_TAMPCR_TAMPFREQ_1 | RTC_TAMPCR_TAMPFREQ_2)
 Each of the tamper inputs are sampled with a frequency = RTCCLK / 512.
#define RTC_TAMPERSAMPLINGFREQ_RTCCLK_DIV256   RTC_TAMPCR_TAMPFREQ
 Each of the tamper inputs are sampled with a frequency = RTCCLK / 256.
#define RTC_TAMPERSAMPLINGFREQ_RTCCLK_MASK   RTC_TAMPCR_TAMPFREQ
 Masking all bits except those of field TAMPFREQ[2:0].
#define RTC_TAMPERPRECHARGEDURATION_1RTCCLK   0x00000000u
 Tamper pins are pre-charged before sampling during 1 RTCCLK cycle.
#define RTC_TAMPERPRECHARGEDURATION_2RTCCLK   RTC_TAMPCR_TAMPPRCH_0
 Tamper pins are pre-charged before sampling during 2 RTCCLK cycles.
#define RTC_TAMPERPRECHARGEDURATION_4RTCCLK   RTC_TAMPCR_TAMPPRCH_1
 Tamper pins are pre-charged before sampling during 4 RTCCLK cycles.
#define RTC_TAMPERPRECHARGEDURATION_8RTCCLK   RTC_TAMPCR_TAMPPRCH
 Tamper pins are pre-charged before sampling during 8 RTCCLK cycles.
#define RTC_TAMPERPRECHARGEDURATION_MASK   RTC_TAMPCR_TAMPPRCH
 Masking all bits except those of field TAMPPRCH[1:0].
#define RTC_TIMESTAMPONTAMPERDETECTION_DISABLE   0x00000000u
 TimeStamp on Tamper Detection event is not saved.
#define RTC_TIMESTAMPONTAMPERDETECTION_ENABLE   RTC_TAMPCR_TAMPTS
 TimeStamp on Tamper Detection event saved.
#define RTC_TIMESTAMPONTAMPERDETECTION_MASK   RTC_TAMPCR_TAMPTS
 Masking all bits except bit TAMPTS.
#define RTC_TAMPER_PULLUP_ENABLE   0x00000000u
 TimeStamp on Tamper Detection event saved.
#define RTC_TAMPER_PULLUP_DISABLE   RTC_TAMPCR_TAMPPUDIS
 TimeStamp on Tamper Detection event is not saved.
#define RTC_TAMPER_PULLUP_MASK   RTC_TAMPCR_TAMPPUDIS
 Maskin all bits except bit TAMPPUDIS.
#define RTC_FLAG_TAMP1F   RTC_ISR_TAMP1F
#define RTC_FLAG_TAMP3F   RTC_ISR_TAMP3F
#define RTC_ATAMP_ENABLE   1u
#define RTC_ATAMP_DISABLE   0u
#define RTC_ATAMP_INTERRUPT_ENABLE   1u
#define RTC_ATAMP_INTERRUPT_DISABLE   0u
#define RTC_ATAMP_FILTER_ENABLE   TAMP_ATCR1_FLTEN
#define RTC_ATAMP_FILTER_DISABLE   0u
#define RTC_ATAMP_ASYNCPRES_RTCCLK   0u
 RTCCLK.
#define RTC_ATAMP_ASYNCPRES_RTCCLK_2   TAMP_ATCR1_ATCKSEL_0
 RTCCLK/2.
#define RTC_ATAMP_ASYNCPRES_RTCCLK_4   TAMP_ATCR1_ATCKSEL_1
 RTCCLK/4.
#define RTC_ATAMP_ASYNCPRES_RTCCLK_8   (TAMP_ATCR1_ATCKSEL_1 | TAMP_ATCR1_ATCKSEL_0)
 RTCCLK/8.
#define RTC_ATAMP_ASYNCPRES_RTCCLK_16   TAMP_ATCR1_ATCKSEL_2
 RTCCLK/16.
#define RTC_ATAMP_ASYNCPRES_RTCCLK_32   (TAMP_ATCR1_ATCKSEL_2 | TAMP_ATCR1_ATCKSEL_0)
 RTCCLK/32.
#define RTC_ATAMP_ASYNCPRES_RTCCLK_64   (TAMP_ATCR1_ATCKSEL_2 | TAMP_ATCR1_ATCKSEL_1)
 RTCCLK/64.
#define RTC_ATAMP_ASYNCPRES_RTCCLK_128   (TAMP_ATCR1_ATCKSEL_2 | TAMP_ATCR1_ATCKSEL_1 | TAMP_ATCR1_ATCKSEL_0)
 RTCCLK/128.
#define RTC_ATAMP_1   0u
 Tamper 1.
#define RTC_ATAMP_2   1u
 Tamper 2.
#define RTC_ATAMP_3   2u
 Tamper 3.
#define RTC_ATAMP_4   3u
 Tamper 4.
#define RTC_ATAMP_5   4u
 Tamper 5.
#define RTC_ATAMP_6   5u
 Tamper 6.
#define RTC_ATAMP_7   6u
 Tamper 7.
#define RTC_ATAMP_8   7u
 Tamper 8.
#define RTC_MONOTONIC_COUNTER_1   0u
 Monotonic counter 1.
#define RTC_WAKEUPCLOCK_RTCCLK_DIV16   0x00000000u
#define RTC_WAKEUPCLOCK_RTCCLK_DIV8   RTC_CR_WUCKSEL_0
#define RTC_WAKEUPCLOCK_RTCCLK_DIV4   RTC_CR_WUCKSEL_1
#define RTC_WAKEUPCLOCK_RTCCLK_DIV2   (RTC_CR_WUCKSEL_0 | RTC_CR_WUCKSEL_1)
#define RTC_WAKEUPCLOCK_CK_SPRE_16BITS   RTC_CR_WUCKSEL_2
#define RTC_WAKEUPCLOCK_CK_SPRE_17BITS   (RTC_CR_WUCKSEL_1 | RTC_CR_WUCKSEL_2)
#define RTC_SMOOTHCALIB_PERIOD_32SEC   0x00000000u
 If RTCCLK = 32768 Hz, Smooth calibration period is 32s, else 2exp20 RTCCLK pulses.
#define RTC_SMOOTHCALIB_PERIOD_16SEC   RTC_CALR_CALW16
 If RTCCLK = 32768 Hz, Smooth calibration period is 16s, else 2exp19 RTCCLK pulses.
#define RTC_SMOOTHCALIB_PERIOD_8SEC   RTC_CALR_CALW8
 If RTCCLK = 32768 Hz, Smooth calibration period is 8s, else 2exp18 RTCCLK pulses.
#define RTC_SMOOTHCALIB_PLUSPULSES_SET   RTC_CALR_CALP
 The number of RTCCLK pulses added during a X -second window = Y - CALM[8:0] with Y = 512, 256, 128 when X = 32, 16, 8.
#define RTC_SMOOTHCALIB_PLUSPULSES_RESET   0x00000000u
 The number of RTCCLK pulses subbstited during a 32-second window = CALM[8:0].
#define RTC_CALIBOUTPUT_512HZ   0x00000000u
#define RTC_CALIBOUTPUT_1HZ   RTC_CR_COSEL
#define RTC_SHIFTADD1S_RESET   0x00000000u
#define RTC_SHIFTADD1S_SET   RTC_SHIFTR_ADD1S
#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.
#define RTC_EXTI_LINE_TAMPER_TIMESTAMP_EVENT   EXTI_IMR1_IM18
 External interrupt line 18 Connected to the RTC Tamper and Time Stamp events.
#define RTC_EXTI_LINE_WAKEUPTIMER_EVENT   EXTI_IMR1_IM19
 External interrupt line 19 Connected to the RTC Wakeup event.
#define RTC_TAMPER_X   ((uint32_t) (RTC_TAMPER_1 | RTC_TAMPER_3))
#define RTC_TAMPER_X_INTERRUPT   RTC_IT_TAMPALL
#define IS_RTC_BKP(__BKP__)
#define IS_TIMESTAMP_EDGE(EDGE)
#define IS_RTC_TIMESTAMP_PIN(PIN)
#define IS_RTC_WAKEUP_CLOCK(CLOCK)
#define IS_RTC_WAKEUP_COUNTER(COUNTER)
#define IS_RTC_SMOOTH_CALIB_PERIOD(PERIOD)
#define IS_RTC_SMOOTH_CALIB_PLUS(PLUS)
#define IS_RTC_SMOOTH_CALIB_MINUS(VALUE)
#define IS_RTC_SHIFT_ADD1S(SEL)
#define IS_RTC_SHIFT_SUBFS(FS)
#define IS_RTC_CALIB_OUTPUT(OUTPUT)
#define IS_RTC_TAMPER(__TAMPER__)
#define IS_RTC_TAMPER_INTERRUPT(__INTERRUPT__)
#define IS_RTC_TAMPER_TRIGGER(__TRIGGER__)
#define IS_RTC_TAMPER_ERASE_MODE(__MODE__)
#define IS_RTC_TAMPER_MASKFLAG_STATE(__STATE__)
#define IS_RTC_TAMPER_FILTER(__FILTER__)
#define IS_RTC_TAMPER_SAMPLING_FREQ(__FREQ__)
#define IS_RTC_TAMPER_PRECHARGE_DURATION(__DURATION__)
#define IS_RTC_TAMPER_PULLUP_STATE(__STATE__)
#define IS_RTC_TAMPER_TIMESTAMPONTAMPER_DETECTION(__DETECTION__)
#define IS_RTC_TAMPER_FILTER_CONFIG_CORRECT(FILTER, TRIGGER)
#define IS_RTC_INTERNAL_TAMPER(__INT_TAMPER__)

Functions

HAL_StatusTypeDef HAL_RTCEx_SetTimeStamp (RTC_HandleTypeDef *hrtc, uint32_t TimeStampEdge, uint32_t RTC_TimeStampPin)
HAL_StatusTypeDef HAL_RTCEx_SetTimeStamp_IT (RTC_HandleTypeDef *hrtc, uint32_t TimeStampEdge, uint32_t RTC_TimeStampPin)
HAL_StatusTypeDef HAL_RTCEx_DeactivateTimeStamp (RTC_HandleTypeDef *hrtc)
HAL_StatusTypeDef HAL_RTCEx_SetInternalTimeStamp (RTC_HandleTypeDef *hrtc)
HAL_StatusTypeDef HAL_RTCEx_DeactivateInternalTimeStamp (RTC_HandleTypeDef *hrtc)
HAL_StatusTypeDef HAL_RTCEx_GetTimeStamp (RTC_HandleTypeDef *hrtc, RTC_TimeTypeDef *sTimeStamp, RTC_DateTypeDef *sTimeStampDate, uint32_t Format)
void HAL_RTCEx_TamperTimeStampIRQHandler (RTC_HandleTypeDef *hrtc)
void HAL_RTCEx_TimeStampEventCallback (RTC_HandleTypeDef *hrtc)
HAL_StatusTypeDef HAL_RTCEx_PollForTimeStampEvent (RTC_HandleTypeDef *hrtc, uint32_t Timeout)
HAL_StatusTypeDef HAL_RTCEx_SetTamper (RTC_HandleTypeDef *hrtc, const RTC_TamperTypeDef *sTamper)
HAL_StatusTypeDef HAL_RTCEx_SetTamper_IT (RTC_HandleTypeDef *hrtc, const RTC_TamperTypeDef *sTamper)
HAL_StatusTypeDef HAL_RTCEx_DeactivateTamper (RTC_HandleTypeDef *hrtc, uint32_t Tamper)
HAL_StatusTypeDef HAL_RTCEx_PollForTamper1Event (RTC_HandleTypeDef *hrtc, uint32_t Timeout)
HAL_StatusTypeDef HAL_RTCEx_PollForTamper3Event (RTC_HandleTypeDef *hrtc, uint32_t Timeout)
void HAL_RTCEx_Tamper1EventCallback (RTC_HandleTypeDef *hrtc)
void HAL_RTCEx_Tamper3EventCallback (RTC_HandleTypeDef *hrtc)
HAL_StatusTypeDef HAL_RTCEx_SetWakeUpTimer (RTC_HandleTypeDef *hrtc, uint32_t WakeUpCounter, uint32_t WakeUpClock)
HAL_StatusTypeDef HAL_RTCEx_SetWakeUpTimer_IT (RTC_HandleTypeDef *hrtc, uint32_t WakeUpCounter, uint32_t WakeUpClock)
HAL_StatusTypeDef HAL_RTCEx_DeactivateWakeUpTimer (RTC_HandleTypeDef *hrtc)
uint32_t HAL_RTCEx_GetWakeUpTimer (const RTC_HandleTypeDef *hrtc)
void HAL_RTCEx_WakeUpTimerIRQHandler (RTC_HandleTypeDef *hrtc)
void HAL_RTCEx_WakeUpTimerEventCallback (RTC_HandleTypeDef *hrtc)
HAL_StatusTypeDef HAL_RTCEx_PollForWakeUpTimerEvent (RTC_HandleTypeDef *hrtc, uint32_t Timeout)
void HAL_RTCEx_BKUPWrite (const RTC_HandleTypeDef *hrtc, uint32_t BackupRegister, uint32_t Data)
uint32_t HAL_RTCEx_BKUPRead (const RTC_HandleTypeDef *hrtc, uint32_t BackupRegister)
HAL_StatusTypeDef HAL_RTCEx_SetSmoothCalib (RTC_HandleTypeDef *hrtc, uint32_t SmoothCalibPeriod, uint32_t SmoothCalibPlusPulses, uint32_t SmoothCalibMinusPulsesValue)
HAL_StatusTypeDef HAL_RTCEx_SetSynchroShift (RTC_HandleTypeDef *hrtc, uint32_t ShiftAdd1S, uint32_t ShiftSubFS)
HAL_StatusTypeDef HAL_RTCEx_SetCalibrationOutPut (RTC_HandleTypeDef *hrtc, uint32_t CalibOutput)
HAL_StatusTypeDef HAL_RTCEx_DeactivateCalibrationOutPut (RTC_HandleTypeDef *hrtc)
HAL_StatusTypeDef HAL_RTCEx_SetRefClock (RTC_HandleTypeDef *hrtc)
HAL_StatusTypeDef HAL_RTCEx_DeactivateRefClock (RTC_HandleTypeDef *hrtc)
HAL_StatusTypeDef HAL_RTCEx_EnableBypassShadow (RTC_HandleTypeDef *hrtc)
HAL_StatusTypeDef HAL_RTCEx_DisableBypassShadow (RTC_HandleTypeDef *hrtc)
void HAL_RTCEx_AlarmBEventCallback (RTC_HandleTypeDef *hrtc)
HAL_StatusTypeDef HAL_RTCEx_PollForAlarmBEvent (RTC_HandleTypeDef *hrtc, uint32_t Timeout)

Detailed Description

Header file of RTC HAL Extension module.

Author
MCD Application Team
Attention

Copyright (c) 2017 STMicroelectronics. All rights reserved.

This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.

Definition in file stm32h7xx_hal_rtc_ex.h.