MG32L003 Standard Peripherals Firmware Library
Macros
RTC_CLOCK_SOURCE_Definitions
MG32L003_StdPeriph_Driver
»
RTC
»
RTC_Exported_Constants
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))
Generated by megawin Technology (Shenzhen) Corp., Ltd. All rights reserved.