Data structure holding all the information needed for initialization. More...

Detailed Description

Data structure holding all the information needed for initialization.

Definition at line 108 of file lsm303dlhc.h.

#include <lsm303dlhc.h>

Data Fields

i2c_t i2c
 I2C bus used.
 
uint8_t acc_addr
 accelerometer I2C address
 
gpio_t acc_pin
 accelerometer EXTI pin
 
lsm303dlhc_acc_sample_rate_t acc_rate
 accelerometer sample rate
 
lsm303dlhc_acc_scale_t acc_scale
 accelerometer scale factor
 
uint8_t mag_addr
 magnetometer I2C address
 
gpio_t mag_pin
 magnetometer EXTI pin
 
lsm303dlhc_mag_sample_rate_t mag_rate
 magnetometer sample rate
 
lsm303dlhc_mag_gain_t mag_gain
 magnetometer gain
 

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