Lines Matching refs:p_instance

138 nrfx_err_t nrfx_timer_init(nrfx_timer_t const *        p_instance,
147 void nrfx_timer_uninit(nrfx_timer_t const * p_instance);
154 void nrfx_timer_enable(nrfx_timer_t const * p_instance);
164 void nrfx_timer_disable(nrfx_timer_t const * p_instance);
174 bool nrfx_timer_is_enabled(nrfx_timer_t const * p_instance);
181 void nrfx_timer_pause(nrfx_timer_t const * p_instance);
188 void nrfx_timer_resume(nrfx_timer_t const * p_instance);
195 void nrfx_timer_clear(nrfx_timer_t const * p_instance);
202 void nrfx_timer_increment(nrfx_timer_t const * p_instance);
212 NRFX_STATIC_INLINE uint32_t nrfx_timer_task_address_get(nrfx_timer_t const * p_instance,
223 NRFX_STATIC_INLINE uint32_t nrfx_timer_capture_task_address_get(nrfx_timer_t const * p_instance,
234 NRFX_STATIC_INLINE uint32_t nrfx_timer_event_address_get(nrfx_timer_t const * p_instance,
245 NRFX_STATIC_INLINE uint32_t nrfx_timer_compare_event_address_get(nrfx_timer_t const * p_instance,
256 uint32_t nrfx_timer_capture(nrfx_timer_t const * p_instance,
269 NRFX_STATIC_INLINE uint32_t nrfx_timer_capture_get(nrfx_timer_t const * p_instance,
280 void nrfx_timer_compare(nrfx_timer_t const * p_instance,
295 void nrfx_timer_extended_compare(nrfx_timer_t const * p_instance,
309 NRFX_STATIC_INLINE uint32_t nrfx_timer_us_to_ticks(nrfx_timer_t const * p_instance,
320 NRFX_STATIC_INLINE uint32_t nrfx_timer_ms_to_ticks(nrfx_timer_t const * p_instance,
329 void nrfx_timer_compare_int_enable(nrfx_timer_t const * p_instance,
338 void nrfx_timer_compare_int_disable(nrfx_timer_t const * p_instance,
342 NRFX_STATIC_INLINE uint32_t nrfx_timer_task_address_get(nrfx_timer_t const * p_instance, in nrfx_timer_task_address_get() argument
345 return nrf_timer_task_address_get(p_instance->p_reg, timer_task); in nrfx_timer_task_address_get()
348 NRFX_STATIC_INLINE uint32_t nrfx_timer_capture_task_address_get(nrfx_timer_t const * p_instance, in nrfx_timer_capture_task_address_get() argument
351 NRFX_ASSERT(channel < p_instance->cc_channel_count); in nrfx_timer_capture_task_address_get()
352 return nrf_timer_task_address_get(p_instance->p_reg, nrf_timer_capture_task_get(channel)); in nrfx_timer_capture_task_address_get()
355 NRFX_STATIC_INLINE uint32_t nrfx_timer_event_address_get(nrfx_timer_t const * p_instance, in nrfx_timer_event_address_get() argument
358 return nrf_timer_event_address_get(p_instance->p_reg, timer_event); in nrfx_timer_event_address_get()
361 NRFX_STATIC_INLINE uint32_t nrfx_timer_compare_event_address_get(nrfx_timer_t const * p_instance, in nrfx_timer_compare_event_address_get() argument
364 NRFX_ASSERT(channel < p_instance->cc_channel_count); in nrfx_timer_compare_event_address_get()
365 return nrf_timer_event_address_get(p_instance->p_reg, nrf_timer_compare_event_get(channel)); in nrfx_timer_compare_event_address_get()
368 NRFX_STATIC_INLINE uint32_t nrfx_timer_capture_get(nrfx_timer_t const * p_instance, in nrfx_timer_capture_get() argument
371 return nrf_timer_cc_get(p_instance->p_reg, cc_channel); in nrfx_timer_capture_get()
374 NRFX_STATIC_INLINE uint32_t nrfx_timer_us_to_ticks(nrfx_timer_t const * p_instance, in nrfx_timer_us_to_ticks() argument
377 return nrf_timer_us_to_ticks(timer_us, nrf_timer_frequency_get(p_instance->p_reg)); in nrfx_timer_us_to_ticks()
380 NRFX_STATIC_INLINE uint32_t nrfx_timer_ms_to_ticks(nrfx_timer_t const * p_instance, in nrfx_timer_ms_to_ticks() argument
383 return nrf_timer_ms_to_ticks(timer_ms, nrf_timer_frequency_get(p_instance->p_reg)); in nrfx_timer_ms_to_ticks()