Home
last modified time | relevance | path

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

/bsp/bouffalo_lab/libraries/rt_drivers/
A Ddrv_hwtimer.c94 _gptimer_t *_gptmr = (_gptimer_t*)timer->parent.user_data; in _hwtimer_init() local
106 bflb_timer_init(_gptmr->bflb_timer, &cfg); in _hwtimer_init()
126 bflb_timer_init(_gptmr->bflb_timer, &cfg); in _hwtimer_start()
127 bflb_irq_enable(_gptmr->bflb_timer->irq_num); in _hwtimer_start()
128 bflb_timer_start(_gptmr->bflb_timer); in _hwtimer_start()
135 _gptimer_t *_gptmr = (_gptimer_t*)timer->parent.user_data; in _hwtimer_stop() local
136 bflb_timer_stop(_gptmr->bflb_timer); in _hwtimer_stop()
141 _gptimer_t *_gptmr = (_gptimer_t*)timer->parent.user_data; in _hwtimer_count_get() local
158 *(rt_hwtimer_t*)args = _gptmr->timer; in _hwtimer_control()
161 _gptmr->timer.mode = *(rt_uint32_t*)args; in _hwtimer_control()
[all …]

Completed in 5 milliseconds