Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

Devicetree binding constants for the Analog Devices ADXL345 accelerometer. More...

Go to the source code of this file.

Macros

Output data rate options

Values for the odr devicetree property.

#define ADXL345_DT_ODR_12_5   7
 12.5 Hz
#define ADXL345_DT_ODR_25   8
 25 Hz
#define ADXL345_DT_ODR_50   9
 50 Hz
#define ADXL345_DT_ODR_100   10
 100 Hz
#define ADXL345_DT_ODR_200   11
 200 Hz
#define ADXL345_DT_ODR_400   12
 400 Hz
Measurement range options

Values for the range devicetree property.

#define ADXL345_DT_RANGE_2G   0
 ±2 g
#define ADXL345_DT_RANGE_4G   1
 ±4 g
#define ADXL345_DT_RANGE_8G   2
 ±8 g
#define ADXL345_DT_RANGE_16G   3
 ±16 g

Detailed Description

Devicetree binding constants for the Analog Devices ADXL345 accelerometer.