Lines Matching refs:pulse
480 uint32_t period, uint32_t pulse,
485 uint32_t pulse, pwm_flags_t flags) in z_impl_pwm_set_cycles() argument
490 if (pulse > period) { in z_impl_pwm_set_cycles()
494 return api->set_cycles(dev, channel, period, pulse, flags); in z_impl_pwm_set_cycles()
538 uint32_t period, uint32_t pulse, pwm_flags_t flags) in pwm_set() argument
555 pulse_cycles = (pulse * cycles_per_sec) / NSEC_PER_SEC; in pwm_set()
584 uint32_t pulse) in pwm_set_dt() argument
586 return pwm_set(spec->dev, spec->channel, period, pulse, spec->flags); in pwm_set_dt()
605 uint32_t pulse) in pwm_set_pulse_dt() argument
607 return pwm_set(spec->dev, spec->channel, spec->period, pulse, in pwm_set_pulse_dt()
818 uint32_t *pulse, k_timeout_t timeout);
850 uint64_t *pulse, k_timeout_t timeout) in pwm_capture_usec() argument
867 err = pwm_cycles_to_usec(dev, channel, pulse_cycles, pulse); in pwm_capture_usec()
905 uint64_t *pulse, k_timeout_t timeout) in pwm_capture_nsec() argument
922 err = pwm_cycles_to_nsec(dev, channel, pulse_cycles, pulse); in pwm_capture_nsec()