Lines Matching refs:timer

50 	NRF_TIMER_Type *timer;  member
64 nrf_timer_task_trigger(config->timer, NRF_TIMER_TASK_START); in start()
73 nrf_timer_task_trigger(config->timer, NRF_TIMER_TASK_STOP); in stop()
82 return nrf_timer_cc_get(config->timer, TOP_CH); in get_top_value()
88 NRF_TIMER_Type *timer = config->timer; in read() local
90 nrf_timer_task_trigger(timer, in read()
94 return nrf_timer_cc_get(timer, COUNTER_READ_CC); in read()
132 NRFX_IRQ_PENDING_SET(NRFX_IRQ_NUMBER_GET(config->timer)); in set_cc_int_pending()
144 NRF_TIMER_Type *reg = config->timer; in set_cc()
238 nrf_timer_int_disable(config->timer, int_mask); in cancel_alarm()
248 NRF_TIMER_Type *timer = nrfx_config->timer; in set_top_value() local
260 nrf_timer_int_disable(timer, COUNTER_TOP_INT_MASK); in set_top_value()
261 nrf_timer_cc_set(timer, TOP_CH, cfg->ticks); in set_top_value()
262 nrf_timer_event_clear(timer, COUNTER_TOP_EVT); in set_top_value()
263 nrf_timer_shorts_enable(timer, COUNTER_OVERFLOW_SHORT); in set_top_value()
269 nrf_timer_task_trigger(timer, NRF_TIMER_TASK_CLEAR); in set_top_value()
273 nrf_timer_task_trigger(timer, NRF_TIMER_TASK_CLEAR); in set_top_value()
278 nrf_timer_int_enable(timer, COUNTER_TOP_INT_MASK); in set_top_value()
299 nrfx_config->timer = nhw_convert_periph_base_addr(nrfx_config->timer); in init_timer()
302 NRF_TIMER_Type *reg = nrfx_config->timer; in init_timer()
338 NRF_TIMER_Type *reg = config->timer; in top_irq_handle()
355 NRF_TIMER_Type *reg = config->timer; in alarm_irq_handle()
465 .timer = (NRF_TIMER_Type *)DT_INST_REG_ADDR(idx), \