22#ifndef MMA7660_PARAMS_H
23#define MMA7660_PARAMS_H
37#ifndef MMA7660_PARAM_I2C
38#define MMA7660_PARAM_I2C I2C_DEV(0)
40#ifndef MMA7660_PARAM_ADDR
41#define MMA7660_PARAM_ADDR (MMA7660_ADDR)
43#ifndef MMA7660_PARAM_AMSR
44#define MMA7660_PARAM_AMSR (MMA7660_SR_AM1)
46#ifndef MMA7660_PARAM_AWSR
47#define MMA7660_PARAM_AWSR (MMA7660_SR_AW1)
49#ifndef MMA7660_PARAM_FILT
50#define MMA7660_PARAM_FILT (1)
54#define MMA7660_PARAMS { .i2c = MMA7660_PARAM_I2C, \
55 .addr = MMA7660_PARAM_ADDR, \
56 .amsr = MMA7660_PARAM_AMSR, \
57 .awsr = MMA7660_PARAM_AWSR, \
58 .filt = MMA7660_PARAM_FILT}
60#ifndef MMA7660_SAUL_INFO
61#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.