pub fn read_analog_in1(&mut self) -> Result<AnalogChannel> {
        match self.read() {
            Ok(Packet::Status(_, _, a1, _)) => Ok(AnalogChannel::A1(a1)),
            Err(e) => Err(e),
            _ => Err(libusb::Error::InvalidParam.into()),
        }
    }
/// Read the analog channel 1 input value.
///
/// Returns `None` on failure.
Read the analog channel 1 input value.
Returns `None` on failure.
Read the analog channel 1 input value . Returns ` None ` on failure .
pub fn read_analog_in1(&mut self) -> Result<AnalogChannel> {
        match self.read() {
            Ok(Packet::Status(_, _, a1, _)) => Ok(AnalogChannel::A1(a1)),
            Err(e) => Err(e),
            _ => Err(libusb::Error::InvalidParam.into()),
        }
    }
pub fn read_analog_in1 ( & mut self ) -> Result < AnalogChannel > { match self . read ( ) { Ok ( Packet :: Status ( _ , _ , a1 , _ ) ) => Ok ( AnalogChannel :: A1 ( a1 ) ) , Err ( e ) => Err ( e ) , _ => Err ( libusb :: Error :: InvalidParam . into ( ) ) , } }
Read the analog channel 1 input value.
Read the analog channel 1 input value .
&mut self
&mut self