All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches

Default configuration for MPU9X50 (MPU9150 and MPU9250) devices. More...

Detailed Description

Default configuration for MPU9X50 (MPU9150 and MPU9250) devices.

Author
Alexandre Abadie alexa.nosp@m.ndre.nosp@m..abad.nosp@m.ie@i.nosp@m.nria..nosp@m.fr
Jannes Volkens janne.nosp@m.s.vo.nosp@m.lkens.nosp@m.@haw.nosp@m.-hamb.nosp@m.urg..nosp@m.de

Definition in file mpu9x50_params.h.

#include "board.h"
#include "saul_reg.h"
#include "mpu9x50.h"
+ Include dependency graph for mpu9x50_params.h:

Go to the source code of this file.

Variables

static const mpu9x50_params_t mpu9x50_params []
 MPU9X50 configuration.
 
static const saul_reg_info_t mpu9x50_saul_info []
 Additional meta information to keep in the SAUL registry.
 

Default configuration parameters for the MPU9X50 driver

#define MPU9X50_PARAM_I2C   I2C_DEV(0)
 
#define MPU9X50_PARAM_ADDR   (MPU9X50_HW_ADDR_HEX_68)
 
#define MPU9X50_PARAM_COMP_ADDR   (MPU9X50_COMP_ADDR_HEX_0C)
 
#define MPU9X50_PARAM_SAMPLE_RATE   (MPU9X50_DEFAULT_SAMPLE_RATE)
 
#define MPU9X50_PARAMS
 
#define MPU9X50_SAUL_INFO   { .name = "mpu9x50" }
 

Macro Definition Documentation

◆ MPU9X50_PARAM_ADDR

#define MPU9X50_PARAM_ADDR   (MPU9X50_HW_ADDR_HEX_68)

Definition at line 40 of file mpu9x50_params.h.

◆ MPU9X50_PARAM_COMP_ADDR

#define MPU9X50_PARAM_COMP_ADDR   (MPU9X50_COMP_ADDR_HEX_0C)

Definition at line 43 of file mpu9x50_params.h.

◆ MPU9X50_PARAM_I2C

#define MPU9X50_PARAM_I2C   I2C_DEV(0)

Definition at line 37 of file mpu9x50_params.h.

◆ MPU9X50_PARAM_SAMPLE_RATE

#define MPU9X50_PARAM_SAMPLE_RATE   (MPU9X50_DEFAULT_SAMPLE_RATE)

Definition at line 46 of file mpu9x50_params.h.

◆ MPU9X50_PARAMS

#define MPU9X50_PARAMS
Value:
{ .i2c = MPU9X50_PARAM_I2C, \
.addr = MPU9X50_PARAM_ADDR, \
.comp_addr = MPU9X50_PARAM_COMP_ADDR, \
.sample_rate = MPU9X50_PARAM_SAMPLE_RATE }
#define MPU9X50_PARAM_COMP_ADDR
I2C address of the MPU9150.
Definition board.h:44

Definition at line 50 of file mpu9x50_params.h.

◆ MPU9X50_SAUL_INFO

#define MPU9X50_SAUL_INFO   { .name = "mpu9x50" }

Definition at line 56 of file mpu9x50_params.h.

Variable Documentation

◆ mpu9x50_params

const mpu9x50_params_t mpu9x50_params[]
static
Initial value:
=
{
MPU9X50_PARAMS
}

MPU9X50 configuration.

Definition at line 63 of file mpu9x50_params.h.

◆ mpu9x50_saul_info

const saul_reg_info_t mpu9x50_saul_info[]
static
Initial value:
=
{
MPU9X50_SAUL_INFO
}

Additional meta information to keep in the SAUL registry.

Definition at line 71 of file mpu9x50_params.h.