STM32F4 Standard Peripheral bibliotheek  1.0
ST Microelectronics bibliotheek documentatie voor de STM32F4 Standard Peripheral Library
 All Data Structures Files Functions Variables Enumerations Enumerator Groups
RTC_Wakeup_Timer_Definitions

Macros

#define RTC_WakeUpClock_RTCCLK_Div16   ((uint32_t)0x00000000)
 
#define RTC_WakeUpClock_RTCCLK_Div8   ((uint32_t)0x00000001)
 
#define RTC_WakeUpClock_RTCCLK_Div4   ((uint32_t)0x00000002)
 
#define RTC_WakeUpClock_RTCCLK_Div2   ((uint32_t)0x00000003)
 
#define RTC_WakeUpClock_CK_SPRE_16bits   ((uint32_t)0x00000004)
 
#define RTC_WakeUpClock_CK_SPRE_17bits   ((uint32_t)0x00000006)
 
#define IS_RTC_WAKEUP_CLOCK(CLOCK)
 
#define IS_RTC_WAKEUP_COUNTER(COUNTER)   ((COUNTER) <= 0xFFFF)
 

Detailed Description

Macro Definition Documentation

#define IS_RTC_WAKEUP_CLOCK (   CLOCK)
Value:
(((CLOCK) == RTC_WakeUpClock_RTCCLK_Div16) || \
((CLOCK) == RTC_WakeUpClock_RTCCLK_Div8) || \
((CLOCK) == RTC_WakeUpClock_RTCCLK_Div4) || \
((CLOCK) == RTC_WakeUpClock_RTCCLK_Div2) || \
((CLOCK) == RTC_WakeUpClock_CK_SPRE_16bits) || \
((CLOCK) == RTC_WakeUpClock_CK_SPRE_17bits))