Home
last modified time | relevance | path

Searched refs:second_cnv (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/drivers/pwm/
Dpwm_mcux_ftm.c312 uint32_t second_cnv; in mcux_ftm_capture_second_edge() local
320 second_cnv = config->base->CONTROLS[PAIR_2ND_CH(pair)].CnV; in mcux_ftm_capture_second_edge()
335 if (unlikely(overflow && second_cnv > cnt)) { in mcux_ftm_capture_second_edge()
349 if (u32_add_overflow(cycles, second_cnv, &cycles)) { in mcux_ftm_capture_second_edge()
356 cycles = second_cnv - first_cnv; in mcux_ftm_capture_second_edge()
362 second_cnv, cycles, cnt, overflow); in mcux_ftm_capture_second_edge()