19#ifndef FXOS8700_PARAMS_H
20#define FXOS8700_PARAMS_H
34#ifndef FXOS8700_PARAM_I2C
38#define FXOS8700_PARAM_I2C I2C_DEV(0)
41#ifndef FXOS8700_PARAM_ADDR
48#define FXOS8700_PARAM_ADDR 0x1E
51#ifndef FXOS8700_PARAM_ACC_RANGE
55#define FXOS8700_PARAM_ACC_RANGE FXOS8700_REG_XYZ_DATA_CFG_FS__8G
58#ifndef FXOS8700_PARAM_RENEW_INTERVAL
62#define FXOS8700_PARAM_RENEW_INTERVAL 1000000ul
65#ifndef FXOS8700_PARAMS
69#define FXOS8700_PARAMS { .i2c = FXOS8700_PARAM_I2C, \
70 .addr = FXOS8700_PARAM_ADDR, \
71 .acc_range = FXOS8700_PARAM_ACC_RANGE, \
72 .renew_interval = FXOS8700_PARAM_RENEW_INTERVAL }
74#ifndef FXOS8700_SAUL_INFO
78#define FXOS8700_SAUL_INFO { .name = "fxos8700" }
Interface definition for the FXOS8700 sensor driver.
static const fxos8700_params_t fxos8700_params[]
FXOS8700 configuration.
static const saul_reg_info_t fxos8700_saul_info[]
Additional meta information to keep in the SAUL registry.
#define FXOS8700_PARAMS
The parameters to initialize the FXOS8700 driver with.
#define FXOS8700_SAUL_INFO
The SAUL info to register the FXOS8700 driver instances with.
SAUL registry interface definition.
Parameters needed for device initialization.
Additional data to collect for each entry.