Lines Matching refs:p_instance
121 #define NRFX_TIMER_BASE_FREQUENCY_GET(p_instance) \ argument
122 NRF_TIMER_BASE_FREQUENCY_GET((p_instance)->p_reg)
148 nrfx_err_t nrfx_timer_init(nrfx_timer_t const * p_instance,
163 nrfx_err_t nrfx_timer_reconfigure(nrfx_timer_t const * p_instance,
171 void nrfx_timer_uninit(nrfx_timer_t const * p_instance);
181 bool nrfx_timer_init_check(nrfx_timer_t const * p_instance);
188 void nrfx_timer_enable(nrfx_timer_t const * p_instance);
198 void nrfx_timer_disable(nrfx_timer_t const * p_instance);
208 bool nrfx_timer_is_enabled(nrfx_timer_t const * p_instance);
215 void nrfx_timer_pause(nrfx_timer_t const * p_instance);
222 void nrfx_timer_resume(nrfx_timer_t const * p_instance);
229 void nrfx_timer_clear(nrfx_timer_t const * p_instance);
236 void nrfx_timer_increment(nrfx_timer_t const * p_instance);
246 NRFX_STATIC_INLINE uint32_t nrfx_timer_task_address_get(nrfx_timer_t const * p_instance,
257 NRFX_STATIC_INLINE uint32_t nrfx_timer_capture_task_address_get(nrfx_timer_t const * p_instance,
268 NRFX_STATIC_INLINE uint32_t nrfx_timer_event_address_get(nrfx_timer_t const * p_instance,
279 NRFX_STATIC_INLINE uint32_t nrfx_timer_compare_event_address_get(nrfx_timer_t const * p_instance,
290 uint32_t nrfx_timer_capture(nrfx_timer_t const * p_instance, nrf_timer_cc_channel_t cc_channel);
302 NRFX_STATIC_INLINE uint32_t nrfx_timer_capture_get(nrfx_timer_t const * p_instance,
313 void nrfx_timer_compare(nrfx_timer_t const * p_instance,
328 void nrfx_timer_extended_compare(nrfx_timer_t const * p_instance,
342 uint32_t nrfx_timer_us_to_ticks(nrfx_timer_t const * p_instance, uint32_t time_us);
352 uint32_t nrfx_timer_ms_to_ticks(nrfx_timer_t const * p_instance, uint32_t time_ms);
360 void nrfx_timer_compare_int_enable(nrfx_timer_t const * p_instance, uint32_t channel);
368 void nrfx_timer_compare_int_disable(nrfx_timer_t const * p_instance, uint32_t channel);
371 NRFX_STATIC_INLINE uint32_t nrfx_timer_task_address_get(nrfx_timer_t const * p_instance, in nrfx_timer_task_address_get() argument
374 return nrfy_timer_task_address_get(p_instance->p_reg, timer_task); in nrfx_timer_task_address_get()
377 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
380 NRFX_ASSERT(channel < p_instance->cc_channel_count); in nrfx_timer_capture_task_address_get()
381 return nrfy_timer_task_address_get(p_instance->p_reg, in nrfx_timer_capture_task_address_get()
385 NRFX_STATIC_INLINE uint32_t nrfx_timer_event_address_get(nrfx_timer_t const * p_instance, in nrfx_timer_event_address_get() argument
388 return nrfy_timer_event_address_get(p_instance->p_reg, timer_event); in nrfx_timer_event_address_get()
391 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
394 NRFX_ASSERT(channel < p_instance->cc_channel_count); in nrfx_timer_compare_event_address_get()
395 return nrfy_timer_event_address_get(p_instance->p_reg, in nrfx_timer_compare_event_address_get()
399 NRFX_STATIC_INLINE uint32_t nrfx_timer_capture_get(nrfx_timer_t const * p_instance, in nrfx_timer_capture_get() argument
402 return nrfy_timer_cc_get(p_instance->p_reg, cc_channel); in nrfx_timer_capture_get()