Home
last modified time | relevance | path

Searched refs:tim_device (Results 1 – 5 of 5) sorted by relevance

/bsp/stm32/libraries/HAL_Drivers/drivers/
A Ddrv_lptim.c74 if(tim_device == RT_NULL) in timer_init()
109 LOG_E("%s init failed %d", tim_device->name, ret); in timer_init()
116 LOG_D("%s init success", tim_device->name); in timer_init()
132 if(tim_device == RT_NULL) in timer_start()
146 LOG_E("start %s failed %d", tim_device->name, ret); in timer_start()
151 LOG_D("start %s success", tim_device->name); in timer_start()
167 if(tim_device == RT_NULL) in timer_stop()
174 LOG_E("stop %s LPTIM_Handle is NULL", tim_device->name); in timer_stop()
181 LOG_E("stop %s failed %d", tim_device->name, ret); in timer_stop()
185 LOG_D("stop %s success", tim_device->name); in timer_stop()
[all …]
A Ddrv_tim.c385 struct stm32_hwtimer *tim_device = RT_NULL; in timer_init() local
391 tim_device = (struct stm32_hwtimer *)timer; in timer_init()
426 LOG_E("%s init failed", tim_device->name); in timer_init()
431 HAL_NVIC_SetPriority(tim_device->tim_irqn, 3, 0); /* set the TIMx priority */ in timer_init()
432 HAL_NVIC_EnableIRQ(tim_device->tim_irqn); /* enable the TIMx global Interrupt */ in timer_init()
435 LOG_D("%s init success", tim_device->name); in timer_init()
/bsp/n32g452xx/Libraries/rt_drivers/
A Ddrv_hwtimer.c106 struct n32_hwtimer *tim_device = RT_NULL; in n32_timer_init() local
112 tim_device = (struct n32_hwtimer *)timer; in n32_timer_init()
145 NVIC_InitStructure.NVIC_IRQChannel = tim_device->tim_irqn; in n32_timer_init()
154 LOG_D("%s init success", tim_device->name); in n32_timer_init()
/bsp/bluetrum/libraries/hal_drivers/
A Ddrv_hwtimer.c106 struct ab32_hwtimer *tim_device = RT_NULL; in timer_init() local
113 tim_device = (struct ab32_hwtimer *)timer; in timer_init()
123 LOG_D("%s init success", tim_device->name); in timer_init()
/bsp/wch/risc-v/Libraries/ch32_drivers/
A Ddrv_hwtimer.c135 struct ch32_hwtimer *tim_device = RT_NULL; in ch32_hwtimer_init() local
145 tim_device = (struct ch32_hwtimer *)timer; in ch32_hwtimer_init()
187 NVIC_InitStruct.NVIC_IRQChannel = tim_device->irqn; in ch32_hwtimer_init()

Completed in 10 milliseconds