Loading...
Searching...
No Matches

Default configuration for bmx055 devices. More...

Detailed Description

Default configuration for bmx055 devices.

Author
Semjon Kerner semjo.nosp@m.n.ke.nosp@m.rner@.nosp@m.fu-b.nosp@m.erlin.nosp@m..de

Definition in file bmx055_params.h.

#include "board.h"
+ Include dependency graph for bmx055_params.h:

Go to the source code of this file.

Variables

static const bmx055_params_t bmx055_params []
 BMX055 configuration.
 
static const saul_reg_info_t bmx055_saul_info [][3]
 SAUL registry entries.
 

Default configuration parameters for device BMX055

#define BMX055_PARAM_I2C   I2C_DEV(0)
 
#define BMX055_PARAM_MAG_ADDR   CONFIG_BMX055_MAG_ADDR_DEFAULT
 
#define BMX055_PARAM_ACC_ADDR   CONFIG_BMX055_ACC_ADDR_DEFAULT
 
#define BMX055_PARAM_GYRO_ADDR   CONFIG_BMX055_GYRO_ADDR_DEFAULT
 
#define BMX055_PARAM_INT1   GPIO_PIN(0, 0)
 
#define BMX055_PARAM_INT2   GPIO_PIN(0, 1)
 
#define BMX055_PARAM_MAG_RATE   BMX055_MAG_DRATE_DEFAULT
 
#define BMX055_PARAM_ACC_RANGE   BMX055_ACC_RANGE_2G
 
#define BMX055_PARAM_GYRO_SCALE   BMX055_GYRO_SCALE_2000DPS
 
#define BMX055_PARAMS
 
#define BMX055_SAULINFO
 

Macro Definition Documentation

◆ BMX055_PARAM_ACC_ADDR

#define BMX055_PARAM_ACC_ADDR   CONFIG_BMX055_ACC_ADDR_DEFAULT

Definition at line 39 of file bmx055_params.h.

◆ BMX055_PARAM_ACC_RANGE

#define BMX055_PARAM_ACC_RANGE   BMX055_ACC_RANGE_2G

Definition at line 54 of file bmx055_params.h.

◆ BMX055_PARAM_GYRO_ADDR

#define BMX055_PARAM_GYRO_ADDR   CONFIG_BMX055_GYRO_ADDR_DEFAULT

Definition at line 42 of file bmx055_params.h.

◆ BMX055_PARAM_GYRO_SCALE

#define BMX055_PARAM_GYRO_SCALE   BMX055_GYRO_SCALE_2000DPS

Definition at line 57 of file bmx055_params.h.

◆ BMX055_PARAM_I2C

#define BMX055_PARAM_I2C   I2C_DEV(0)

Definition at line 33 of file bmx055_params.h.

◆ BMX055_PARAM_INT1

#define BMX055_PARAM_INT1   GPIO_PIN(0, 0)

Definition at line 45 of file bmx055_params.h.

◆ BMX055_PARAM_INT2

#define BMX055_PARAM_INT2   GPIO_PIN(0, 1)

Definition at line 48 of file bmx055_params.h.

◆ BMX055_PARAM_MAG_ADDR

#define BMX055_PARAM_MAG_ADDR   CONFIG_BMX055_MAG_ADDR_DEFAULT

Definition at line 36 of file bmx055_params.h.

◆ BMX055_PARAM_MAG_RATE

#define BMX055_PARAM_MAG_RATE   BMX055_MAG_DRATE_DEFAULT

Definition at line 51 of file bmx055_params.h.

◆ BMX055_PARAMS

#define BMX055_PARAMS
Value:
{ .i2c = BMX055_PARAM_I2C, \
.addr_mag = BMX055_PARAM_MAG_ADDR, \
.addr_acc = BMX055_PARAM_ACC_ADDR, \
.addr_gyro = BMX055_PARAM_GYRO_ADDR, \
.int1_pin = BMX055_PARAM_INT1, \
.int2_pin = BMX055_PARAM_INT2, \
.mag_rate = BMX055_PARAM_MAG_RATE, \
.acc_range = BMX055_PARAM_ACC_RANGE, \
.gyro_scale = BMX055_PARAM_GYRO_SCALE, \
}

Definition at line 61 of file bmx055_params.h.

◆ BMX055_SAULINFO

#define BMX055_SAULINFO
Value:
{ { .name = "Magnetometer (bmx055)" }, \
{ .name = "Accelerometer (bmx055)" }, \
{ .name = "Gyroscope (bmx055)" }, \
}

Definition at line 75 of file bmx055_params.h.

Variable Documentation

◆ bmx055_params

const bmx055_params_t bmx055_params[]
static
Initial value:
= {
BMX055_PARAMS
}

BMX055 configuration.

Definition at line 86 of file bmx055_params.h.

◆ bmx055_saul_info

const saul_reg_info_t bmx055_saul_info[][3]
static
Initial value:
= {
BMX055_SAULINFO
}

SAUL registry entries.

Definition at line 93 of file bmx055_params.h.