third_party/phoenixsuite/cpp/src/CANifier.cpp
/**
 * Enables PWM Outputs
 * Currently supports PWM 0, PWM 1, and PWM 2
 * @param pwmChannel  Index of the PWM channel to enable.
 * @param bEnable			"True" enables output on the pwm channel.
 * @return Error Code generated by function. 0 indicates no error.
 */
Enables PWM Outputs
Currently supports PWM 0, PWM 1, and PWM 2
@param pwmChannel  Index of the PWM channel to enable.
@param bEnable                       "True" enables output on the pwm channel.
@return Error Code generated by function. 0 indicates no error.
Enables PWM Outputs Currently supports PWM 0 PWM 1 and PWM 2 @param pwmChannel Index of the PWM channel to enable . @param bEnable " True " enables output on the pwm channel . @return Error Code generated by function . 0 indicates no error .
ErrorCode CANifier::EnablePWMOutput(int pwmChannel, bool bEnable) {
	if (pwmChannel < 0) {
		pwmChannel = 0;
	}
	return c_CANifier_EnablePWMOutput(m_handle, (int) pwmChannel,
			bEnable);
}
ErrorCode CANifier :: EnablePWMOutput ( int pwmChannel , bool bEnable ) { if ( pwmChannel < 0 ) { pwmChannel = 0 ; } return c_CANifier_EnablePWMOutput ( m_handle , ( int ) pwmChannel , bEnable ) ; }
Enables PWM Outputs
 Currently supports PWM 0, PWM 1, and PWM 2
 @param pwmChannel  Index of the PWM channel to enable.
Enables PWM Outputs Currently supports PWM 0 PWM 1 and PWM 2 @param pwmChannel Index of the PWM channel to enable .