Searched refs:curr_cnt (Results 1 – 1 of 1) sorted by relevance
261 uint16_t curr_cnt; in pwm_numaker_get_cap_cycle() local281 curr_cnt = (curr_edge == EPWM_CAPTURE_INT_FALLING_LATCH) in pwm_numaker_get_cap_cycle()306 *cycles = (period_reloads * NUMAKER_PWM_RELOAD_CNT) + curr_cnt - next_cnt; in pwm_numaker_get_cap_cycle()308 *cycles, period_reloads, epwm->CAPIF, curr_cnt, next_cnt); in pwm_numaker_get_cap_cycle()