Configuration struct for the ADXL345 sensor. More...

Detailed Description

Configuration struct for the ADXL345 sensor.

Definition at line 145 of file adxl345.h.

#include <adxl345.h>

Data Fields

i2c_t i2c
 I2C device which is used.
 
uint8_t addr
 I2C address.
 
gpio_t int1
 accelerometer int1 pin
 
gpio_t int2
 accelerometer int2 pin
 
uint8_t offset [3]
 offset axis
 
uint8_t range
 Sensitivity configuration.
 
uint8_t rate
 Configured sample rate for accel

 
uint8_t full_res
 Resolution bit.
 

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