Lines Matching refs:pwmChannel

489         if (chnlParams[i].pwmChannel == kPWM_PwmX)  in PWM_SetupPwm()
514 … PWM_SetDutycycleRegister(base, subModule, chnlParams->pwmChannel, mode, pulseCnt, pwmHighPulse); in PWM_SetupPwm()
519 if (chnlParams->pwmChannel == kPWM_PwmA) in PWM_SetupPwm()
533 switch (chnlParams->pwmChannel) in PWM_SetupPwm()
566 s_pwmGetPwmDutyCycle[subModule][chnlParams->pwmChannel] = chnlParams->dutyCyclePercent; in PWM_SetupPwm()
591 pwm_channels_t pwmChannel, in PWM_SetupPwmPhaseShift() argument
606 if (pwmChannel != kPWM_PwmX) in PWM_SetupPwmPhaseShift()
636 if (pwmChannel == kPWM_PwmA) in PWM_SetupPwmPhaseShift()
641 else if (pwmChannel == kPWM_PwmB) in PWM_SetupPwmPhaseShift()
825 pwm_channels_t pwmChannel, in PWM_SetupInputCapture() argument
829 switch (pwmChannel) in PWM_SetupInputCapture()
1051 void PWM_SetupForceSignal(PWM_Type *base, pwm_submodule_t subModule, pwm_channels_t pwmChannel, pwm… in PWM_SetupForceSignal() argument
1058 shift = ((uint16_t)subModule * 4U) + ((uint16_t)pwmChannel * 2U); in PWM_SetupForceSignal()
1168 status_t PWM_SetOutputToIdle(PWM_Type *base, pwm_channels_t pwmChannel, pwm_submodule_t subModule, … in PWM_SetOutputToIdle() argument
1188 if (kPWM_PwmA == pwmChannel) in PWM_SetOutputToIdle()
1209 else if (kPWM_PwmB == pwmChannel) in PWM_SetOutputToIdle()
1245 s_pwmGetPwmDutyCycle[subModule][pwmChannel] = 0x0U; in PWM_SetOutputToIdle()
1259 uint8_t PWM_GetPwmChannelState(PWM_Type *base, pwm_submodule_t subModule, pwm_channels_t pwmChannel) in PWM_GetPwmChannelState() argument
1261 return s_pwmGetPwmDutyCycle[subModule][pwmChannel]; in PWM_GetPwmChannelState()
1301 …OutputToZero(PWM_Type *base, pwm_submodule_t subModule, pwm_channels_t pwmChannel, bool forcetozer… in PWM_SetPwmForceOutputToZero() argument
1308 if (kPWM_PwmA == pwmChannel) in PWM_SetPwmForceOutputToZero()
1312 else if (kPWM_PwmB == pwmChannel) in PWM_SetPwmForceOutputToZero()
1355 pwm_channels_t pwmChannel, in PWM_SetChannelOutput() argument
1361 if (kPWM_PwmA == pwmChannel) in PWM_SetChannelOutput()
1367 else if (kPWM_PwmB == pwmChannel) in PWM_SetChannelOutput()
1390 if (kPWM_PwmX != pwmChannel) in PWM_SetChannelOutput()
1436 status_t PWM_SetPhaseDelay(PWM_Type *base, pwm_channels_t pwmChannel, pwm_submodule_t subModule, ui… in PWM_SetPhaseDelay() argument