The friendly Operating System for the Internet of Things

Device descriptor for LSM303DLHC sensors. More...

Detailed Description

Definition at line 105 of file lsm303dlhc.h.

#include <lsm303dlhc.h>

Data Fields

i2c_t i2c
 I2C device.
 
uint8_t acc_address
 accelerometer's I2C address
 
uint8_t mag_address
 magnetometer's I2C address
 
gpio_t acc_pin
 accelerometer's data ready pin
 
gpio_t mag_pin
 magnetometer's data ready pin
 
lsm303dlhc_acc_scale_t acc_scale
 accelerometer scale factor
 
lsm303dlhc_mag_gain_t mag_gain
 magnetometer gain
 

The documentation for this struct was generated from the following file: