[][src]Function wpilib_sys::bindings::HAL_SetPWMPosition

pub unsafe extern "C" fn HAL_SetPWMPosition(
    pwmPortHandle: HAL_DigitalHandle,
    position: f64,
    status: *mut i32
)

Sets a PWM channel to the desired position value.

The values range from 0 to 1 and the period is controlled by the PWM Period and MinHigh registers.

@param pwmPortHandle the PWM handle @param value the positional PWM value to set