Configuration struct for the ADXL345 sensor. More...
#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. | |