36 #ifndef MMA7660_PARAM_I2C
37 #define MMA7660_PARAM_I2C I2C_DEV(0)
39 #ifndef MMA7660_PARAM_ADDR
40 #define MMA7660_PARAM_ADDR (MMA7660_ADDR)
42 #ifndef MMA7660_PARAM_AMSR
43 #define MMA7660_PARAM_AMSR (MMA7660_SR_AM1)
45 #ifndef MMA7660_PARAM_AWSR
46 #define MMA7660_PARAM_AWSR (MMA7660_SR_AW1)
48 #ifndef MMA7660_PARAM_FILT
49 #define MMA7660_PARAM_FILT (1)
52 #ifndef MMA7660_PARAMS
53 #define MMA7660_PARAMS { .i2c = MMA7660_PARAM_I2C, \
54 .addr = MMA7660_PARAM_ADDR, \
55 .amsr = MMA7660_PARAM_AMSR, \
56 .awsr = MMA7660_PARAM_AWSR, \
57 .filt = MMA7660_PARAM_FILT}
59 #ifndef MMA7660_SAUL_INFO
60 #define MMA7660_SAUL_INFO { .name = "mma7660" }
Interface definition for the MMA7660 accelerometer driver.
static const saul_reg_info_t mma7660_saul_info[]
Additional meta information to keep in the SAUL registry.
static const mma7660_params_t mma7660_params[]
MMA7660 configuration.
SAUL registry interface definition.
Parameters for an MMA7660 device.
Additional data to collect for each entry.