STM32F103xB HAL User Manual
Defines
Private macros to check input parameters
RTCEx Private Macros

Defines

#define IS_RTC_TAMPER(__TAMPER__)   ((__TAMPER__) == RTC_TAMPER_1)
#define IS_RTC_TAMPER_TRIGGER(__TRIGGER__)
#define IS_RTC_BKP(BKP)   ((BKP) <= (uint32_t)RTC_BKP_NUMBER)
#define IS_RTC_SMOOTH_CALIB_MINUS(__VALUE__)   ((__VALUE__) <= 0x0000007FU)

Define Documentation

#define IS_RTC_BKP (   BKP)    ((BKP) <= (uint32_t)RTC_BKP_NUMBER)

Definition at line 63 of file stm32f1xx_hal_rtc_ex.h.

Referenced by HAL_RTCEx_BKUPRead(), and HAL_RTCEx_BKUPWrite().

#define IS_RTC_SMOOTH_CALIB_MINUS (   __VALUE__)    ((__VALUE__) <= 0x0000007FU)

Definition at line 65 of file stm32f1xx_hal_rtc_ex.h.

Referenced by HAL_RTCEx_SetSmoothCalib().

#define IS_RTC_TAMPER (   __TAMPER__)    ((__TAMPER__) == RTC_TAMPER_1)
#define IS_RTC_TAMPER_TRIGGER (   __TRIGGER__)
Value:
(((__TRIGGER__) == RTC_TAMPERTRIGGER_LOWLEVEL) || \
                                             ((__TRIGGER__) == RTC_TAMPERTRIGGER_HIGHLEVEL))

Definition at line 57 of file stm32f1xx_hal_rtc_ex.h.

Referenced by HAL_RTCEx_SetTamper(), and HAL_RTCEx_SetTamper_IT().