Go to the documentation of this file. 50 #define ADXL346_ERROR (-1) 51 #define ADXL346_SUCCESS (0) 52 #define ADXL346_ACTIVATE (SENSORS_ACTIVE) 53 #define ADXL346_READ_X (2) 54 #define ADXL346_READ_X_mG (3) 55 #define ADXL346_READ_Y (4) 56 #define ADXL346_READ_Y_mG (5) 57 #define ADXL346_READ_Z (6) 58 #define ADXL346_READ_Z_mG (7) 59 #define ADXL346_CALIB_OFFSET (8) 60 #define ADXL346_NONE (9) 62 #define ADXL346_SENSOR "ADXL346 Sensor" 64 extern const struct sensors_sensor adxl346;