38 #if defined(LETIMER_COUNT) && (LETIMER_COUNT > 0)
100 #if defined(LETIMER_CTRL_RTCC0TEN)
114 #if defined(LETIMER_CTRL_RTCC0TEN)
115 #define LETIMER_INIT_DEFAULT \
130 #define LETIMER_INIT_DEFAULT \
166 return(letimer->
CNT);
171 #if defined(_LETIMER_FREEZE_MASK)
191 letimer->
IFC = flags;
208 letimer->
IEN &= ~flags;
230 letimer->
IEN |= flags;
285 return letimer->
IF & ien;
302 letimer->
IFS = flags;
void LETIMER_Enable(LETIMER_TypeDef *letimer, bool enable)
Start/stop LETIMER.
void LETIMER_Init(LETIMER_TypeDef *letimer, const LETIMER_Init_TypeDef *init)
Initialize LETIMER.
uint32_t LETIMER_CompareGet(LETIMER_TypeDef *letimer, unsigned int comp)
Get LETIMER compare register value.
LETIMER_UFOA_TypeDef ufoa1
uint32_t LETIMER_RepeatGet(LETIMER_TypeDef *letimer, unsigned int rep)
Get LETIMER repeat register value.
LETIMER_RepeatMode_TypeDef
__STATIC_INLINE void LETIMER_IntClear(LETIMER_TypeDef *letimer, uint32_t flags)
Clear one or more pending LETIMER interrupts.
#define _LETIMER_CTRL_REPMODE_ONESHOT
CMSIS Cortex-M Peripheral Access Layer for Silicon Laboratories microcontroller devices.
#define _LETIMER_CTRL_REPMODE_FREE
void LETIMER_Reset(LETIMER_TypeDef *letimer)
Reset LETIMER to same state as after a HW reset.
void LETIMER_RepeatSet(LETIMER_TypeDef *letimer, unsigned int rep, uint32_t value)
Set LETIMER repeat counter register value.
LETIMER_UFOA_TypeDef ufoa0
#define _LETIMER_CTRL_UFOA0_PWM
__STATIC_INLINE void LETIMER_IntEnable(LETIMER_TypeDef *letimer, uint32_t flags)
Enable one or more LETIMER interrupts.
__STATIC_INLINE void LETIMER_IntSet(LETIMER_TypeDef *letimer, uint32_t flags)
Set one or more pending LETIMER interrupts from SW.
#define _LETIMER_CTRL_UFOA0_NONE
void LETIMER_CompareSet(LETIMER_TypeDef *letimer, unsigned int comp, uint32_t value)
Set LETIMER compare register value.
#define _LETIMER_CTRL_REPMODE_DOUBLE
LETIMER_RepeatMode_TypeDef repMode
__STATIC_INLINE uint32_t LETIMER_IntGet(LETIMER_TypeDef *letimer)
Get pending LETIMER interrupt flags.
#define _LETIMER_CTRL_UFOA0_PULSE
#define _LETIMER_CTRL_REPMODE_BUFFERED
__STATIC_INLINE uint32_t LETIMER_CounterGet(LETIMER_TypeDef *letimer)
Get LETIMER counter value.
__STATIC_INLINE uint32_t LETIMER_IntGetEnabled(LETIMER_TypeDef *letimer)
Get enabled and pending LETIMER interrupt flags.
__STATIC_INLINE void LETIMER_IntDisable(LETIMER_TypeDef *letimer, uint32_t flags)
Disable one or more LETIMER interrupts.
#define _LETIMER_CTRL_UFOA0_TOGGLE