Loading...
Searching...
No Matches

Data structure holding the device parameters needed for initialization. More...

Detailed Description

Data structure holding the device parameters needed for initialization.

Definition at line 127 of file bmx055.h.

#include <bmx055.h>

Data Fields

i2c_t i2c
 I2C bus the device is connected to.
 
uint8_t addr_mag
 the magnetometer address on that bus
 
uint8_t addr_acc
 the accelerometer address on that bus
 
uint8_t addr_gyro
 the gyroscope address on that bus
 
gpio_t int1_pin
 GPIO pin connected to the INT1 line.
 
gpio_t int2_pin
 GPIO pin connected to the INT2 line.
 
uint8_t mag_rate
 datarate of magnetometer
 
uint8_t acc_range
 range of accelerometer
 
uint8_t gyro_scale
 range of gyroscope
 

Field Documentation

◆ acc_range

uint8_t bmx055_params_t::acc_range

range of accelerometer

Definition at line 135 of file bmx055.h.

◆ addr_acc

uint8_t bmx055_params_t::addr_acc

the accelerometer address on that bus

Definition at line 130 of file bmx055.h.

◆ addr_gyro

uint8_t bmx055_params_t::addr_gyro

the gyroscope address on that bus

Definition at line 131 of file bmx055.h.

◆ addr_mag

uint8_t bmx055_params_t::addr_mag

the magnetometer address on that bus

Definition at line 129 of file bmx055.h.

◆ gyro_scale

uint8_t bmx055_params_t::gyro_scale

range of gyroscope

Definition at line 136 of file bmx055.h.

◆ i2c

i2c_t bmx055_params_t::i2c

I2C bus the device is connected to.

Definition at line 128 of file bmx055.h.

◆ int1_pin

gpio_t bmx055_params_t::int1_pin

GPIO pin connected to the INT1 line.

Definition at line 132 of file bmx055.h.

◆ int2_pin

gpio_t bmx055_params_t::int2_pin

GPIO pin connected to the INT2 line.

Definition at line 133 of file bmx055.h.

◆ mag_rate

uint8_t bmx055_params_t::mag_rate

datarate of magnetometer

Definition at line 134 of file bmx055.h.


The documentation for this struct was generated from the following file: