[][src]Trait fk_lis3dsh::RawAccelerometer

pub trait RawAccelerometer<V> where
    V: Vector
{ type Error: Debug; fn accel_raw(&mut self) -> Result<V, Error<Self::Error>>; }

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.

Associated Types

type Error: Debug

Error type

Loading content...

Required methods

fn accel_raw(&mut self) -> Result<V, Error<Self::Error>>

Get raw acceleration data from the accelerometer

Loading content...

Implementors

impl<CB, E, PinError> RawAccelerometer<I16x3> for LIS3DSH<CB> where
    CB: CommBus<CommError = Error<E, PinError>>,
    PinError: Debug,
    E: Debug
[src]

type Error = Error<E, PinError>

Loading content...