Loading...
Searching...
No Matches

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.
 

Field Documentation

◆ addr

uint8_t adxl345_params_t::addr

I2C address.

Definition at line 147 of file adxl345.h.

◆ full_res

uint8_t adxl345_params_t::full_res

Resolution bit.

Definition at line 153 of file adxl345.h.

◆ 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]

offset axis

Definition at line 150 of file adxl345.h.

◆ 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: