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

Macros

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

Detailed Description

Macro Definition Documentation

#define IS_RTC_CLEAR_FLAG (   FLAG)    ((((FLAG) & (uint16_t)0xFFF0) == 0x00) && ((FLAG) != 0x00))

Definition at line 77 of file stm32f10x_rtc.h.

#define IS_RTC_GET_FLAG (   FLAG)
Value:
(((FLAG) == RTC_FLAG_RTOFF) || ((FLAG) == RTC_FLAG_RSF) || \
((FLAG) == RTC_FLAG_OW) || ((FLAG) == RTC_FLAG_ALR) || \
((FLAG) == RTC_FLAG_SEC))

Definition at line 78 of file stm32f10x_rtc.h.

#define IS_RTC_PRESCALER (   PRESCALER)    ((PRESCALER) <= 0xFFFFF)

Definition at line 81 of file stm32f10x_rtc.h.

#define RTC_FLAG_ALR   ((uint16_t)0x0002)

Alarm flag

Definition at line 75 of file stm32f10x_rtc.h.

#define RTC_FLAG_OW   ((uint16_t)0x0004)

Overflow flag

Definition at line 74 of file stm32f10x_rtc.h.

#define RTC_FLAG_RSF   ((uint16_t)0x0008)

Registers Synchronized flag

Definition at line 73 of file stm32f10x_rtc.h.

#define RTC_FLAG_RTOFF   ((uint16_t)0x0020)

RTC Operation OFF flag

Definition at line 72 of file stm32f10x_rtc.h.

#define RTC_FLAG_SEC   ((uint16_t)0x0001)

Second flag

Definition at line 76 of file stm32f10x_rtc.h.