[−][src]Function wpilib_sys::bindings::HAL_SetPWMConfigRaw
pub unsafe extern "C" fn HAL_SetPWMConfigRaw(
pwmPortHandle: HAL_DigitalHandle,
maxPwm: i32,
deadbandMaxPwm: i32,
centerPwm: i32,
deadbandMinPwm: i32,
minPwm: i32,
status: *mut i32
)
Sets the raw configuration settings for the PWM channel.
We recommend using HAL_SetPWMConfig() instead, as those values are properly scaled. Usually used for values grabbed by HAL_GetPWMConfigRaw().
Values are in raw FPGA units.
@param pwmPortHandle the PWM handle @param maxPwm the maximum PWM value @param deadbandMaxPwm the high range of the center deadband @param centerPwm the center PWM value @param deadbandMinPwm the low range of the center deadband @param minPwm the minimum PWM value