Lines Matching refs:letimer

140 uint32_t LETIMER_CompareGet(LETIMER_TypeDef *letimer, unsigned int comp);
141 void LETIMER_CompareSet(LETIMER_TypeDef *letimer,
144 uint32_t LETIMER_CounterGet(LETIMER_TypeDef *letimer);
146 void LETIMER_CounterSet(LETIMER_TypeDef *letimer, uint32_t value);
149 void LETIMER_Enable(LETIMER_TypeDef *letimer, bool enable);
151 void LETIMER_FreezeEnable(LETIMER_TypeDef *letimer, bool enable);
153 void LETIMER_Init(LETIMER_TypeDef *letimer, const LETIMER_Init_TypeDef *init);
167 __STATIC_INLINE void LETIMER_IntClear(LETIMER_TypeDef *letimer, uint32_t flags) in LETIMER_IntClear() argument
170 letimer->IF_CLR = flags; in LETIMER_IntClear()
172 letimer->IFC = flags; in LETIMER_IntClear()
187 __STATIC_INLINE void LETIMER_IntDisable(LETIMER_TypeDef *letimer, uint32_t flags) in LETIMER_IntDisable() argument
189 letimer->IEN &= ~flags; in LETIMER_IntDisable()
208 __STATIC_INLINE void LETIMER_IntEnable(LETIMER_TypeDef *letimer, uint32_t flags) in LETIMER_IntEnable() argument
210 letimer->IEN |= flags; in LETIMER_IntEnable()
227 __STATIC_INLINE uint32_t LETIMER_IntGet(LETIMER_TypeDef *letimer) in LETIMER_IntGet() argument
229 return letimer->IF; in LETIMER_IntGet()
253 __STATIC_INLINE uint32_t LETIMER_IntGetEnabled(LETIMER_TypeDef *letimer) in LETIMER_IntGetEnabled() argument
259 ien = letimer->IEN; in LETIMER_IntGetEnabled()
262 return letimer->IF & ien; in LETIMER_IntGetEnabled()
276 __STATIC_INLINE void LETIMER_IntSet(LETIMER_TypeDef *letimer, uint32_t flags) in LETIMER_IntSet() argument
279 letimer->IF_SET = flags; in LETIMER_IntSet()
281 letimer->IFS = flags; in LETIMER_IntSet()
298 __STATIC_INLINE void LETIMER_Lock(LETIMER_TypeDef *letimer) in LETIMER_Lock() argument
300 letimer->LOCK = ~LETIMER_LOCK_LETIMERLOCKKEY_UNLOCK; in LETIMER_Lock()
312 __STATIC_INLINE void LETIMER_Unlock(LETIMER_TypeDef *letimer) in LETIMER_Unlock() argument
314 letimer->LOCK = LETIMER_LOCK_LETIMERLOCKKEY_UNLOCK; in LETIMER_Unlock()
318 uint32_t LETIMER_RepeatGet(LETIMER_TypeDef *letimer, unsigned int rep);
319 void LETIMER_RepeatSet(LETIMER_TypeDef *letimer,
322 void LETIMER_Reset(LETIMER_TypeDef *letimer);
323 void LETIMER_SyncWait(LETIMER_TypeDef *letimer);
324 void LETIMER_TopSet(LETIMER_TypeDef *letimer, uint32_t value);
325 uint32_t LETIMER_TopGet(LETIMER_TypeDef *letimer);