Home
last modified time | relevance | path

Searched refs:hwtimer_device3 (Results 1 – 4 of 4) sorted by relevance

/bsp/wch/arm/Libraries/ch32_drivers/
A Ddrv_hwtimer_ch32f10x.c45 struct hwtimer_device hwtimer_device3 = variable
271 hwtimer_info = ch32f1_hwtimer_info_config_get(hwtimer_device3.periph); in rt_hw_hwtimer_init()
272 hwtimer_device3.parent.info = hwtimer_info; in rt_hw_hwtimer_init()
273 hwtimer_device3.parent.ops = &hwtimer_ops; in rt_hw_hwtimer_init()
274 ret = rt_device_hwtimer_register(&hwtimer_device3.parent, hwtimer_device3.name, RT_NULL); in rt_hw_hwtimer_init()
277 LOG_D("hwtimer: %s register success.", hwtimer_device3.name); in rt_hw_hwtimer_init()
281 LOG_D("hwtimer: %s register failed.", hwtimer_device3.name); in rt_hw_hwtimer_init()
342 if (TIM_GetITStatus(hwtimer_device3.periph, TIM_IT_Update) == SET) in TIM3_IRQHandler()
344 TIM_ClearITPendingBit(hwtimer_device3.periph, TIM_IT_Update); in TIM3_IRQHandler()
345 rt_device_hwtimer_isr(&hwtimer_device3.parent); in TIM3_IRQHandler()
A Ddrv_hwtimer_ch32f20x.c45 struct hwtimer_device hwtimer_device3 = variable
319 hwtimer_info = ch32f2_hwtimer_info_config_get(hwtimer_device3.periph); in rt_hw_hwtimer_init()
320 hwtimer_device3.parent.info = hwtimer_info; in rt_hw_hwtimer_init()
321 hwtimer_device3.parent.ops = &hwtimer_ops; in rt_hw_hwtimer_init()
322 ret = rt_device_hwtimer_register(&hwtimer_device3.parent, hwtimer_device3.name, RT_NULL); in rt_hw_hwtimer_init()
325 LOG_D("hwtimer: %s register success.", hwtimer_device3.name); in rt_hw_hwtimer_init()
329 LOG_D("hwtimer: %s register failed.", hwtimer_device3.name); in rt_hw_hwtimer_init()
480 if (TIM_GetITStatus(hwtimer_device3.periph, TIM_IT_Update) == SET) in TIM3_IRQHandler()
482 TIM_ClearITPendingBit(hwtimer_device3.periph, TIM_IT_Update); in TIM3_IRQHandler()
483 rt_device_hwtimer_isr(&hwtimer_device3.parent); in TIM3_IRQHandler()
/bsp/airm2m/air32f103/libraries/rt_drivers/
A Ddrv_hwtimer.c232 hwtimer_info = air32_hwtimer_info_config_get(hwtimer_device3.periph); in rt_hw_hwtimer_init()
233 hwtimer_device3.parent.info = hwtimer_info; in rt_hw_hwtimer_init()
234 hwtimer_device3.parent.ops = &hwtimer_ops; in rt_hw_hwtimer_init()
235 ret = rt_device_hwtimer_register(&hwtimer_device3.parent, hwtimer_device3.name, RT_NULL); in rt_hw_hwtimer_init()
238 LOG_D("hwtimer: %s register success.", hwtimer_device3.name); in rt_hw_hwtimer_init()
242 LOG_D("hwtimer: %s register failed.", hwtimer_device3.name); in rt_hw_hwtimer_init()
303 if (TIM_GetITStatus(hwtimer_device3.periph, TIM_IT_Update) == SET) in TIM3_IRQHandler()
305 TIM_ClearITPendingBit(hwtimer_device3.periph, TIM_IT_Update); in TIM3_IRQHandler()
306 rt_device_hwtimer_isr(&hwtimer_device3.parent); in TIM3_IRQHandler()
A Ddrv_hwtimer.h44 struct hwtimer_device hwtimer_device3 = variable

Completed in 7 milliseconds