Configuration struct for the ADXL345 sensor.
More...
Configuration struct for the ADXL345 sensor.
Definition at line 145 of file adxl345.h.
#include <adxl345.h>
|
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.
|
|
◆ addr
uint8_t adxl345_params_t::addr |
◆ full_res
uint8_t adxl345_params_t::full_res |
◆ i2c
i2c_t adxl345_params_t::i2c |
I2C device which is used.
Definition at line 146 of file adxl345.h.
◆ int1
gpio_t adxl345_params_t::int1 |
accelerometer int1 pin
Definition at line 148 of file adxl345.h.
◆ int2
gpio_t adxl345_params_t::int2 |
accelerometer int2 pin
Definition at line 149 of file adxl345.h.
◆ offset
uint8_t adxl345_params_t::offset[3] |
◆ range
uint8_t adxl345_params_t::range |
Sensitivity configuration.
Definition at line 151 of file adxl345.h.
◆ rate
uint8_t adxl345_params_t::rate |
Configured sample rate for accel
Definition at line 152 of file adxl345.h.
The documentation for this struct was generated from the following file: