Go to the documentation of this file.
101 #ifndef __ADXL345_SENSOR_H__
102 #define __ADXL345_SENSOR_H__
104 #include "lib/sensors.h"
108 #define ACC_SENSOR "Acc"
137 #define ACC_CONF_SENSITIVITY 10
145 #define ACC_CONF_FIFOMODE 20
152 #define ACC_CONF_POWERMODE 30
165 #define ACC_CONF_DATA_RATE 40
178 #define ACC_STATUS_BUFFER_LEVEL 50
213 #define ACC_12HZ5 125
219 #define ACC_100HZ 1000
221 #define ACC_200HZ 2000
223 #define ACC_400HZ 4000
225 #define ACC_800HZ 8000
227 #define ACC_1600HZ 16000
229 #define ACC_3200HZ 32000
239 #define ACC_MODE_BYPASS 0x0
244 #define ACC_MODE_FIFO 0x1
249 #define ACC_MODE_STREAM 0x2
258 #define ACC_NOSLEEP 0
260 #define ACC_AUTOSLEEP 1