Lines Matching refs:timer
63 NRF_TIMER_Type *timer; member
91 return config->timer; in pwm_config_timer()
125 NRF_TIMER_Type *timer = pwm_config_timer(config); in pwm_nrf_sw_set_cycles() local
208 nrf_timer_task_trigger(timer, NRF_TIMER_TASK_STOP); in pwm_nrf_sw_set_cycles()
230 nrf_timer_event_clear(timer, in pwm_nrf_sw_set_cycles()
232 nrf_timer_event_clear(timer, in pwm_nrf_sw_set_cycles()
235 nrf_timer_cc_set(timer, 1 + channel, pulse_cycles); in pwm_nrf_sw_set_cycles()
236 nrf_timer_cc_set(timer, 0, period_cycles); in pwm_nrf_sw_set_cycles()
237 nrf_timer_task_trigger(timer, NRF_TIMER_TASK_CLEAR); in pwm_nrf_sw_set_cycles()
287 nrf_timer_event_address_get(timer, in pwm_nrf_sw_set_cycles()
290 nrf_timer_event_address_get(timer, in pwm_nrf_sw_set_cycles()
306 nrf_timer_task_trigger(timer, NRF_TIMER_TASK_START); in pwm_nrf_sw_set_cycles()
347 NRF_TIMER_Type *timer = pwm_config_timer(config); in pwm_nrf_sw_init() local
390 nrf_timer_mode_set(timer, NRF_TIMER_MODE_TIMER); in pwm_nrf_sw_init()
391 nrf_timer_prescaler_set(timer, config->prescaler); in pwm_nrf_sw_init()
392 nrf_timer_bit_width_set(timer, in pwm_nrf_sw_init()
395 nrf_timer_shorts_enable(timer, in pwm_nrf_sw_init()
413 COND_CODE_1(USE_RTC, (.rtc), (.timer)) = GENERATOR_ADDR,