WB32L003 Standard Peripherals Firmware Library

Macros
Definitions
WB32L003_StdPeriph_Driver » RTC » RTC_Exported_Constants

## Macros
#define | RTC_CalibPeriod_60sec ((uint32_t)0x00000000)
#define | RTC_CalibPeriod_30sec ((uint32_t)0x00000100)
#define | RTC_CalibPeriod_15sec ((uint32_t)0x00000200)
#define | RTC_CalibPeriod_6sec ((uint32_t)0x00000300)
#define | IS_RTC_CALIB_PERIOD(PERIOD)

## Detailed Description

## Macro Definition Documentation

## ◆ IS_RTC_CALIB_PERIOD

#define IS_RTC_CALIB_PERIOD | ( |  | PERIOD | ) |

Value:
(((PERIOD) == RTC_CalibPeriod_60sec) || \
((PERIOD) == RTC_CalibPeriod_30sec) || \
((PERIOD) == RTC_CalibPeriod_15sec) || \
((PERIOD) == RTC_CalibPeriod_6sec))
RTC_CalibPeriod_60sec
#define RTC_CalibPeriod_60sec
Definition: wb32l003_rtc.h:338
RTC_CalibPeriod_15sec
#define RTC_CalibPeriod_15sec
Definition: wb32l003_rtc.h:340
RTC_CalibPeriod_6sec
#define RTC_CalibPeriod_6sec
Definition: wb32l003_rtc.h:341
RTC_CalibPeriod_30sec
#define RTC_CalibPeriod_30sec
Definition: wb32l003_rtc.h:339

## ◆ RTC_CalibPeriod_15sec

#define RTC_CalibPeriod_15sec ((uint32_t)0x00000200)

if RTCCLK = 32768 Hz, calibration period is 15s

## ◆ RTC_CalibPeriod_30sec

#define RTC_CalibPeriod_30sec ((uint32_t)0x00000100)

if RTCCLK = 32768 Hz, calibration period is 30s

## ◆ RTC_CalibPeriod_60sec

#define RTC_CalibPeriod_60sec ((uint32_t)0x00000000)

if RTCCLK = 32768 Hz, calibration period is 60s

## ◆ RTC_CalibPeriod_6sec

#define RTC_CalibPeriod_6sec ((uint32_t)0x00000300)

if RTCCLK = 32768 Hz, calibration period is 6s