Lines Matching full:pulse
91 LOG_ERR("Cannot capture both period and pulse width"); in mcux_pwt_configure_capture()
97 LOG_ERR("Cannot capture period in normal polarity (active-high pulse)"); in mcux_pwt_configure_capture()
179 /* Add positive pulse width */ in mcux_pwt_calc_period()
184 /* Add negative pulse width */ in mcux_pwt_calc_period()
197 uint32_t pulse; in mcux_pwt_calc_pulse() local
200 if (u32_mul_overflow(overflows, 0xFFFFU, &pulse)) { in mcux_pwt_calc_pulse()
204 /* Add pulse width */ in mcux_pwt_calc_pulse()
205 if (u32_add_overflow(pulse, pw, &pulse)) { in mcux_pwt_calc_pulse()
209 *result = pulse; in mcux_pwt_calc_pulse()
219 uint32_t pulse = 0; in mcux_pwt_isr() local
249 &pulse); in mcux_pwt_isr()
252 &pulse); in mcux_pwt_isr()
266 LOG_DBG("period = %d, pulse = %d, err = %d", period, pulse, in mcux_pwt_isr()
271 period, pulse, err, data->user_data); in mcux_pwt_isr()