RTC_interrupts_flags
[RTC_Exported_Constants]

Defines

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

Define Documentation

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

Definition at line 76 of file stm32f10x_rtc.h.

Referenced by RTC_ClearFlag().

#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 77 of file stm32f10x_rtc.h.

Referenced by RTC_GetFlagStatus().

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

Definition at line 80 of file stm32f10x_rtc.h.

Referenced by RTC_SetPrescaler().

#define RTC_FLAG_ALR   ((uint16_t)0x0002)

Alarm flag

Definition at line 74 of file stm32f10x_rtc.h.

#define RTC_FLAG_OW   ((uint16_t)0x0004)

Overflow flag

Definition at line 73 of file stm32f10x_rtc.h.

#define RTC_FLAG_RSF   ((uint16_t)0x0008)

Registers Synchronized flag

Definition at line 72 of file stm32f10x_rtc.h.

Referenced by RTC_WaitForSynchro().

#define RTC_FLAG_RTOFF   ((uint16_t)0x0020)

RTC Operation OFF flag

Definition at line 71 of file stm32f10x_rtc.h.

Referenced by RTC_WaitForLastTask().

#define RTC_FLAG_SEC   ((uint16_t)0x0001)

Second flag

Definition at line 75 of file stm32f10x_rtc.h.

Referenced by EXTI9_5_IRQHandler(), main(), and RTC_IRQHandler().

STM32F10x Standard Peripherals Library: Footer

 

 

 

      For complete documentation on STM32(CORTEX M3) 32-bit Microcontrollers platform visit  www.st.com/STM32