pub unsafe extern "C" fn adi_potentiometer_init(
port: u8,
) -> adi_potentiometer_tExpand description
Initializes a potentiometer on the given port of the original potentiometer.
This function uses the following values of errno when an error state is reached: ENXIO - The given value is not within the range of ADI Ports EADDRINUSE - The port is not configured as a potentiometer
\param port The ADI port to initialize as a gyro (from 1-8, ‘a’-‘h’, ‘A’-‘H’)
\return An adi_potentiometer_t object containing the given port, or PROS_ERR if the initialization failed.