Searched refs:pwmHighPulse (Results 1 – 2 of 2) sorted by relevance
284 uint16_t pulseCnt = 0, pwmHighPulse = 0; in PWM_SetupPwm() local302 pwmHighPulse = (pulseCnt * chnlParams->dutyCyclePercent) / 100U; in PWM_SetupPwm()324 base->SM[subModule].VAL2 = PWM_GetComplementU16(pwmHighPulse / 2U); in PWM_SetupPwm()325 base->SM[subModule].VAL3 = (pwmHighPulse / 2U); in PWM_SetupPwm()329 base->SM[subModule].VAL4 = PWM_GetComplementU16(pwmHighPulse / 2U); in PWM_SetupPwm()330 base->SM[subModule].VAL5 = (pwmHighPulse / 2U); in PWM_SetupPwm()349 base->SM[subModule].VAL2 = ((pulseCnt - pwmHighPulse) / 2U); in PWM_SetupPwm()350 base->SM[subModule].VAL3 = ((pulseCnt + pwmHighPulse) / 2U); in PWM_SetupPwm()354 base->SM[subModule].VAL4 = ((pulseCnt - pwmHighPulse) / 2U); in PWM_SetupPwm()355 base->SM[subModule].VAL5 = ((pulseCnt + pwmHighPulse) / 2U); in PWM_SetupPwm()[all …]