MG32L003 Standard Peripherals Firmware Library
Macros
RTC_CLOCK_SOURCE_Definitions

Macros

#define RTC_CLOCK_LSE   (0x00UL << RTC_CLKCR_RTCCKSEL_Pos)
 
#define RTC_CLOCK_LSI   (0x01UL << RTC_CLKCR_RTCCKSEL_Pos)
 
#define RTC_CLOCK_HSE   (0x02UL << RTC_CLKCR_RTCCKSEL_Pos)
 
#define IS_RTC_CLK_SOURCE(CLK)
 

Detailed Description

Macro Definition Documentation

◆ IS_RTC_CLK_SOURCE

#define IS_RTC_CLK_SOURCE (   CLK)
Value:
(((CLK) == RTC_CLOCK_LSE) || \
((CLK) == RTC_CLOCK_LSI) || \
((CLK) == RTC_CLOCK_HSE))