[][src]Crate lis3mdl

A platform agnostic driver to interface with the LIS3MDL (3-axis magnetic sensor).

This driver was built using [embedded-hal] traits.

[embedded-hal]: https://docs.rs/embedded-hal/0.2\

Structs

I16xyz

XYZ triple for raw values (int16)

I32xyz

XYZ triple 32-bit float

Lis3mdl

LIS3MDL driver

Enums

DataRate

Possible data rates at which the xyz data can be provided

Error

Driver Errors

FullScale

The full scale for measurement from 4 Gauss to 16 Gauss; Sensitivity of the sensor

MeasurementMode

State of the LIS3MDL

OperatingMode

The mode to operate in, impacts noise, power consumption, and speed