Classes | Macros | Functions
stm32f7xx_hal_rtc_ex.h File Reference

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

#include "stm32f7xx_hal_def.h"
Include dependency graph for stm32f7xx_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
 RTC Tamper structure definition
More...
 

Macros

#define __HAL_RTC_CALIBRATION_OUTPUT_DISABLE(__HANDLE__)   ((__HANDLE__)->Instance->CR &= ~(RTC_CR_COE))
 Disable the calibration output. More...
 
#define __HAL_RTC_CALIBRATION_OUTPUT_ENABLE(__HANDLE__)   ((__HANDLE__)->Instance->CR |= (RTC_CR_COE))
 Enable the RTC calibration output. More...
 
#define __HAL_RTC_CLOCKREF_DETECTION_DISABLE(__HANDLE__)   ((__HANDLE__)->Instance->CR &= ~(RTC_CR_REFCKON))
 Disable the clock reference detection. More...
 
#define __HAL_RTC_CLOCKREF_DETECTION_ENABLE(__HANDLE__)   ((__HANDLE__)->Instance->CR |= (RTC_CR_REFCKON))
 Enable the clock reference detection. More...
 
#define __HAL_RTC_INTERNAL_TIMESTAMP_CLEAR_FLAG(__HANDLE__, __FLAG__)   ((__HANDLE__)->Instance->ISR) = (~(((__FLAG__) | RTC_ISR_INIT)& 0x0003FFFF)|((__HANDLE__)->Instance->ISR & RTC_ISR_INIT))
 Clear the RTC Internal Time Stamp's pending flags. More...
 
#define __HAL_RTC_INTERNAL_TIMESTAMP_DISABLE(__HANDLE__)   ((__HANDLE__)->Instance->CR &= ~(RTC_CR_ITSE))
 Disable the RTC internal TimeStamp peripheral. More...
 
#define __HAL_RTC_INTERNAL_TIMESTAMP_ENABLE(__HANDLE__)   ((__HANDLE__)->Instance->CR |= (RTC_CR_ITSE))
 Enable the RTC internal TimeStamp peripheral. More...
 
#define __HAL_RTC_INTERNAL_TIMESTAMP_GET_FLAG(__HANDLE__, __FLAG__)   (((((__HANDLE__)->Instance->ISR) & (__FLAG__)) != RESET) ? SET : RESET)
 Get the selected RTC Internal Time Stamp's flag status. More...
 
#define __HAL_RTC_SHIFT_GET_FLAG(__HANDLE__, __FLAG__)   (((((__HANDLE__)->Instance->ISR) & (__FLAG__)) != RESET) ? SET : RESET)
 Get the selected RTC shift operation's flag status. More...
 
#define __HAL_RTC_TAMPER1_DISABLE(__HANDLE__)   ((__HANDLE__)->Instance->TAMPCR &= ~(RTC_TAMPCR_TAMP1E))
 Disable the RTC Tamper1 input detection. More...
 
#define __HAL_RTC_TAMPER1_ENABLE(__HANDLE__)   ((__HANDLE__)->Instance->TAMPCR |= (RTC_TAMPCR_TAMP1E))
 Enable the RTC Tamper1 input detection. More...
 
#define __HAL_RTC_TAMPER2_DISABLE(__HANDLE__)   ((__HANDLE__)->Instance->TAMPCR &= ~(RTC_TAMPCR_TAMP2E))
 Disable the RTC Tamper2 input detection. More...
 
#define __HAL_RTC_TAMPER2_ENABLE(__HANDLE__)   ((__HANDLE__)->Instance->TAMPCR |= (RTC_TAMPCR_TAMP2E))
 Enable the RTC Tamper2 input detection. More...
 
#define __HAL_RTC_TAMPER3_DISABLE(__HANDLE__)   ((__HANDLE__)->Instance->TAMPCR &= ~(RTC_TAMPCR_TAMP3E))
 Disable the RTC Tamper3 input detection. More...
 
#define __HAL_RTC_TAMPER3_ENABLE(__HANDLE__)   ((__HANDLE__)->Instance->TAMPCR |= (RTC_TAMPCR_TAMP3E))
 Enable the RTC Tamper3 input detection. More...
 
#define __HAL_RTC_TAMPER_CLEAR_FLAG(__HANDLE__, __FLAG__)   ((__HANDLE__)->Instance->ISR) = (~((__FLAG__) | RTC_ISR_INIT)|((__HANDLE__)->Instance->ISR & RTC_ISR_INIT))
 Clear the RTC Tamper's pending flags. More...
 
#define __HAL_RTC_TAMPER_GET_FLAG(__HANDLE__, __FLAG__)   (((((__HANDLE__)->Instance->ISR) & (__FLAG__)) != RESET) ? SET : RESET)
 Get the selected RTC Tamper's flag status. More...
 
#define __HAL_RTC_TAMPER_GET_IT(__HANDLE__, __INTERRUPT__)
 Check whether the specified RTC Tamper interrupt has occurred or not. More...
 
#define __HAL_RTC_TAMPER_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__)   (((((__HANDLE__)->Instance->TAMPCR) & (__INTERRUPT__)) != RESET) ? SET : RESET)
 Check whether the specified RTC Tamper interrupt has been enabled or not. More...
 
#define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_CLEAR_FLAG()   (EXTI->PR = RTC_EXTI_LINE_TAMPER_TIMESTAMP_EVENT)
 Clear the RTC Tamper and Timestamp associated Exti line flag. More...
 
#define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_DISABLE_EVENT()   (EXTI->EMR &= ~(RTC_EXTI_LINE_TAMPER_TIMESTAMP_EVENT))
 Disable event on the RTC Tamper and Timestamp associated Exti line. More...
 
#define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_DISABLE_FALLING_EDGE()   (EXTI->FTSR &= ~(RTC_EXTI_LINE_TAMPER_TIMESTAMP_EVENT))
 Disable falling edge trigger on the RTC Tamper and Timestamp associated Exti line. More...
 
#define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_DISABLE_IT()   (EXTI->IMR &= ~(RTC_EXTI_LINE_TAMPER_TIMESTAMP_EVENT))
 Disable interrupt on the RTC Tamper and Timestamp associated Exti line. More...
 
#define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_DISABLE_RISING_EDGE()   (EXTI->RTSR &= ~(RTC_EXTI_LINE_TAMPER_TIMESTAMP_EVENT))
 Disable rising edge trigger on the RTC Tamper and Timestamp associated Exti line. More...
 
#define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_DISABLE_RISING_FALLING_EDGE()   __HAL_RTC_TAMPER_TIMESTAMP_EXTI_DISABLE_RISING_EDGE();__HAL_RTC_TAMPER_TIMESTAMP_EXTI_DISABLE_FALLING_EDGE();
 Disable rising & falling edge trigger on the RTC Tamper and Timestamp associated Exti line. This parameter can be: More...
 
#define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_ENABLE_EVENT()   (EXTI->EMR |= RTC_EXTI_LINE_TAMPER_TIMESTAMP_EVENT)
 Enable event on the RTC Tamper and Timestamp associated Exti line. More...
 
#define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_ENABLE_FALLING_EDGE()   (EXTI->FTSR |= RTC_EXTI_LINE_TAMPER_TIMESTAMP_EVENT)
 Enable falling edge trigger on the RTC Tamper and Timestamp associated Exti line. More...
 
#define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_ENABLE_IT()   (EXTI->IMR |= RTC_EXTI_LINE_TAMPER_TIMESTAMP_EVENT)
 Enable interrupt on the RTC Tamper and Timestamp associated Exti line. More...
 
#define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_ENABLE_RISING_EDGE()   (EXTI->RTSR |= RTC_EXTI_LINE_TAMPER_TIMESTAMP_EVENT)
 Enable rising edge trigger on the RTC Tamper and Timestamp associated Exti line. More...
 
#define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_ENABLE_RISING_FALLING_EDGE()   __HAL_RTC_TAMPER_TIMESTAMP_EXTI_ENABLE_RISING_EDGE();__HAL_RTC_TAMPER_TIMESTAMP_EXTI_ENABLE_FALLING_EDGE();
 Enable rising & falling edge trigger on the RTC Tamper and Timestamp associated Exti line. More...
 
#define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_GENERATE_SWIT()   (EXTI->SWIER |= RTC_EXTI_LINE_TAMPER_TIMESTAMP_EVENT)
 Generate a Software interrupt on the RTC Tamper and Timestamp associated Exti line. More...
 
#define __HAL_RTC_TAMPER_TIMESTAMP_EXTI_GET_FLAG()   (EXTI->PR & RTC_EXTI_LINE_TAMPER_TIMESTAMP_EVENT)
 Check whether the RTC Tamper and Timestamp associated Exti line interrupt flag is set or not. More...
 
#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__)>> 4)) != 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...
 
#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 WakeUp 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 WakeUp 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 WakeUp 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 WakeUp Timer associated Exti line. More...
 
#define __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_IT()   (EXTI->IMR &= ~(RTC_EXTI_LINE_WAKEUPTIMER_EVENT))
 Disable interrupt on the RTC WakeUp 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 WakeUp Timer associated Exti line. More...
 
#define __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_RISING_FALLING_EDGE()   __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_RISING_EDGE();__HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_FALLING_EDGE();
 Disable rising & falling edge trigger on the RTC WakeUp 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 WakeUp 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 WakeUp Timer associated Exti line. More...
 
#define __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_IT()   (EXTI->IMR |= RTC_EXTI_LINE_WAKEUPTIMER_EVENT)
 Enable interrupt on the RTC WakeUp 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 WakeUp Timer associated Exti line. More...
 
#define __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_RISING_FALLING_EDGE()   __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_RISING_EDGE();__HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_FALLING_EDGE();
 Enable rising & falling edge trigger on the RTC WakeUp 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 WakeUp Timer associated Exti line. More...
 
#define __HAL_RTC_WAKEUPTIMER_EXTI_GET_FLAG()   (EXTI->PR & RTC_EXTI_LINE_WAKEUPTIMER_EVENT)
 Check whether the RTC WakeUp 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__)>> 4)) != 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...
 
#define IS_RTC_BKP(__BKP__)   ((__BKP__) < (uint32_t) RTC_BKP_NUMBER)
 
#define IS_RTC_CALIB_OUTPUT(__OUTPUT__)
 
#define IS_RTC_OUTPUT(__OUTPUT__)
 
#define IS_RTC_SHIFT_ADD1S(__SEL__)
 
#define IS_RTC_SHIFT_SUBFS(__FS__)   ((__FS__) <= 0x00007FFF)
 
#define IS_RTC_SMOOTH_CALIB_MINUS(__VALUE__)   ((__VALUE__) <= 0x000001FF)
 
#define IS_RTC_SMOOTH_CALIB_PERIOD(__PERIOD__)
 
#define IS_RTC_SMOOTH_CALIB_PLUS(__PLUS__)
 
#define IS_RTC_TAMPER(__TAMPER__)   ((((__TAMPER__) & ((uint32_t)(0xFFFFFFFFU ^ RTC_TAMPCR_TAMPXE))) == 0x00U) && ((__TAMPER__) != (uint32_t)RESET))
 
#define IS_RTC_TAMPER_ERASE_MODE(__MODE__)
 
#define IS_RTC_TAMPER_FILTER(__FILTER__)
 
#define IS_RTC_TAMPER_INTERRUPT(__INTERRUPT__)   ((((__INTERRUPT__) & (uint32_t)(0xFFFFFFFFU ^ RTC_TAMPCR_TAMPXIE)) == 0x00U) && ((__INTERRUPT__) != (uint32_t)RESET))
 
#define IS_RTC_TAMPER_MASKFLAG_STATE(__STATE__)
 
#define IS_RTC_TAMPER_PRECHARGE_DURATION(__DURATION__)
 
#define IS_RTC_TAMPER_PULLUP_STATE(__STATE__)
 
#define IS_RTC_TAMPER_SAMPLING_FREQ(__FREQ__)
 
#define IS_RTC_TAMPER_TIMESTAMPONTAMPER_DETECTION(__DETECTION__)
 
#define IS_RTC_TAMPER_TRIGGER(__TRIGGER__)
 
#define IS_RTC_TIMESTAMP_PIN(__PIN__)
 
#define IS_RTC_WAKEUP_CLOCK(__CLOCK__)
 
#define IS_RTC_WAKEUP_COUNTER(__COUNTER__)   ((__COUNTER__) <= 0xFFFF)
 
#define IS_TIMESTAMP_EDGE(__EDGE__)
 
#define RTC_ALL_TAMPER_INTERRUPT   RTC_TAMPCR_TAMPIE
 
#define RTC_BKP_DR0   ((uint32_t)0x00000000U)
 
#define RTC_BKP_DR1   ((uint32_t)0x00000001U)
 
#define RTC_BKP_DR10   ((uint32_t)0x0000000AU)
 
#define RTC_BKP_DR11   ((uint32_t)0x0000000BU)
 
#define RTC_BKP_DR12   ((uint32_t)0x0000000CU)
 
#define RTC_BKP_DR13   ((uint32_t)0x0000000DU)
 
#define RTC_BKP_DR14   ((uint32_t)0x0000000EU)
 
#define RTC_BKP_DR15   ((uint32_t)0x0000000FU)
 
#define RTC_BKP_DR16   ((uint32_t)0x00000010U)
 
#define RTC_BKP_DR17   ((uint32_t)0x00000011U)
 
#define RTC_BKP_DR18   ((uint32_t)0x00000012U)
 
#define RTC_BKP_DR19   ((uint32_t)0x00000013U)
 
#define RTC_BKP_DR2   ((uint32_t)0x00000002U)
 
#define RTC_BKP_DR20   ((uint32_t)0x00000014U)
 
#define RTC_BKP_DR21   ((uint32_t)0x00000015U)
 
#define RTC_BKP_DR22   ((uint32_t)0x00000016U)
 
#define RTC_BKP_DR23   ((uint32_t)0x00000017U)
 
#define RTC_BKP_DR24   ((uint32_t)0x00000018U)
 
#define RTC_BKP_DR25   ((uint32_t)0x00000019U)
 
#define RTC_BKP_DR26   ((uint32_t)0x0000001AU)
 
#define RTC_BKP_DR27   ((uint32_t)0x0000001BU)
 
#define RTC_BKP_DR28   ((uint32_t)0x0000001CU)
 
#define RTC_BKP_DR29   ((uint32_t)0x0000001DU)
 
#define RTC_BKP_DR3   ((uint32_t)0x00000003U)
 
#define RTC_BKP_DR30   ((uint32_t)0x0000001EU)
 
#define RTC_BKP_DR31   ((uint32_t)0x0000001FU)
 
#define RTC_BKP_DR4   ((uint32_t)0x00000004U)
 
#define RTC_BKP_DR5   ((uint32_t)0x00000005U)
 
#define RTC_BKP_DR6   ((uint32_t)0x00000006U)
 
#define RTC_BKP_DR7   ((uint32_t)0x00000007U)
 
#define RTC_BKP_DR8   ((uint32_t)0x00000008U)
 
#define RTC_BKP_DR9   ((uint32_t)0x00000009U)
 
#define RTC_CALIBOUTPUT_1HZ   ((uint32_t)0x00080000U)
 
#define RTC_CALIBOUTPUT_512HZ   ((uint32_t)0x00000000U)
 
#define RTC_EXTI_LINE_TAMPER_TIMESTAMP_EVENT   ((uint32_t)EXTI_IMR_IM21)
 
#define RTC_EXTI_LINE_WAKEUPTIMER_EVENT   ((uint32_t)EXTI_IMR_IM22)
 
#define RTC_OUTPUT_ALARMA   ((uint32_t)0x00200000U)
 
#define RTC_OUTPUT_ALARMB   ((uint32_t)0x00400000U)
 
#define RTC_OUTPUT_DISABLE   ((uint32_t)0x00000000U)
 
#define RTC_OUTPUT_WAKEUP   ((uint32_t)0x00600000U)
 
#define RTC_SHIFTADD1S_RESET   ((uint32_t)0x00000000U)
 
#define RTC_SHIFTADD1S_SET   ((uint32_t)0x80000000U)
 
#define RTC_SMOOTHCALIB_PERIOD_16SEC   ((uint32_t)0x00002000U)
 
#define RTC_SMOOTHCALIB_PERIOD_32SEC   ((uint32_t)0x00000000U)
 
#define RTC_SMOOTHCALIB_PERIOD_8SEC   ((uint32_t)0x00004000U)
 
#define RTC_SMOOTHCALIB_PLUSPULSES_RESET   ((uint32_t)0x00000000U)
 
#define RTC_SMOOTHCALIB_PLUSPULSES_SET   ((uint32_t)0x00008000U)
 
#define RTC_TAMPCR_TAMPXE   ((uint32_t) (RTC_TAMPCR_TAMP3E | RTC_TAMPCR_TAMP2E | RTC_TAMPCR_TAMP1E))
 
#define RTC_TAMPCR_TAMPXIE   ((uint32_t) (RTC_TAMPER1_INTERRUPT | RTC_TAMPER2_INTERRUPT | RTC_TAMPER3_INTERRUPT | RTC_ALL_TAMPER_INTERRUPT))
 
#define RTC_TAMPER1_INTERRUPT   RTC_TAMPCR_TAMP1IE
 
#define RTC_TAMPER2_INTERRUPT   RTC_TAMPCR_TAMP2IE
 
#define RTC_TAMPER3_INTERRUPT   RTC_TAMPCR_TAMP3IE
 
#define RTC_TAMPER_1   RTC_TAMPCR_TAMP1E
 
#define RTC_TAMPER_2   RTC_TAMPCR_TAMP2E
 
#define RTC_TAMPER_3   RTC_TAMPCR_TAMP3E
 
#define RTC_TAMPER_ERASE_BACKUP_DISABLE   ((uint32_t)0x00020000U)
 
#define RTC_TAMPER_ERASE_BACKUP_ENABLE   ((uint32_t)0x00000000U)
 
#define RTC_TAMPER_PULLUP_DISABLE   ((uint32_t)RTC_TAMPCR_TAMPPUDIS)
 
#define RTC_TAMPER_PULLUP_ENABLE   ((uint32_t)0x00000000U)
 
#define RTC_TAMPERFILTER_2SAMPLE   ((uint32_t)0x00000800U)
 
#define RTC_TAMPERFILTER_4SAMPLE   ((uint32_t)0x00001000U)
 
#define RTC_TAMPERFILTER_8SAMPLE   ((uint32_t)0x00001800U)
 
#define RTC_TAMPERFILTER_DISABLE   ((uint32_t)0x00000000U)
 
#define RTC_TAMPERMASK_FLAG_DISABLE   ((uint32_t)0x00000000U)
 
#define RTC_TAMPERMASK_FLAG_ENABLE   ((uint32_t)0x00040000U)
 
#define RTC_TAMPERPRECHARGEDURATION_1RTCCLK   ((uint32_t)0x00000000U)
 
#define RTC_TAMPERPRECHARGEDURATION_2RTCCLK   ((uint32_t)0x00002000U)
 
#define RTC_TAMPERPRECHARGEDURATION_4RTCCLK   ((uint32_t)0x00004000U)
 
#define RTC_TAMPERPRECHARGEDURATION_8RTCCLK   ((uint32_t)0x00006000U)
 
#define RTC_TAMPERSAMPLINGFREQ_RTCCLK_DIV1024   ((uint32_t)0x00000500U)
 
#define RTC_TAMPERSAMPLINGFREQ_RTCCLK_DIV16384   ((uint32_t)0x00000100U)
 
#define RTC_TAMPERSAMPLINGFREQ_RTCCLK_DIV2048   ((uint32_t)0x00000400U)
 
#define RTC_TAMPERSAMPLINGFREQ_RTCCLK_DIV256   ((uint32_t)0x00000700U)
 
#define RTC_TAMPERSAMPLINGFREQ_RTCCLK_DIV32768   ((uint32_t)0x00000000U)
 
#define RTC_TAMPERSAMPLINGFREQ_RTCCLK_DIV4096   ((uint32_t)0x00000300U)
 
#define RTC_TAMPERSAMPLINGFREQ_RTCCLK_DIV512   ((uint32_t)0x00000600U)
 
#define RTC_TAMPERSAMPLINGFREQ_RTCCLK_DIV8192   ((uint32_t)0x00000200U)
 
#define RTC_TAMPERTRIGGER_FALLINGEDGE   ((uint32_t)0x00000002U)
 
#define RTC_TAMPERTRIGGER_HIGHLEVEL   RTC_TAMPERTRIGGER_FALLINGEDGE
 
#define RTC_TAMPERTRIGGER_LOWLEVEL   RTC_TAMPERTRIGGER_RISINGEDGE
 
#define RTC_TAMPERTRIGGER_RISINGEDGE   ((uint32_t)0x00000000U)
 
#define RTC_TIMESTAMPEDGE_FALLING   ((uint32_t)0x00000008U)
 
#define RTC_TIMESTAMPEDGE_RISING   ((uint32_t)0x00000000U)
 
#define RTC_TIMESTAMPONTAMPERDETECTION_DISABLE   ((uint32_t)0x00000000U)
 
#define RTC_TIMESTAMPONTAMPERDETECTION_ENABLE   ((uint32_t)RTC_TAMPCR_TAMPTS)
 
#define RTC_TIMESTAMPPIN_DEFAULT   ((uint32_t)0x00000000U)
 
#define RTC_TIMESTAMPPIN_POS1   ((uint32_t)0x00000002U)
 
#define RTC_TIMESTAMPPIN_POS2   ((uint32_t)0x00000004U)
 
#define RTC_WAKEUPCLOCK_CK_SPRE_16BITS   ((uint32_t)0x00000004U)
 
#define RTC_WAKEUPCLOCK_CK_SPRE_17BITS   ((uint32_t)0x00000006U)
 
#define RTC_WAKEUPCLOCK_RTCCLK_DIV16   ((uint32_t)0x00000000U)
 
#define RTC_WAKEUPCLOCK_RTCCLK_DIV2   ((uint32_t)0x00000003U)
 
#define RTC_WAKEUPCLOCK_RTCCLK_DIV4   ((uint32_t)0x00000002U)
 
#define RTC_WAKEUPCLOCK_RTCCLK_DIV8   ((uint32_t)0x00000001U)
 

Functions

void HAL_RTCEx_AlarmBEventCallback (RTC_HandleTypeDef *hrtc)
 
uint32_t HAL_RTCEx_BKUPRead (RTC_HandleTypeDef *hrtc, uint32_t BackupRegister)
 
void HAL_RTCEx_BKUPWrite (RTC_HandleTypeDef *hrtc, uint32_t BackupRegister, uint32_t Data)
 
HAL_StatusTypeDef HAL_RTCEx_DeactivateCalibrationOutPut (RTC_HandleTypeDef *hrtc)
 
HAL_StatusTypeDef HAL_RTCEx_DeactivateInternalTimeStamp (RTC_HandleTypeDef *hrtc)
 
HAL_StatusTypeDef HAL_RTCEx_DeactivateRefClock (RTC_HandleTypeDef *hrtc)
 
HAL_StatusTypeDef HAL_RTCEx_DeactivateTamper (RTC_HandleTypeDef *hrtc, uint32_t Tamper)
 
HAL_StatusTypeDef HAL_RTCEx_DeactivateTimeStamp (RTC_HandleTypeDef *hrtc)
 
uint32_t HAL_RTCEx_DeactivateWakeUpTimer (RTC_HandleTypeDef *hrtc)
 
HAL_StatusTypeDef HAL_RTCEx_DisableBypassShadow (RTC_HandleTypeDef *hrtc)
 
HAL_StatusTypeDef HAL_RTCEx_EnableBypassShadow (RTC_HandleTypeDef *hrtc)
 
HAL_StatusTypeDef HAL_RTCEx_GetTimeStamp (RTC_HandleTypeDef *hrtc, RTC_TimeTypeDef *sTimeStamp, RTC_DateTypeDef *sTimeStampDate, uint32_t Format)
 
uint32_t HAL_RTCEx_GetWakeUpTimer (RTC_HandleTypeDef *hrtc)
 
HAL_StatusTypeDef HAL_RTCEx_PollForAlarmBEvent (RTC_HandleTypeDef *hrtc, uint32_t Timeout)
 
HAL_StatusTypeDef HAL_RTCEx_PollForTamper1Event (RTC_HandleTypeDef *hrtc, uint32_t Timeout)
 
HAL_StatusTypeDef HAL_RTCEx_PollForTamper2Event (RTC_HandleTypeDef *hrtc, uint32_t Timeout)
 
HAL_StatusTypeDef HAL_RTCEx_PollForTamper3Event (RTC_HandleTypeDef *hrtc, uint32_t Timeout)
 
HAL_StatusTypeDef HAL_RTCEx_PollForTimeStampEvent (RTC_HandleTypeDef *hrtc, uint32_t Timeout)
 
HAL_StatusTypeDef HAL_RTCEx_PollForWakeUpTimerEvent (RTC_HandleTypeDef *hrtc, uint32_t Timeout)
 
HAL_StatusTypeDef HAL_RTCEx_SetCalibrationOutPut (RTC_HandleTypeDef *hrtc, uint32_t CalibOutput)
 
HAL_StatusTypeDef HAL_RTCEx_SetInternalTimeStamp (RTC_HandleTypeDef *hrtc)
 
HAL_StatusTypeDef HAL_RTCEx_SetRefClock (RTC_HandleTypeDef *hrtc)
 
HAL_StatusTypeDef HAL_RTCEx_SetSmoothCalib (RTC_HandleTypeDef *hrtc, uint32_t SmoothCalibPeriod, uint32_t SmoothCalibPlusPulses, uint32_t SmouthCalibMinusPulsesValue)
 
HAL_StatusTypeDef HAL_RTCEx_SetSynchroShift (RTC_HandleTypeDef *hrtc, uint32_t ShiftAdd1S, uint32_t ShiftSubFS)
 
HAL_StatusTypeDef HAL_RTCEx_SetTamper (RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef *sTamper)
 
HAL_StatusTypeDef HAL_RTCEx_SetTamper_IT (RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef *sTamper)
 
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_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)
 
void HAL_RTCEx_Tamper1EventCallback (RTC_HandleTypeDef *hrtc)
 
void HAL_RTCEx_Tamper2EventCallback (RTC_HandleTypeDef *hrtc)
 
void HAL_RTCEx_Tamper3EventCallback (RTC_HandleTypeDef *hrtc)
 
void HAL_RTCEx_TamperTimeStampIRQHandler (RTC_HandleTypeDef *hrtc)
 
void HAL_RTCEx_TimeStampEventCallback (RTC_HandleTypeDef *hrtc)
 
void HAL_RTCEx_WakeUpTimerEventCallback (RTC_HandleTypeDef *hrtc)
 
void HAL_RTCEx_WakeUpTimerIRQHandler (RTC_HandleTypeDef *hrtc)
 

Detailed Description

Header file of RTC HAL Extension module.

Author
MCD Application Team
Attention

© Copyright (c) 2017 STMicroelectronics. All rights reserved.

This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause

Definition in file stm32f7xx_hal_rtc_ex.h.



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