Lines Matching refs:modulo
285 uint16_t modulo = 0; in PWM_SetupPwm() local
311 modulo = (pulseCnt >> 1U); in PWM_SetupPwm()
313 base->SM[subModule].INIT = PWM_GetComplementU16(modulo); in PWM_SetupPwm()
318 base->SM[subModule].VAL1 = modulo - 1U; in PWM_SetupPwm()
362 modulo = (pulseCnt >> 1U); in PWM_SetupPwm()
364 base->SM[subModule].INIT = PWM_GetComplementU16(modulo); in PWM_SetupPwm()
369 base->SM[subModule].VAL1 = modulo - 1U; in PWM_SetupPwm()
375 base->SM[subModule].VAL2 = PWM_GetComplementU16(modulo); in PWM_SetupPwm()
376 base->SM[subModule].VAL3 = PWM_GetComplementU16(modulo) + pwmHighPulse; in PWM_SetupPwm()
380 base->SM[subModule].VAL4 = PWM_GetComplementU16(modulo); in PWM_SetupPwm()
381 base->SM[subModule].VAL5 = PWM_GetComplementU16(modulo) + pwmHighPulse; in PWM_SetupPwm()
519 uint16_t modulo = 0; in PWM_UpdatePwmDutycycleHighAccuracy() local
524 modulo = base->SM[subModule].VAL1 + 1U; in PWM_UpdatePwmDutycycleHighAccuracy()
525 pulseCnt = modulo * 2U; in PWM_UpdatePwmDutycycleHighAccuracy()
559 modulo = base->SM[subModule].VAL1 + 1U; in PWM_UpdatePwmDutycycleHighAccuracy()
560 pulseCnt = modulo * 2U; in PWM_UpdatePwmDutycycleHighAccuracy()
567 base->SM[subModule].VAL2 = PWM_GetComplementU16(modulo); in PWM_UpdatePwmDutycycleHighAccuracy()
568 base->SM[subModule].VAL3 = PWM_GetComplementU16(modulo) + pwmHighPulse; in PWM_UpdatePwmDutycycleHighAccuracy()
572 base->SM[subModule].VAL4 = PWM_GetComplementU16(modulo); in PWM_UpdatePwmDutycycleHighAccuracy()
573 base->SM[subModule].VAL5 = PWM_GetComplementU16(modulo) + pwmHighPulse; in PWM_UpdatePwmDutycycleHighAccuracy()