Searched refs:second_cnt (Results 1 – 1 of 1) sorted by relevance
227 eMios_Icu_ValueType second_cnt) in pwm_nxp_s32_capture_calc() argument229 if (first_cnt < second_cnt) { in pwm_nxp_s32_capture_calc()230 return second_cnt - first_cnt; in pwm_nxp_s32_capture_calc()234 return EMIOS_ICU_IP_COUNTER_MASK - first_cnt + second_cnt; in pwm_nxp_s32_capture_calc()241 eMios_Icu_ValueType first_cnt, second_cnt; in pwm_nxp_s32_pulse_calc() local246 second_cnt = edge_buff[1]; in pwm_nxp_s32_pulse_calc()250 second_cnt = edge_buff[2]; in pwm_nxp_s32_pulse_calc()253 return pwm_nxp_s32_capture_calc(first_cnt, second_cnt); in pwm_nxp_s32_pulse_calc()