WB32F10x Standard Peripherals Firmware Library

宏定义
RTC_interrupts_flags
WB32F10x_StdPeriph_Driver » RTC » RTC_Exported_Constants

## 宏定义
#define | RTC_FLAG_RTOFF ((uint16_t)0x0020)
#define | RTC_FLAG_RSF ((uint16_t)0x0008)
#define | RTC_FLAG_OW ((uint16_t)0x0004)
#define | RTC_FLAG_ALR ((uint16_t)0x0002)
#define | RTC_FLAG_SEC ((uint16_t)0x0001)
#define | IS_RTC_CLEAR_FLAG(FLAG) ((((FLAG) & (uint16_t)0xFFF0) == 0x00) && ((FLAG) != 0x00))
#define | IS_RTC_GET_FLAG(FLAG)
#define | IS_RTC_PRESCALER(PRESCALER) ((PRESCALER) <= 0xFFFFF)

## 详细描述

## 宏定义说明

## ◆ IS_RTC_GET_FLAG

#define IS_RTC_GET_FLAG | ( |  | FLAG | ) |

值:
(((FLAG) == RTC_FLAG_RTOFF) || ((FLAG) == RTC_FLAG_RSF) || \
((FLAG) == RTC_FLAG_OW) || ((FLAG) == RTC_FLAG_ALR) || \
((FLAG) == RTC_FLAG_SEC))
RTC_FLAG_OW
#define RTC_FLAG_OW
Definition: wb32f10x_rtc.h:56
RTC_FLAG_ALR
#define RTC_FLAG_ALR
Definition: wb32f10x_rtc.h:57
RTC_FLAG_RTOFF
#define RTC_FLAG_RTOFF
Definition: wb32f10x_rtc.h:54
RTC_FLAG_RSF
#define RTC_FLAG_RSF
Definition: wb32f10x_rtc.h:55
RTC_FLAG_SEC
#define RTC_FLAG_SEC
Definition: wb32f10x_rtc.h:58

## ◆ RTC_FLAG_ALR

#define RTC_FLAG_ALR ((uint16_t)0x0002)

Alarm flag

## ◆ RTC_FLAG_OW

#define RTC_FLAG_OW ((uint16_t)0x0004)

Overflow flag

## ◆ RTC_FLAG_RSF

#define RTC_FLAG_RSF ((uint16_t)0x0008)

Registers Synchronized flag

## ◆ RTC_FLAG_RTOFF

#define RTC_FLAG_RTOFF ((uint16_t)0x0020)

RTC Operation OFF flag

## ◆ RTC_FLAG_SEC

#define RTC_FLAG_SEC ((uint16_t)0x0001)

Second flag