Device descriptor for the ADXL345 sensor. More...

Detailed Description

Definition at line 153 of file adxl345.h.

#include <adxl345.h>

Data Fields

i2c_t i2c
 I2C device which is used.
 
uint8_t addr
 I2C address.
 
adxl345_params_tparams
 Device configuration.
 
adxl345_interrupt_t interrupt
 Interrupts configuration.
 
float scale_factor
 Scale factor for converting value to mg.
 

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