MG32L003 Standard Peripherals Firmware Library

宏定义
Definitions
MG32L003_StdPeriph_Driver » RTC » RTC_Exported_Constants

## 宏定义
#define | RTC_ALARM2_CLOSE ((uint8_t)0x00)
#define | RTC_ALARM2_1S ((uint8_t)0x01)
#define | RTC_ALARM2_1P2S ((uint8_t)0x02)
#define | RTC_ALARM2_1P4S ((uint8_t)0x03)
#define | RTC_ALARM2_1P8S ((uint8_t)0x04)
#define | RTC_ALARM2_1P16S ((uint8_t)0x05)
#define | RTC_ALARM2_1P32S ((uint8_t)0x06)
#define | RTC_ALARM2_1P64S ((uint8_t)0x07)
#define | RTC_ALARM2_1P128S ((uint8_t)0x08)
#define | RTC_ALARM2_10S ((uint8_t)0x09)
#define | RTC_ALARM2_30S ((uint8_t)0x0A)
#define | RTC_ALARM2_1M ((uint8_t)0x0B)
#define | RTC_ALARM2_30M ((uint8_t)0x0C)
#define | RTC_ALARM2_60M ((uint8_t)0x0D)
#define | RTC_ALARM2_12H ((uint8_t)0x0E)
#define | RTC_ALARM2_24H ((uint8_t)0x0F)
#define | IS_RTC_ALARM_2_PERIOD(PERIOD)

## 详细描述

## 宏定义说明

## ◆ IS_RTC_ALARM_2_PERIOD

#define IS_RTC_ALARM_2_PERIOD | ( |  | PERIOD | ) |

值:
(((PERIOD) == RTC_ALARM2_CLOSE) || \
((PERIOD) == RTC_ALARM2_1S) || \
((PERIOD) == RTC_ALARM2_1P2S) || \
((PERIOD) == RTC_ALARM2_1P4S) || \
((PERIOD) == RTC_ALARM2_1P8S) || \
((PERIOD) == RTC_ALARM2_1P16S) || \
((PERIOD) == RTC_ALARM2_1P32S) || \
((PERIOD) == RTC_ALARM2_1P64S) || \
((PERIOD) == RTC_ALARM2_1P128S) || \
((PERIOD) == RTC_ALARM2_10S) || \
((PERIOD) == RTC_ALARM2_10S) || \
((PERIOD) == RTC_ALARM2_1M) || \
((PERIOD) == RTC_ALARM2_30M) || \
((PERIOD) == RTC_ALARM2_60M) || \
((PERIOD) == RTC_ALARM2_12H) || \
((PERIOD) == RTC_ALARM2_24H))
RTC_ALARM2_1P128S
#define RTC_ALARM2_1P128S
Definition: mg32l003_rtc.h:290
RTC_ALARM2_30M
#define RTC_ALARM2_30M
Definition: mg32l003_rtc.h:294
RTC_ALARM2_1M
#define RTC_ALARM2_1M
Definition: mg32l003_rtc.h:293
RTC_ALARM2_12H
#define RTC_ALARM2_12H
Definition: mg32l003_rtc.h:296
RTC_ALARM2_1P16S
#define RTC_ALARM2_1P16S
Definition: mg32l003_rtc.h:287
RTC_ALARM2_1P64S
#define RTC_ALARM2_1P64S
Definition: mg32l003_rtc.h:289
RTC_ALARM2_10S
#define RTC_ALARM2_10S
Definition: mg32l003_rtc.h:291
RTC_ALARM2_60M
#define RTC_ALARM2_60M
Definition: mg32l003_rtc.h:295
RTC_ALARM2_1P2S
#define RTC_ALARM2_1P2S
Definition: mg32l003_rtc.h:284
RTC_ALARM2_24H
#define RTC_ALARM2_24H
Definition: mg32l003_rtc.h:297
RTC_ALARM2_CLOSE
#define RTC_ALARM2_CLOSE
Definition: mg32l003_rtc.h:282
RTC_ALARM2_1P32S
#define RTC_ALARM2_1P32S
Definition: mg32l003_rtc.h:288
RTC_ALARM2_1P8S
#define RTC_ALARM2_1P8S
Definition: mg32l003_rtc.h:286
RTC_ALARM2_1S
#define RTC_ALARM2_1S
Definition: mg32l003_rtc.h:283
RTC_ALARM2_1P4S
#define RTC_ALARM2_1P4S
Definition: mg32l003_rtc.h:285

## ◆ RTC_ALARM2_10S

#define RTC_ALARM2_10S ((uint8_t)0x09)

RTC ALARM2 cycle time set 108s

## ◆ RTC_ALARM2_12H

#define RTC_ALARM2_12H ((uint8_t)0x0E)

RTC ALARM2 cycle time set 12 HOURS

## ◆ RTC_ALARM2_1M

#define RTC_ALARM2_1M ((uint8_t)0x0B)

RTC ALARM2 cycle time set 1 MINUTS

## ◆ RTC_ALARM2_1P128S

#define RTC_ALARM2_1P128S ((uint8_t)0x08)

RTC ALARM2 cycle time set 1/128s

## ◆ RTC_ALARM2_1P16S

#define RTC_ALARM2_1P16S ((uint8_t)0x05)

RTC ALARM2 cycle time set 1/16s

## ◆ RTC_ALARM2_1P2S

#define RTC_ALARM2_1P2S ((uint8_t)0x02)

RTC ALARM2 cycle time set 1/2s

## ◆ RTC_ALARM2_1P32S

#define RTC_ALARM2_1P32S ((uint8_t)0x06)

RTC ALARM2 cycle time set 1/32s

## ◆ RTC_ALARM2_1P4S

#define RTC_ALARM2_1P4S ((uint8_t)0x03)

RTC ALARM2 cycle time set 1/4s

## ◆ RTC_ALARM2_1P64S

#define RTC_ALARM2_1P64S ((uint8_t)0x07)

RTC ALARM2 cycle time set 1/64s

## ◆ RTC_ALARM2_1P8S

#define RTC_ALARM2_1P8S ((uint8_t)0x04)

RTC ALARM2 cycle time set 1/8s

## ◆ RTC_ALARM2_1S

#define RTC_ALARM2_1S ((uint8_t)0x01)

RTC ALARM2 cycle time set 1s

## ◆ RTC_ALARM2_24H

#define RTC_ALARM2_24H ((uint8_t)0x0F)

RTC ALARM2 cycle time set 24 HOURS

## ◆ RTC_ALARM2_30M

#define RTC_ALARM2_30M ((uint8_t)0x0C)

RTC ALARM2 cycle time set 30 MINUTS

## ◆ RTC_ALARM2_30S

#define RTC_ALARM2_30S ((uint8_t)0x0A)

RTC ALARM2 cycle time set 30s

## ◆ RTC_ALARM2_60M

#define RTC_ALARM2_60M ((uint8_t)0x0D)

RTC ALARM2 cycle time set 60 MINUTS

## ◆ RTC_ALARM2_CLOSE

#define RTC_ALARM2_CLOSE ((uint8_t)0x00)

RTC ALARM2 disabled