Searched refs:tim_device (Results 1 – 5 of 5) sorted by relevance
| /bsp/stm32/libraries/HAL_Drivers/drivers/ |
| A D | drv_lptim.c | 74 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 D | drv_tim.c | 385 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 D | drv_hwtimer.c | 106 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 D | drv_hwtimer.c | 106 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 D | drv_hwtimer.c | 135 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