37 #if defined(RTC_COUNT) && (RTC_COUNT > 0)
68 #define RTC_INIT_DEFAULT \
95 #if !defined(_EFM32_GECKO_FAMILY)
200 return RTC->IF & ien;
void RTC_Reset(void)
Restore RTC to reset state.
__STATIC_INLINE void RTC_IntDisable(uint32_t flags)
Disable one or more RTC interrupts.
__STATIC_INLINE uint32_t RTC_IntGetEnabled(void)
Get enabled and pending RTC interrupt flags. Useful for handling more interrupt sources in the same i...
void RTC_CounterReset(void)
Restart RTC counter from zero.
__STATIC_INLINE void RTC_IntClear(uint32_t flags)
Clear one or more pending RTC interrupts.
__STATIC_INLINE uint32_t RTC_CounterGet(void)
Get RTC counter value.
CMSIS Cortex-M Peripheral Access Layer for Silicon Laboratories microcontroller devices.
void RTC_CompareSet(unsigned int comp, uint32_t value)
Set RTC compare register value.
__STATIC_INLINE uint32_t RTC_IntGet(void)
Get pending RTC interrupt flags.
__STATIC_INLINE void RTC_CounterSet(uint32_t value)
Set the RTC counter value.
__STATIC_INLINE void RTC_IntEnable(uint32_t flags)
Enable one or more RTC interrupts.
__STATIC_INLINE void RTC_IntSet(uint32_t flags)
Set one or more pending RTC interrupts from SW.
void RTC_Init(const RTC_Init_TypeDef *init)
Initialize RTC.
void RTC_Enable(bool enable)
Enable/disable RTC.
void RTC_FreezeEnable(bool enable)
RTC register synchronization freeze control.
uint32_t RTC_CompareGet(unsigned int comp)
Get RTC compare register value.