Lines Matching refs:timer

359 __STATIC_INLINE uint32_t TIMER_CaptureGet(TIMER_TypeDef *timer, unsigned int ch)  in TIMER_CaptureGet()  argument
361 return(timer->CC[ch].CCV); in TIMER_CaptureGet()
384 __STATIC_INLINE void TIMER_CompareBufSet(TIMER_TypeDef *timer, in TIMER_CompareBufSet() argument
388 timer->CC[ch].CCVB = val; in TIMER_CompareBufSet()
406 __STATIC_INLINE void TIMER_CompareSet(TIMER_TypeDef *timer, in TIMER_CompareSet() argument
410 timer->CC[ch].CCV = val; in TIMER_CompareSet()
424 __STATIC_INLINE uint32_t TIMER_CounterGet(TIMER_TypeDef *timer) in TIMER_CounterGet() argument
426 return(timer->CNT); in TIMER_CounterGet()
440 __STATIC_INLINE void TIMER_CounterSet(TIMER_TypeDef *timer, uint32_t val) in TIMER_CounterSet() argument
442 timer->CNT = val; in TIMER_CounterSet()
446 void TIMER_Enable(TIMER_TypeDef *timer, bool enable);
447 void TIMER_Init(TIMER_TypeDef *timer, const TIMER_Init_TypeDef *init);
448 void TIMER_InitCC(TIMER_TypeDef *timer,
464 __STATIC_INLINE void TIMER_IntClear(TIMER_TypeDef *timer, uint32_t flags) in TIMER_IntClear() argument
466 timer->IFC = flags; in TIMER_IntClear()
481 __STATIC_INLINE void TIMER_IntDisable(TIMER_TypeDef *timer, uint32_t flags) in TIMER_IntDisable() argument
483 timer->IEN &= ~(flags); in TIMER_IntDisable()
503 __STATIC_INLINE void TIMER_IntEnable(TIMER_TypeDef *timer, uint32_t flags) in TIMER_IntEnable() argument
505 timer->IEN |= flags; in TIMER_IntEnable()
523 __STATIC_INLINE uint32_t TIMER_IntGet(TIMER_TypeDef *timer) in TIMER_IntGet() argument
525 return(timer->IF); in TIMER_IntGet()
548 __STATIC_INLINE uint32_t TIMER_IntGetEnabled(TIMER_TypeDef *timer) in TIMER_IntGetEnabled() argument
554 tmp = timer->IEN; in TIMER_IntGetEnabled()
557 return timer->IF & tmp; in TIMER_IntGetEnabled()
572 __STATIC_INLINE void TIMER_IntSet(TIMER_TypeDef *timer, uint32_t flags) in TIMER_IntSet() argument
574 timer->IFS = flags; in TIMER_IntSet()
578 void TIMER_Lock(TIMER_TypeDef *timer);
581 void TIMER_Reset(TIMER_TypeDef *timer);
598 __STATIC_INLINE void TIMER_TopBufSet(TIMER_TypeDef *timer, uint32_t val) in TIMER_TopBufSet() argument
600 timer->TOPB = val; in TIMER_TopBufSet()
614 __STATIC_INLINE uint32_t TIMER_TopGet(TIMER_TypeDef *timer) in TIMER_TopGet() argument
616 return(timer->TOP); in TIMER_TopGet()
630 __STATIC_INLINE void TIMER_TopSet(TIMER_TypeDef *timer, uint32_t val) in TIMER_TopSet() argument
632 timer->TOP = val; in TIMER_TopSet()
636 void TIMER_Unlock(TIMER_TypeDef *timer);