Loading...
Searching...
No Matches

Data structure holding all the information needed for initialization. More...

Detailed Description

Data structure holding all the information needed for initialization.

Definition at line 108 of file lsm303dlhc.h.

#include <lsm303dlhc.h>

Data Fields

i2c_t i2c
 I2C bus used.
 
uint8_t acc_addr
 accelerometer I2C address
 
gpio_t acc_pin
 accelerometer EXTI pin
 
lsm303dlhc_acc_sample_rate_t acc_rate
 accelerometer sample rate
 
lsm303dlhc_acc_scale_t acc_scale
 accelerometer scale factor
 
uint8_t mag_addr
 magnetometer I2C address
 
gpio_t mag_pin
 magnetometer EXTI pin
 
lsm303dlhc_mag_sample_rate_t mag_rate
 magnetometer sample rate
 
lsm303dlhc_mag_gain_t mag_gain
 magnetometer gain
 

Field Documentation

◆ acc_addr

uint8_t lsm303dlhc_params_t::acc_addr

accelerometer I2C address

Definition at line 110 of file lsm303dlhc.h.

◆ acc_pin

gpio_t lsm303dlhc_params_t::acc_pin

accelerometer EXTI pin

Definition at line 111 of file lsm303dlhc.h.

◆ acc_rate

lsm303dlhc_acc_sample_rate_t lsm303dlhc_params_t::acc_rate

accelerometer sample rate

Definition at line 112 of file lsm303dlhc.h.

◆ acc_scale

lsm303dlhc_acc_scale_t lsm303dlhc_params_t::acc_scale

accelerometer scale factor

Definition at line 113 of file lsm303dlhc.h.

◆ i2c

i2c_t lsm303dlhc_params_t::i2c

I2C bus used.

Definition at line 109 of file lsm303dlhc.h.

◆ mag_addr

uint8_t lsm303dlhc_params_t::mag_addr

magnetometer I2C address

Definition at line 114 of file lsm303dlhc.h.

◆ mag_gain

lsm303dlhc_mag_gain_t lsm303dlhc_params_t::mag_gain

magnetometer gain

Definition at line 117 of file lsm303dlhc.h.

◆ mag_pin

gpio_t lsm303dlhc_params_t::mag_pin

magnetometer EXTI pin

Definition at line 115 of file lsm303dlhc.h.

◆ mag_rate

lsm303dlhc_mag_sample_rate_t lsm303dlhc_params_t::mag_rate

magnetometer sample rate

Definition at line 116 of file lsm303dlhc.h.


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