Searched refs:pulseCnt (Results 1 – 2 of 2) sorted by relevance
284 uint16_t pulseCnt = 0, pwmHighPulse = 0; in PWM_SetupPwm() local296 pulseCnt = (uint16_t)(pwmClock / pwmFreq_Hz); in PWM_SetupPwm()302 pwmHighPulse = (pulseCnt * chnlParams->dutyCyclePercent) / 100U; in PWM_SetupPwm()311 modulo = (pulseCnt >> 1U); in PWM_SetupPwm()340 base->SM[subModule].VAL0 = (pulseCnt / 2U); in PWM_SetupPwm()343 base->SM[subModule].VAL1 = pulseCnt - 1U; 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 …]