Home
last modified time | relevance | path

Searched refs:hwtimer (Results 1 – 25 of 77) sorted by relevance

1234

/bsp/essemi/es32vf2264/drivers/
A Ddrv_hwtimer.c153 RT_ASSERT(hwtimer != RT_NULL); in es32f3_hwtimer_init()
159 csi_vic_enable_sirq(hwtimer->IRQn); in es32f3_hwtimer_init()
162hwtimer->parent.freq = ald_cmu_get_pclk_clock()/((hwtimer->hwtimer_periph->perh->PRES & 0xFFFF)+1); in es32f3_hwtimer_init()
163 hwtimer_info->maxfreq = hwtimer->parent.freq; in es32f3_hwtimer_init()
174 RT_ASSERT(hwtimer != RT_NULL); in es32f3_hwtimer_start()
177 ald_timer_base_start(hwtimer->hwtimer_periph); in es32f3_hwtimer_start()
186 RT_ASSERT(hwtimer != RT_NULL); in es32f3_hwtimer_stop()
188 ald_timer_base_stop(hwtimer->hwtimer_periph); in es32f3_hwtimer_stop()
196 RT_ASSERT(hwtimer != RT_NULL); in es32f3_hwtimer_count_get()
211 RT_ASSERT(hwtimer != RT_NULL); in es32f3_hwtimer_control()
[all …]
/bsp/essemi/es32f0654/drivers/
A Ddrv_hwtimer.c207 RT_ASSERT(hwtimer != RT_NULL); in es32f0_hwtimer_init()
213 NVIC_EnableIRQ(hwtimer->IRQn); in es32f0_hwtimer_init()
216hwtimer->parent.freq = ald_cmu_get_pclk1_clock()/((hwtimer->hwtimer_periph->perh->PRES & 0xFFFF)+1… in es32f0_hwtimer_init()
217 hwtimer_info->maxfreq = hwtimer->parent.freq; in es32f0_hwtimer_init()
227 RT_ASSERT(hwtimer != RT_NULL); in es32f0_hwtimer_start()
230 ald_timer_base_start(hwtimer->hwtimer_periph); in es32f0_hwtimer_start()
239 RT_ASSERT(hwtimer != RT_NULL); in es32f0_hwtimer_stop()
241 ald_timer_base_stop(hwtimer->hwtimer_periph); in es32f0_hwtimer_stop()
249 RT_ASSERT(hwtimer != RT_NULL); in es32f0_hwtimer_count_get()
264 RT_ASSERT(hwtimer != RT_NULL); in es32f0_hwtimer_control()
[all …]
/bsp/essemi/es32f369x/drivers/
A Ddrv_hwtimer.c202 RT_ASSERT(hwtimer != RT_NULL); in es32f3_hwtimer_init()
208 NVIC_EnableIRQ(hwtimer->IRQn); in es32f3_hwtimer_init()
211hwtimer->parent.freq = ald_cmu_get_pclk1_clock()/((hwtimer->hwtimer_periph->perh->PRES & 0xFFFF)+1… in es32f3_hwtimer_init()
212 hwtimer_info->maxfreq = hwtimer->parent.freq; in es32f3_hwtimer_init()
223 RT_ASSERT(hwtimer != RT_NULL); in es32f3_hwtimer_start()
226 ald_timer_base_start(hwtimer->hwtimer_periph); in es32f3_hwtimer_start()
235 RT_ASSERT(hwtimer != RT_NULL); in es32f3_hwtimer_stop()
237 ald_timer_base_stop(hwtimer->hwtimer_periph); in es32f3_hwtimer_stop()
245 RT_ASSERT(hwtimer != RT_NULL); in es32f3_hwtimer_count_get()
260 RT_ASSERT(hwtimer != RT_NULL); in es32f3_hwtimer_control()
[all …]
/bsp/raspberry-pi/raspi3-32/driver/
A Ddrv_timer.c15 static void raspi_systimer_init(rt_hwtimer_t *hwtimer, rt_uint32_t state) in raspi_systimer_init() argument
18 hwtimer->ops->stop(hwtimer); in raspi_systimer_init()
21 static rt_err_t raspi_systimer_start(rt_hwtimer_t *hwtimer, rt_uint32_t cnt, rt_hwtimer_mode_t mode) in raspi_systimer_start() argument
24 rt_systimer_t *timer = (rt_systimer_t *)hwtimer->parent.user_data; in raspi_systimer_start()
51 static void raspi_systimer_stop(rt_hwtimer_t *hwtimer) in raspi_systimer_stop() argument
53 rt_systimer_t *timer = (rt_systimer_t *)hwtimer->parent.user_data; in raspi_systimer_stop()
79 rt_hwtimer_t *hwtimer = (rt_hwtimer_t *) param; in rt_device_systimer_isr() local
80 rt_systimer_t *timer = (rt_systimer_t *)hwtimer->parent.user_data; in rt_device_systimer_isr()
98 rt_device_hwtimer_isr(hwtimer); in rt_device_systimer_isr()
/bsp/raspberry-pi/raspi3-64/driver/
A Ddrv_timer.c17 static void raspi_systimer_init(rt_hwtimer_t *hwtimer, rt_uint32_t state) in raspi_systimer_init() argument
20 hwtimer->ops->stop(hwtimer); in raspi_systimer_init()
23 static rt_err_t raspi_systimer_start(rt_hwtimer_t *hwtimer, rt_uint32_t cnt, rt_hwtimer_mode_t mode) in raspi_systimer_start() argument
26 rt_systimer_t *timer = (rt_systimer_t *)hwtimer->parent.user_data; in raspi_systimer_start()
53 static void raspi_systimer_stop(rt_hwtimer_t *hwtimer) in raspi_systimer_stop() argument
55 rt_systimer_t *timer = (rt_systimer_t *)hwtimer->parent.user_data; in raspi_systimer_stop()
81 rt_hwtimer_t *hwtimer = (rt_hwtimer_t *) param; in rt_device_systimer_isr() local
82 rt_systimer_t *timer = (rt_systimer_t *)hwtimer->parent.user_data; in rt_device_systimer_isr()
100 rt_device_hwtimer_isr(hwtimer); in rt_device_systimer_isr()
/bsp/wch/arm/ch32f203r-evt/board/
A DKconfig128 prompt "using TIM1 as hwtimer or PWM mode"
132 bool "using TIM1 as hwtimer mode"
166 prompt "using TIM2 as hwtimer or PWM mode"
170 bool "using TIM2 as hwtimer mode"
204 prompt "using TIM3 as hwtimer or PWM mode"
208 bool "using TIM3 as hwtimer mode"
246 bool "using TIM4 as hwtimer mode"
284 bool "using TIM5 as hwtimer mode"
319 bool "using TIM6 as hwtimer mode"
331 bool "using TIM7 as hwtimer mode"
[all …]
/bsp/wch/risc-v/ch32v208w-r0/board/
A DKconfig285 prompt "Using TIM1 as hwtimer or PWM mode"
289 bool "Using TIM1 as hwtimer mode"
325 bool "Using TIM2 as hwtimer mode"
361 bool "Using TIM3 as hwtimer mode"
397 bool "Using TIM4 as hwtimer mode"
433 bool "Using TIM5 as hwtimer mode"
469 bool "Using TIM6 as hwtimer mode"
485 bool "Using TIM7 as hwtimer mode"
501 bool "Using TIM8 as hwtimer mode"
537 bool "Using TIM9 as hwtimer mode"
[all …]
/bsp/hc32/tests/
A Dtest_hwtimer.c65 rt_hwtimer_t *hwtimer; in hwtimer_sample() local
86 hwtimer = (rt_hwtimer_t *)hw_dev; in hwtimer_sample()
143 t = hwtimer->overflow * hwtimer->period_sec; in hwtimer_sample()
163 MSH_CMD_EXPORT(hwtimer_sample, hwtimer sample: devname [oneshot | period] timeout);
/bsp/wch/arm/ch32f103c8-core/board/
A DKconfig104 prompt "using TIM1 as hwtimer or PWM mode"
108 bool "using TIM1 as hwtimer mode"
142 prompt "using TIM2 as hwtimer or PWM mode"
146 bool "using TIM2 as hwtimer mode"
180 prompt "using TIM3 as hwtimer or PWM mode"
184 bool "using TIM3 as hwtimer mode"
218 prompt "using TIM4 as hwtimer or PWM mode"
222 bool "using TIM4 as hwtimer mode"
/bsp/wch/risc-v/yd-ch32v307vct6/board/
A DKconfig275 bool "Using TIM1 as hwtimer mode"
310 bool "Using TIM2 as hwtimer mode"
345 bool "Using TIM3 as hwtimer mode"
380 bool "Using TIM4 as hwtimer mode"
415 bool "Using TIM5 as hwtimer mode"
450 bool "Using TIM6 as hwtimer mode"
460 bool "Using TIM7 as hwtimer mode"
470 bool "Using TIM8 as hwtimer mode"
505 bool "Using TIM9 as hwtimer mode"
540 bool "Using TIM10 as hwtimer mode"
/bsp/ESP32_C3/drivers/
A Ddrv_hwtimer.c27 rt_hwtimer_t *hwtimer = (rt_hwtimer_t *)user_ctx; in mcu_hwtimer_intr_handler() local
28 rt_device_hwtimer_isr(hwtimer); in mcu_hwtimer_intr_handler()
/bsp/wch/risc-v/Libraries/ch32_drivers/
A Ddrv_hwtimer.c351 struct ch32_hwtimer *hwtimer = RT_NULL; in ch32_hwtimer_isr() local
352 hwtimer = rt_container_of(device, struct ch32_hwtimer, device); in ch32_hwtimer_isr()
354 if(TIM_GetITStatus(hwtimer->handle.instance, TIM_IT_Update) != RESET) in ch32_hwtimer_isr()
357 TIM_ClearITPendingBit(hwtimer->handle.instance, TIM_IT_Update); in ch32_hwtimer_isr()
/bsp/wch/risc-v/ch32v307v-r1/board/
A DKconfig557 bool "Using TIM1 as hwtimer mode"
592 bool "Using TIM2 as hwtimer mode"
627 bool "Using TIM3 as hwtimer mode"
662 bool "Using TIM4 as hwtimer mode"
697 bool "Using TIM5 as hwtimer mode"
732 bool "Using TIM6 as hwtimer mode"
742 bool "Using TIM7 as hwtimer mode"
752 bool "Using TIM8 as hwtimer mode"
787 bool "Using TIM9 as hwtimer mode"
822 bool "Using TIM10 as hwtimer mode"
/bsp/gd32/risc-v/docs/
A DGD32_RISC-V系列驱动介绍.md38 …ite/#/rt-thread-version/rt-thread-standard/programming-manual/device/hwtimer/hwtimer) | 使用硬件定时器实现测…
/bsp/rockchip/rk3500/driver/
A DKconfig5 source "$BSP_DIR/driver/hwtimer/Kconfig"
/bsp/rockchip/rk3500/driver/hwtimer/
A DSConscript9 src += ['hwtimer-rockchip_timer.c']
/bsp/gd32/arm/docs/
A DGD32_ARM系列驱动介绍.md39 …ite/#/rt-thread-version/rt-thread-standard/programming-manual/device/hwtimer/hwtimer) | 使用硬件定时器实现测…
/bsp/stm32/docs/
A DSTM32系列驱动介绍.md39 …ite/#/rt-thread-version/rt-thread-standard/programming-manual/device/hwtimer/hwtimer) | 使用硬件定时器实现测…
/bsp/k230/drivers/interdrv/hwtimer/
A Ddrv_timer.c194 rt_hwtimer_t *hwtimer = (rt_hwtimer_t *)&(kd_timer->device); in k230_hwtimer_isr() local
196 RT_ASSERT(kd_timer != RT_NULL && hwtimer != RT_NULL); in k230_hwtimer_isr()
203 rt_device_hwtimer_isr(hwtimer); in k230_hwtimer_isr()
/bsp/nrf5x/nrf5340/.ci/attachconfig/
A Dci.attachconfig.yml31 devices.hwtimer:
/bsp/hc32/ev_hc32f4a0_lqfp176/.ci/attachconfig/
A Dci.attachconfig.yml16 devices.hwtimer:
/bsp/bouffalo_lab/libraries/rt_drivers/sample/
A Dhwtimer_sample.c90 MSH_CMD_EXPORT(hwtimer_sample, hwtimer sample);
/bsp/ESP32_C3/.ci/attachconfig/
A Dci.attachconfig.yml34 devices.hwtimer:
/bsp/nrf5x/nrf52832/.ci/attachconfig/
A Dci.attachconfig.yml36 devices.hwtimer:
/bsp/Vango/v85xxp/
A DKconfig61 bool "Enable hwtimer"

Completed in 46 milliseconds

1234