MG32F10x Standard Peripherals Firmware Library
Macros

Macros

#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)
 

Detailed Description

Macro Definition Documentation

◆ IS_RTC_GET_IT

#define IS_RTC_GET_IT (   IT)
Value:
(((IT) == RTC_IT_OW) || ((IT) == RTC_IT_ALR) || \
((IT) == RTC_IT_SEC))
#define RTC_IT_SEC
Definition: mg32f10x_rtc.h:42
#define RTC_IT_ALR
Definition: mg32f10x_rtc.h:41
#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