Macros
Collaboration diagram for RTC_interrupts_flags:

Macros

#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)
 
#define RTC_FLAG_ALR   ((uint16_t)0x0002)
 
#define RTC_FLAG_OW   ((uint16_t)0x0004)
 
#define RTC_FLAG_RSF   ((uint16_t)0x0008)
 
#define RTC_FLAG_RTOFF   ((uint16_t)0x0020)
 
#define RTC_FLAG_SEC   ((uint16_t)0x0001)
 

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))
#define RTC_FLAG_OW
Definition: stm32f10x_rtc.h:74
#define RTC_FLAG_SEC
Definition: stm32f10x_rtc.h:76
#define RTC_FLAG_RSF
Definition: stm32f10x_rtc.h:73
#define RTC_FLAG_RTOFF
Definition: stm32f10x_rtc.h:72
#define RTC_FLAG_ALR
Definition: stm32f10x_rtc.h:75

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.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 19:59:30