pub unsafe extern "C" fn CANSparkMax_GetReverseLimitSwitch(
this: *mut CANSparkMax,
switchType: SparkMaxLimitSwitch_Type,
) -> SparkMaxLimitSwitchExpand description
Returns an object for interfacing with the reverse limit switch connected to the appropriate pins on the data port.
This call will disable support for the alternate encoder.
@param switchType Whether the limit switch is normally open or normally closed.