Searched refs:tmr_device (Results 1 – 4 of 4) sorted by relevance
132 irq_config.irq_num = tmr_device->isr.enIRQn; in _timer_init()133 irq_config.int_src = tmr_device->isr.enIntSrc; in _timer_init()159 TMRA_DeInit(tmr_device->tmr_handle); in _timer_init()172 struct hc32_hwtimer *tmr_device = RT_NULL; in _timer_start() local176 tmr_device = (struct hc32_hwtimer *)timer; in _timer_start()181 TMRA_Start(tmr_device->tmr_handle); in _timer_start()188 struct hc32_hwtimer *tmr_device = RT_NULL; in _timer_stop() local192 tmr_device = (struct hc32_hwtimer *)timer; in _timer_stop()195 TMRA_Stop(tmr_device->tmr_handle); in _timer_stop()235 struct hc32_hwtimer *tmr_device = RT_NULL; in _timer_counter_get() local[all …]
85 rt_hwtimer_t tmr_device; member180 struct at32_hwtimer *tmr_device = RT_NULL; in at32_timer_init() local186 tmr_device = (struct at32_hwtimer *)timer; in at32_timer_init()235 nvic_irq_enable(tmr_device->tmr_irqn, 2, 0); in at32_timer_init()240 LOG_D("%s init success", tmr_device->name); in at32_timer_init()383 rt_device_hwtimer_isr(&at32_hwtimer_obj[TMR2_INDEX].tmr_device); in TMR2_GLOBAL_IRQHandler()399 rt_device_hwtimer_isr(&at32_hwtimer_obj[TMR3_INDEX].tmr_device); in TMR3_GLOBAL_IRQHandler()415 rt_device_hwtimer_isr(&at32_hwtimer_obj[TMR4_INDEX].tmr_device); in TMR4_GLOBAL_IRQHandler()431 rt_device_hwtimer_isr(&at32_hwtimer_obj[TMR5_INDEX].tmr_device); in TMR5_GLOBAL_IRQHandler()446 at32_hwtimer_obj[i].tmr_device.info = &_info; in rt_hw_hwtimer_init()[all …]
194 rt_device_hwtimer_isr(&ra_hwtimer_obj[BSP_TIMER0_INDEX].tmr_device); in timer0_callback()212 rt_device_hwtimer_isr(&ra_hwtimer_obj[BSP_TIMER1_INDEX].tmr_device); in timer1_callback()239 ra_hwtimer_obj[i].tmr_device.info = &_info; in rt_hw_hwtimer_init()240 ra_hwtimer_obj[i].tmr_device.ops = &_ops; in rt_hw_hwtimer_init()241 …if (rt_device_hwtimer_register(&ra_hwtimer_obj[i].tmr_device, ra_hwtimer_obj[i].name, &ra_hwtimer_… in rt_hw_hwtimer_init()
26 rt_hwtimer_t tmr_device; member
Completed in 13 milliseconds