33 #ifndef __SILICON_LABS_EM_RTC_H__
34 #define __SILICON_LABS_EM_RTC_H__
37 #if defined(RTC_COUNT) && (RTC_COUNT > 0)
68 #define RTC_INIT_DEFAULT \
80 uint32_t RTC_CompareGet(
unsigned int comp);
81 void RTC_CompareSet(
unsigned int comp, uint32_t value);
90 __STATIC_INLINE uint32_t RTC_CounterGet(
void)
95 void RTC_CounterReset(
void);
96 void RTC_Enable(
bool enable);
97 void RTC_FreezeEnable(
bool enable);
98 void RTC_Init(
const RTC_Init_TypeDef *init);
109 __STATIC_INLINE
void RTC_IntClear(uint32_t flags)
124 __STATIC_INLINE
void RTC_IntDisable(uint32_t flags)
144 __STATIC_INLINE
void RTC_IntEnable(uint32_t flags)
161 __STATIC_INLINE uint32_t RTC_IntGet(
void)
181 __STATIC_INLINE uint32_t RTC_IntGetEnabled(
void)
186 return RTC->IF & ien;
199 __STATIC_INLINE
void RTC_IntSet(uint32_t flags)
204 void RTC_Reset(
void);
CMSIS Cortex-M Peripheral Access Layer for Silicon Laboratories microcontroller devices.