MG32L003 Standard Peripherals Firmware Library

宏定义
Definitions
MG32L003_StdPeriph_Driver » RTC » RTC_Exported_Constants

## 宏定义
#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)

## 详细描述

## 宏定义说明

## ◆ IS_RTC_CALIB_PERIOD

#define IS_RTC_CALIB_PERIOD | ( |  | PERIOD | ) |

值:
(((PERIOD) == RTC_CalibPeriod_60sec) || \
((PERIOD) == RTC_CalibPeriod_30sec) || \
((PERIOD) == RTC_CalibPeriod_15sec) || \
((PERIOD) == RTC_CalibPeriod_6sec))
RTC_CalibPeriod_60sec
#define RTC_CalibPeriod_60sec
Definition: mg32l003_rtc.h:338
RTC_CalibPeriod_15sec
#define RTC_CalibPeriod_15sec
Definition: mg32l003_rtc.h:340
RTC_CalibPeriod_6sec
#define RTC_CalibPeriod_6sec
Definition: mg32l003_rtc.h:341
RTC_CalibPeriod_30sec
#define RTC_CalibPeriod_30sec
Definition: mg32l003_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