Lines Matching refs:timer_device
110 TIMER_Enable(timer->timer_device, false); in rt_hs_timer_control()
116 TIMER_Enable(timer->timer_device, true); in rt_hs_timer_control()
126 running = timer->timer_device->STATUS & 0x00000001; in rt_hs_timer_control()
128 TIMER_Enable(timer->timer_device, false); in rt_hs_timer_control()
129 timer->timer_device->CNT = _TIMER_CNT_RESETVALUE; in rt_hs_timer_control()
130 TIMER_TopSet(timer->timer_device, TIMER_TopCalculate(control->period)); in rt_hs_timer_control()
135 TIMER_Enable(timer->timer_device, true); in rt_hs_timer_control()
258 timer->timer_device = TIMER0; in rt_hw_timer_unit_init()
264 timer->timer_device = TIMER1; in rt_hw_timer_unit_init()
270 timer->timer_device = TIMER2; in rt_hw_timer_unit_init()
283 TIMER_Reset(timer->timer_device); in rt_hw_timer_unit_init()
297 TIMER_Init(timer->timer_device, &init); in rt_hw_timer_unit_init()
307 TIMER_IntEnable(timer->timer_device, TIMER_IF_OF); in rt_hw_timer_unit_init()
308 TIMER_IntClear(timer->timer_device, TIMER_IF_OF); in rt_hw_timer_unit_init()