pub fn read(&mut self) -> Result<Measurement, Error<E>> {
        let unscaled = self.read_unscaled()?;
        Ok(IC::get_scaled(
            unscaled,
            self.get_measurement_bits(),
            GScaleConfig::from_ctrl1(self.ctrl1),
        ))
    }
/// Read acceleration sensor data scaled to the configured G range.
Read acceleration sensor data scaled to the configured G range.
Read acceleration sensor data scaled to the configured G range .
pub fn read(&mut self) -> Result<Measurement, Error<E>> {
        let unscaled = self.read_unscaled()?;
        Ok(IC::get_scaled(
            unscaled,
            self.get_measurement_bits(),
            GScaleConfig::from_ctrl1(self.ctrl1),
        ))
    }
pub fn read ( & mut self ) -> Result < Measurement , Error < E > > { let unscaled = self . read_unscaled ( ) ? ; Ok ( IC :: get_scaled ( unscaled , self . get_measurement_bits ( ) , GScaleConfig :: from_ctrl1 ( self . ctrl1 ) , ) ) }
Read acceleration sensor data scaled to the configured G range.
Read acceleration sensor data scaled to the configured G range .
&mut self
&mut self