Lines Matching refs:p_instance
213 nrfx_err_t nrfx_pwm_init(nrfx_pwm_t const * p_instance,
225 void nrfx_pwm_uninit(nrfx_pwm_t const * p_instance);
259 uint32_t nrfx_pwm_simple_playback(nrfx_pwm_t const * p_instance,
287 uint32_t nrfx_pwm_complex_playback(nrfx_pwm_t const * p_instance,
300 NRFX_STATIC_INLINE void nrfx_pwm_step(nrfx_pwm_t const * p_instance);
325 bool nrfx_pwm_stop(nrfx_pwm_t const * p_instance, bool wait_until_stopped);
335 bool nrfx_pwm_is_stopped(nrfx_pwm_t const * p_instance);
344 NRFX_STATIC_INLINE void nrfx_pwm_sequence_update(nrfx_pwm_t const * p_instance,
356 NRFX_STATIC_INLINE void nrfx_pwm_sequence_values_update(nrfx_pwm_t const * p_instance,
368 NRFX_STATIC_INLINE void nrfx_pwm_sequence_length_update(nrfx_pwm_t const * p_instance,
380 NRFX_STATIC_INLINE void nrfx_pwm_sequence_repeats_update(nrfx_pwm_t const * p_instance,
392 NRFX_STATIC_INLINE void nrfx_pwm_sequence_end_delay_update(nrfx_pwm_t const * p_instance,
405 NRFX_STATIC_INLINE uint32_t nrfx_pwm_task_address_get(nrfx_pwm_t const * p_instance,
417 NRFX_STATIC_INLINE uint32_t nrfx_pwm_event_address_get(nrfx_pwm_t const * p_instance,
421 NRFX_STATIC_INLINE void nrfx_pwm_step(nrfx_pwm_t const * p_instance) in nrfx_pwm_step() argument
423 nrf_pwm_task_trigger(p_instance->p_registers, NRF_PWM_TASK_NEXTSTEP); in nrfx_pwm_step()
426 NRFX_STATIC_INLINE void nrfx_pwm_sequence_update(nrfx_pwm_t const * p_instance, in nrfx_pwm_sequence_update() argument
430 nrf_pwm_sequence_set(p_instance->p_registers, seq_id, p_sequence); in nrfx_pwm_sequence_update()
433 NRFX_STATIC_INLINE void nrfx_pwm_sequence_values_update(nrfx_pwm_t const * p_instance, in nrfx_pwm_sequence_values_update() argument
437 nrf_pwm_seq_ptr_set(p_instance->p_registers, seq_id, values.p_raw); in nrfx_pwm_sequence_values_update()
440 NRFX_STATIC_INLINE void nrfx_pwm_sequence_length_update(nrfx_pwm_t const * p_instance, in nrfx_pwm_sequence_length_update() argument
444 nrf_pwm_seq_cnt_set(p_instance->p_registers, seq_id, length); in nrfx_pwm_sequence_length_update()
447 NRFX_STATIC_INLINE void nrfx_pwm_sequence_repeats_update(nrfx_pwm_t const * p_instance, in nrfx_pwm_sequence_repeats_update() argument
451 nrf_pwm_seq_refresh_set(p_instance->p_registers, seq_id, repeats); in nrfx_pwm_sequence_repeats_update()
454 NRFX_STATIC_INLINE void nrfx_pwm_sequence_end_delay_update(nrfx_pwm_t const * p_instance, in nrfx_pwm_sequence_end_delay_update() argument
458 nrf_pwm_seq_end_delay_set(p_instance->p_registers, seq_id, end_delay); in nrfx_pwm_sequence_end_delay_update()
461 NRFX_STATIC_INLINE uint32_t nrfx_pwm_task_address_get(nrfx_pwm_t const * p_instance, in nrfx_pwm_task_address_get() argument
464 return nrf_pwm_task_address_get(p_instance->p_registers, task); in nrfx_pwm_task_address_get()
467 NRFX_STATIC_INLINE uint32_t nrfx_pwm_event_address_get(nrfx_pwm_t const * p_instance, in nrfx_pwm_event_address_get() argument
470 return nrf_pwm_event_address_get(p_instance->p_registers, event); in nrfx_pwm_event_address_get()