STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
RTCEx Tamper Filter Definitions
Collaboration diagram for RTCEx Tamper Filter Definitions:

Macros

#define RTC_TAMPERFILTER_DISABLE   0x00000000U
 
#define RTC_TAMPERFILTER_2SAMPLE   RTC_TAFCR_TAMPFLT_0
 
#define RTC_TAMPERFILTER_4SAMPLE   RTC_TAFCR_TAMPFLT_1
 
#define RTC_TAMPERFILTER_8SAMPLE   RTC_TAFCR_TAMPFLT
 
#define RTC_TAMPERFILTER_MASK   RTC_TAFCR_TAMPFLT
 

Detailed Description

Macro Definition Documentation

◆ RTC_TAMPERFILTER_DISABLE

#define RTC_TAMPERFILTER_DISABLE   0x00000000U

#include <stm32f4xx_hal_rtc_ex.h>

Tamper filter is disabled

Definition at line 175 of file stm32f4xx_hal_rtc_ex.h.

◆ RTC_TAMPERFILTER_2SAMPLE

#define RTC_TAMPERFILTER_2SAMPLE   RTC_TAFCR_TAMPFLT_0

#include <stm32f4xx_hal_rtc_ex.h>

Tamper is activated after 2 consecutive samples at the active level

Definition at line 177 of file stm32f4xx_hal_rtc_ex.h.

◆ RTC_TAMPERFILTER_4SAMPLE

#define RTC_TAMPERFILTER_4SAMPLE   RTC_TAFCR_TAMPFLT_1

#include <stm32f4xx_hal_rtc_ex.h>

Tamper is activated after 4 consecutive samples at the active level

Definition at line 179 of file stm32f4xx_hal_rtc_ex.h.

◆ RTC_TAMPERFILTER_8SAMPLE

#define RTC_TAMPERFILTER_8SAMPLE   RTC_TAFCR_TAMPFLT

#include <stm32f4xx_hal_rtc_ex.h>

Tamper is activated after 8 consecutive samples at the active level

Definition at line 181 of file stm32f4xx_hal_rtc_ex.h.

◆ RTC_TAMPERFILTER_MASK

#define RTC_TAMPERFILTER_MASK   RTC_TAFCR_TAMPFLT

#include <stm32f4xx_hal_rtc_ex.h>

Masking all bits except those of field TAMPFLT

Definition at line 183 of file stm32f4xx_hal_rtc_ex.h.

Referenced by HAL_RTCEx_SetTamper(), and HAL_RTCEx_SetTamper_IT().