Trait lis2dh12::RawAccelerometer
source · pub trait RawAccelerometer<V>where
V: Vector,{
type Error: Debug;
// Required method
fn accel_raw(&mut self) -> Result<V, Error<Self::Error>>;
}
Expand description
Read raw acceleration vectors of type V: Vector
.
This is intended to provide direct access to raw accelerometer data and should use a vector type which best matches the raw accelerometer data.