Lines Matching defs:tmr

27 int MXC_TMR_Init(mxc_tmr_regs_t *tmr, mxc_tmr_cfg_t *cfg, bool init_pins)  in MXC_TMR_Init()
185 void MXC_TMR_Shutdown(mxc_tmr_regs_t *tmr) in MXC_TMR_Shutdown()
218 void MXC_TMR_Start(mxc_tmr_regs_t *tmr) in MXC_TMR_Start()
223 void MXC_TMR_Stop(mxc_tmr_regs_t *tmr) in MXC_TMR_Stop()
228 int MXC_TMR_SetPWM(mxc_tmr_regs_t *tmr, uint32_t pwm) in MXC_TMR_SetPWM()
233 uint32_t MXC_TMR_GetCompare(mxc_tmr_regs_t *tmr) in MXC_TMR_GetCompare()
238 uint32_t MXC_TMR_GetCapture(mxc_tmr_regs_t *tmr) in MXC_TMR_GetCapture()
243 uint32_t MXC_TMR_GetPeriod(mxc_tmr_regs_t *tmr, mxc_tmr_clock_t clock, uint32_t prescalar, in MXC_TMR_GetPeriod()
295 uint32_t MXC_TMR_GetCount(mxc_tmr_regs_t *tmr) in MXC_TMR_GetCount()
300 void MXC_TMR_ClearFlags(mxc_tmr_regs_t *tmr) in MXC_TMR_ClearFlags()
305 uint32_t MXC_TMR_GetFlags(mxc_tmr_regs_t *tmr) in MXC_TMR_GetFlags()
310 void MXC_TMR_EnableInt(mxc_tmr_regs_t *tmr) in MXC_TMR_EnableInt()
315 void MXC_TMR_DisableInt(mxc_tmr_regs_t *tmr) in MXC_TMR_DisableInt()
320 void MXC_TMR_EnableWakeup(mxc_tmr_regs_t *tmr, mxc_tmr_cfg_t *cfg) in MXC_TMR_EnableWakeup()
325 void MXC_TMR_DisableWakeup(mxc_tmr_regs_t *tmr, mxc_tmr_cfg_t *cfg) in MXC_TMR_DisableWakeup()
330 void MXC_TMR_SetCompare(mxc_tmr_regs_t *tmr, uint32_t cmp_cnt) in MXC_TMR_SetCompare()
335 void MXC_TMR_SetCount(mxc_tmr_regs_t *tmr, uint32_t cnt) in MXC_TMR_SetCount()
340 void MXC_TMR_Delay(mxc_tmr_regs_t *tmr, uint32_t us) in MXC_TMR_Delay()
345 void MXC_TMR_TO_Start(mxc_tmr_regs_t *tmr, uint32_t us) in MXC_TMR_TO_Start()
350 int MXC_TMR_TO_Check(mxc_tmr_regs_t *tmr) in MXC_TMR_TO_Check()
355 void MXC_TMR_TO_Stop(mxc_tmr_regs_t *tmr) in MXC_TMR_TO_Stop()
360 void MXC_TMR_TO_Clear(mxc_tmr_regs_t *tmr) in MXC_TMR_TO_Clear()
365 unsigned int MXC_TMR_TO_Elapsed(mxc_tmr_regs_t *tmr) in MXC_TMR_TO_Elapsed()
370 unsigned int MXC_TMR_TO_Remaining(mxc_tmr_regs_t *tmr) in MXC_TMR_TO_Remaining()
375 void MXC_TMR_SW_Start(mxc_tmr_regs_t *tmr) in MXC_TMR_SW_Start()
380 unsigned int MXC_TMR_SW_Stop(mxc_tmr_regs_t *tmr) in MXC_TMR_SW_Stop()
385 int MXC_TMR_GetTime(mxc_tmr_regs_t *tmr, uint32_t ticks, uint32_t *time, mxc_tmr_unit_t *units) in MXC_TMR_GetTime()
390 int MXC_TMR_GetTicks(mxc_tmr_regs_t *tmr, uint32_t time, mxc_tmr_unit_t units, uint32_t *ticks) in MXC_TMR_GetTicks()