23#ifndef LSM6DSXX_PARAMS_H
24#define LSM6DSXX_PARAMS_H
38#ifndef LSM6DSXX_PARAM_I2C
39#define LSM6DSXX_PARAM_I2C I2C_DEV(0)
41#ifndef LSM6DSXX_PARAM_ADDR
42#define LSM6DSXX_PARAM_ADDR (0x6B)
44#ifndef LSM6DSXX_PARAM_ACC_ODR
45#define LSM6DSXX_PARAM_ACC_ODR (LSM6DSXX_DATA_RATE_52HZ)
47#ifndef LSM6DSXX_PARAM_GYRO_ODR
48#define LSM6DSXX_PARAM_GYRO_ODR (LSM6DSXX_DATA_RATE_52HZ)
50#ifndef LSM6DSXX_PARAM_ACC_FS
51#define LSM6DSXX_PARAM_ACC_FS (LSM6DSXX_ACC_FS_2G)
53#ifndef LSM6DSXX_PARAM_GYRO_FS
54#define LSM6DSXX_PARAM_GYRO_FS (LSM6DSXX_GYRO_FS_245DPS)
56#ifndef LSM6DSXX_PARAM_ACC_FIFO_DEC
57#define LSM6DSXX_PARAM_ACC_FIFO_DEC (LSM6DSXX_DECIMATION_NO)
59#ifndef LSM6DSXX_PARAM_GYRO_FIFO_DEC
60#define LSM6DSXX_PARAM_GYRO_FIFO_DEC (LSM6DSXX_DECIMATION_NO)
63#ifndef LSM6DSXX_PARAMS
64#define LSM6DSXX_PARAMS { .i2c = LSM6DSXX_PARAM_I2C, \
65 .addr = LSM6DSXX_PARAM_ADDR, \
66 .acc_odr = LSM6DSXX_PARAM_ACC_ODR, \
67 .gyro_odr = LSM6DSXX_PARAM_GYRO_ODR, \
68 .acc_fs = LSM6DSXX_PARAM_ACC_FS, \
69 .gyro_fs = LSM6DSXX_PARAM_GYRO_FS, \
70 .acc_decimation = LSM6DSXX_PARAM_ACC_FIFO_DEC, \
71 .gyro_decimation = LSM6DSXX_PARAM_GYRO_FIFO_DEC }
73#ifndef LSM6DSXX_SAUL_INFO
74#define LSM6DSXX_SAUL_INFO { .name = "lsm6dsxx" }
Device driver interface for the LSM6DSXX 3D accelerometer/gyroscope.
static const lsm6dsxx_params_t lsm6dsxx_params[]
Allocate some memory to store the actual configuration.
static const saul_reg_info_t lsm6dsxx_saul_info[]
Additional meta information to keep in the SAUL registry.
SAUL registry interface definition.
LSM6DSXX driver parameters.
Additional data to collect for each entry.