Crate l3gd20

Crate l3gd20 

Source
Expand description

A platform agnostic driver to interface with the L3GD20 (gyroscope)

This driver was built using embedded-hal traits.

§Examples

You should find at least one example in the f3 crate.

Re-exports§

pub use blocking::*;

Modules§

asynchronous
Asynchronous support.
blocking
Blocking support.

Structs§

I16x3
XYZ triple
Measurements
Several measurements
Status
Sensor status

Enums§

Bandwidth
Bandwidth of sensor
Odr
Output Data Rate
Register
Scale
Full scale selection

Constants§

MINIMUM_CS_SETUP_TIME_NS
Minimal time in nanoseconds between chip select assertion and clock edge.
WHO_AM_I_L3GD20
Expected WHO_AM_I register value for the L3GD20 sensor.
WHO_AM_I_L3GD20H
Expected WHO_AM_I register value for the L3GD20H sensor.

Traits§

BitValue
Trait to represent a value that can be sent to sensor