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

Devicetree binding constants for the ST LIS2DE12 accelerometer. More...

Go to the source code of this file.

Macros

Accelerometer full-scale range

Values for the accel-range devicetree property.

#define LIS2DE12_DT_FS_2G   0
 ±2 g
#define LIS2DE12_DT_FS_4G   1
 ±4 g
#define LIS2DE12_DT_FS_8G   2
 ±8 g
#define LIS2DE12_DT_FS_16G   3
 ±16 g
Accelerometer output data rate

Values for the accel-odr devicetree property.

#define LIS2DE12_DT_ODR_OFF   0x00
 Power-down.
#define LIS2DE12_DT_ODR_AT_1Hz   0x01
 1 Hz (normal)
#define LIS2DE12_DT_ODR_AT_10Hz   0x02
 10 Hz (normal)
#define LIS2DE12_DT_ODR_AT_25Hz   0x03
 25 Hz (normal)
#define LIS2DE12_DT_ODR_AT_50Hz   0x04
 50 Hz (normal)
#define LIS2DE12_DT_ODR_AT_100Hz   0x05
 100 Hz (normal)
#define LIS2DE12_DT_ODR_AT_200Hz   0x06
 200 Hz (normal)
#define LIS2DE12_DT_ODR_AT_400Hz   0x07
 400 Hz (normal)
#define LIS2DE12_DT_ODR_AT_1kHz620   0x08
 1620 Hz (normal)
#define LIS2DE12_DT_ODR_AT_5kHz376   0x09
 5376 Hz (normal)

Detailed Description

Devicetree binding constants for the ST LIS2DE12 accelerometer.