Searched refs:nu_timer2 (Results 1 – 3 of 3) sorted by relevance
51 static nu_timer_t nu_timer2; variable233 nu_timer2.timer_periph = TIMER2; in rt_hw_timer_init()234 nu_timer2.parent.info = &nu_timer_info; in rt_hw_timer_init()235 nu_timer2.parent.ops = &nu_timer_ops; in rt_hw_timer_init()236 nu_timer2.IRQn = TMR2_IRQn; in rt_hw_timer_init()237 ret = rt_device_hwtimer_register(&nu_timer2.parent, "timer2", &nu_timer2); in rt_hw_timer_init()303 rt_device_hwtimer_isr(&nu_timer2.parent); in TMR2_IRQHandler()
52 static nu_timer_t nu_timer2; variable234 nu_timer2.timer_periph = TIMER2; in rt_hw_timer_init()235 nu_timer2.parent.info = &nu_timer_info; in rt_hw_timer_init()236 nu_timer2.parent.ops = &nu_timer_ops; in rt_hw_timer_init()237 nu_timer2.IRQn = TMR2_IRQn; in rt_hw_timer_init()238 ret = rt_device_hwtimer_register(&nu_timer2.parent, "timer2", &nu_timer2); in rt_hw_timer_init()304 rt_device_hwtimer_isr(&nu_timer2.parent); in TMR2_IRQHandler()
51 static nu_timer_t nu_timer2; variable241 nu_timer2.timer_periph = TIMER2; in rt_hw_timer_init()242 nu_timer2.parent.info = &nu_timer_info; in rt_hw_timer_init()243 nu_timer2.parent.ops = &nu_timer_ops; in rt_hw_timer_init()244 nu_timer2.IRQn = TMR2_IRQn; in rt_hw_timer_init()245 ret = rt_device_hwtimer_register(&nu_timer2.parent, "timer2", &nu_timer2); in rt_hw_timer_init()339 rt_device_hwtimer_isr(&nu_timer2.parent); in TMR2_IRQHandler()
Completed in 5 milliseconds