MG32F10x Standard Peripherals Firmware Library

宏定义
RTC_interrupts_define
MG32F10x_StdPeriph_Driver » RTC » RTC_Exported_Constants

## 宏定义
#define | RTC_IT_OW ((uint16_t)0x0004)
#define | RTC_IT_ALR ((uint16_t)0x0002)
#define | RTC_IT_SEC ((uint16_t)0x0001)
#define | IS_RTC_IT(IT) ((((IT) & (uint16_t)0xFFF8) == 0x00) && ((IT) != 0x00))
#define | IS_RTC_GET_IT(IT)

## 详细描述

## 宏定义说明

## ◆ IS_RTC_GET_IT

#define IS_RTC_GET_IT | ( |  | IT | ) |

值:
(((IT) == RTC_IT_OW) || ((IT) == RTC_IT_ALR) || \
((IT) == RTC_IT_SEC))
RTC_IT_SEC
#define RTC_IT_SEC
Definition: mg32f10x_rtc.h:42
RTC_IT_ALR
#define RTC_IT_ALR
Definition: mg32f10x_rtc.h:41
RTC_IT_OW
#define RTC_IT_OW
Definition: mg32f10x_rtc.h:40

## ◆ RTC_IT_ALR

#define RTC_IT_ALR ((uint16_t)0x0002)

Alarm interrupt

## ◆ RTC_IT_OW

#define RTC_IT_OW ((uint16_t)0x0004)

Overflow interrupt

## ◆ RTC_IT_SEC

#define RTC_IT_SEC ((uint16_t)0x0001)

Second interrupt