pub fn read_identification(&mut self) -> Result<u16, Error<E>> {
        let mut data = [0; 2];
        self.i2c
            .write_read(self.address, &[Register::IDENTIFICATION], &mut data)
            .map_err(Error::I2C)?;

        Ok( (u16::from(data[0]) << 8) + u16::from(data[1]))
    }
/// Read the identification sensor register.
Read the identification sensor register.
Read the identification sensor register .
pub fn read_identification(&mut self) -> Result<u16, Error<E>> {
        let mut data = [0; 2];
        self.i2c
            .write_read(self.address, &[Register::IDENTIFICATION], &mut data)
            .map_err(Error::I2C)?;
        Ok( (u16::from(data[0]) << 8) + u16::from(data[1]))
    }
pub fn read_identification ( & mut self ) -> Result < u16 , Error < E > > { let mut data = [ 0 ; 2 ] ; self . i2c . write_read ( self . address , & [ Register :: IDENTIFICATION ] , & mut data ) . map_err ( Error :: I2C ) ? ; Ok ( ( u16 :: from ( data [ 0 ] ) << 8 ) + u16 :: from ( data [ 1 ] ) ) }
Read the identification sensor register.
Read the identification sensor register .
&mut self
&mut self