Searched refs:timer_device (Results 1 – 6 of 6) sorted by relevance
158 RT_ASSERT(timer_device != RT_NULL); in swm_timer_configure()164 timer_device->freq = SystemCoreClock; in swm_timer_configure()172 RT_ASSERT(timer_device != RT_NULL); in swm_timer_start()173 hwtimer_cfg = timer_device->parent.user_data; in swm_timer_start()182 timer_device->mode = HWTIMER_MODE_PERIOD; in swm_timer_start()194 RT_ASSERT(timer_device != RT_NULL); in swm_timer_stop()204 RT_ASSERT(timer_device != RT_NULL); in swm_timer_count_get()214 RT_ASSERT(timer_device != RT_NULL); in swm_timer_control()248 void swm_timer_isr(rt_hwtimer_t *timer_device) in swm_timer_isr() argument251 RT_ASSERT(timer_device != RT_NULL); in swm_timer_isr()[all …]
336 RT_ASSERT(timer_device != RT_NULL); in swm_timer_configure()342 timer_device->freq = 1000000; in swm_timer_configure()350 RT_ASSERT(timer_device != RT_NULL); in swm_timer_start()351 hwtimer_cfg = timer_device->parent.user_data; in swm_timer_start()360 timer_device->mode = HWTIMER_MODE_PERIOD; in swm_timer_start()372 RT_ASSERT(timer_device != RT_NULL); in swm_timer_stop()382 RT_ASSERT(timer_device != RT_NULL); in swm_timer_count_get()392 RT_ASSERT(timer_device != RT_NULL); in swm_timer_control()426 void swm_timer_isr(rt_hwtimer_t *timer_device) in swm_timer_isr() argument429 RT_ASSERT(timer_device != RT_NULL); in swm_timer_isr()[all …]
110 TIMER_Enable(timer->timer_device, false); in rt_hs_timer_control()116 TIMER_Enable(timer->timer_device, true); in rt_hs_timer_control()128 TIMER_Enable(timer->timer_device, false); 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()[all …]
20 TIMER_TypeDef *timer_device; member
19 rt_hwtimer_t timer_device; member149 mcx_hwtimer_list[i].timer_device.info = &mcx_hwtimer_info; in rt_hw_hwtimer_init()150 mcx_hwtimer_list[i].timer_device.ops = &mcx_hwtimer_ops; in rt_hw_hwtimer_init()152 …rt_err_t ret = rt_device_hwtimer_register(&mcx_hwtimer_list[i].timer_device, mcx_hwtimer_list[i].n… in rt_hw_hwtimer_init()176 rt_device_hwtimer_isr(&mcx_hwtimer_list[i].timer_device); in MRT0_IRQHandler()
49 rt_hwtimer_t timer_device; member104 rt_hwtimer_t *timer_device = (struct rt_hwtimer_device *)p_context; in timer_callback() local109 rt_device_hwtimer_isr(timer_device); in timer_callback()302 nrf5x_hwtimer_obj[i].timer_device.info = &_info; in nrf5x_hwtimer_init()303 nrf5x_hwtimer_obj[i].timer_device.ops = &_ops; in nrf5x_hwtimer_init()304 …if (rt_device_hwtimer_register(&nrf5x_hwtimer_obj[i].timer_device, nrf5x_hwtimer_obj[i].name, &nrf… in nrf5x_hwtimer_init()
Completed in 9 milliseconds