[][src]Crate lis3dsh

A driver for the LIS3DSH accelerometer

This crate provides implementations using either the SPI and I2C interface, with a simplified interface abstrcting away the serial port being used. The embedded_hal crate is used to define the interface to both serial buses.

Modules

interface

Interfaces to communicate with the LIS3DSH

Structs

Lis3dsh

Driver for the LIS3DSH accelerometer.

Status

Representation of the STATUS register on the LIS3DSH

Constants

EXPECTED_WHO_AM_I

The value present in the WHO_AM_I register on the LIS3DSH.