21#ifndef MPU9X50_PARAMS_H
22#define MPU9X50_PARAMS_H
36#ifndef MPU9X50_PARAM_I2C
37#define MPU9X50_PARAM_I2C I2C_DEV(0)
39#ifndef MPU9X50_PARAM_ADDR
40#define MPU9X50_PARAM_ADDR (MPU9X50_HW_ADDR_HEX_68)
42#ifndef MPU9X50_PARAM_COMP_ADDR
43#define MPU9X50_PARAM_COMP_ADDR (MPU9X50_COMP_ADDR_HEX_0C)
45#ifndef MPU9X50_PARAM_SAMPLE_RATE
46#define MPU9X50_PARAM_SAMPLE_RATE (MPU9X50_DEFAULT_SAMPLE_RATE)
50#define MPU9X50_PARAMS { .i2c = MPU9X50_PARAM_I2C, \
51 .addr = MPU9X50_PARAM_ADDR, \
52 .comp_addr = MPU9X50_PARAM_COMP_ADDR, \
53 .sample_rate = MPU9X50_PARAM_SAMPLE_RATE }
55#ifndef MPU9X50_SAUL_INFO
56#define MPU9X50_SAUL_INFO { .name = "mpu9x50" }
Device driver interface for the MPU-9X50 (MPU9150 and MPU9250)
static const saul_reg_info_t mpu9x50_saul_info[]
Additional meta information to keep in the SAUL registry.
static const mpu9x50_params_t mpu9x50_params[]
MPU9X50 configuration.
SAUL registry interface definition.
Device initialization parameters.
Additional data to collect for each entry.