uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
RTC_interrupts_define

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

#define IS_RTC_GET_IT (   IT)
Value:
(((IT) == RTC_IT_OW) || ((IT) == RTC_IT_ALR) || \
((IT) == RTC_IT_SEC))

Definition at line 62 of file stm32f10x_rtc.h.

#define IS_RTC_IT (   IT)    ((((IT) & (uint16_t)0xFFF8) == 0x00) && ((IT) != 0x00))

Definition at line 61 of file stm32f10x_rtc.h.

#define RTC_IT_ALR   ((uint16_t)0x0002)

Alarm interrupt

Definition at line 59 of file stm32f10x_rtc.h.

#define RTC_IT_OW   ((uint16_t)0x0004)

Overflow interrupt

Definition at line 58 of file stm32f10x_rtc.h.

#define RTC_IT_SEC   ((uint16_t)0x0001)

Second interrupt

Definition at line 60 of file stm32f10x_rtc.h.