STM8L15x Standard Peripherals Drivers
|
Tampers configuration functions. More...
Functions | |
void | RTC_TamperCmd (RTC_Tamper_TypeDef RTC_Tamper, FunctionalState NewState) |
Enables or Disables the Tamper detection. | |
void | RTC_TamperFilterConfig (RTC_TamperFilter_TypeDef RTC_TamperFilter) |
Configures the Tampers Filter. | |
void | RTC_TamperLevelConfig (RTC_Tamper_TypeDef RTC_Tamper, RTC_TamperLevel_TypeDef RTC_TamperLevel) |
Configures the Tamper Sensitive Level. | |
void | RTC_TamperPinsPrechargeDuration (RTC_TamperPrechargeDuration_TypeDef RTC_TamperPrechargeDuration) |
Configures the Tampers Pins input Precharge Duration. | |
void | RTC_TamperSamplingFreqConfig (RTC_TamperSamplingFreq_TypeDef RTC_TamperSamplingFreq) |
Configures the Tampers Sampling Frequency. |
Detailed Description
Tampers configuration functions.
=============================================================================== Tampers configuration functions ===============================================================================
Function Documentation
void RTC_TamperCmd | ( | RTC_Tamper_TypeDef | RTC_Tamper, |
FunctionalState | NewState | ||
) |
Enables or Disables the Tamper detection.
Definition at line 1981 of file stm8l15x_rtc.c.
References DISABLE, IS_FUNCTIONAL_STATE, IS_RTC_TAMPER, and RTC.
void RTC_TamperFilterConfig | ( | RTC_TamperFilter_TypeDef | RTC_TamperFilter | ) |
Configures the Tampers Filter.
Definition at line 1897 of file stm8l15x_rtc.c.
References IS_RTC_TAMPER_FILTER, RTC, and RTC_TCR2_TAMPFLT.
void RTC_TamperLevelConfig | ( | RTC_Tamper_TypeDef | RTC_Tamper, |
RTC_TamperLevel_TypeDef | RTC_TamperLevel | ||
) |
Configures the Tamper Sensitive Level.
Definition at line 1865 of file stm8l15x_rtc.c.
References IS_RTC_TAMPER, IS_RTC_TAMPER_LEVEL, RTC, and RTC_TamperLevel_Low.
void RTC_TamperPinsPrechargeDuration | ( | RTC_TamperPrechargeDuration_TypeDef | RTC_TamperPrechargeDuration | ) |
Configures the Tampers Pins input Precharge Duration.
Definition at line 1952 of file stm8l15x_rtc.c.
References IS_RTC_TAMPER_PINS_PRECHAR_DURATION, RTC, RTC_TCR2_TAMPPRCH, and RTC_TCR2_TAMPPUDIS.
void RTC_TamperSamplingFreqConfig | ( | RTC_TamperSamplingFreq_TypeDef | RTC_TamperSamplingFreq | ) |
Configures the Tampers Sampling Frequency.
Definition at line 1925 of file stm8l15x_rtc.c.
References IS_RTC_TAMPER_SAMPLING_FREQ, RTC, and RTC_TCR2_TAMPFREQ.