[][src]Function wpilib_sys::bindings::HAL_GetPWMPosition

pub unsafe extern "C" fn HAL_GetPWMPosition(
    pwmPortHandle: HAL_DigitalHandle,
    status: *mut i32
) -> f64

Gets a position value from a PWM channel.

The values range from 0 to 1.

@param pwmPortHandle the PWM handle @return the current positional PWM value