Loading...
Searching...
No Matches

Configuration parameters. More...

Detailed Description

Configuration parameters.

Definition at line 107 of file mma8x5x.h.

#include <mma8x5x.h>

Data Fields

i2c_t i2c
 I2C bus the device is connected to.
 
uint8_t addr
 I2C bus address of the device.
 
uint8_t rate
 sampling rate to use
 
uint8_t range
 scale range to use
 
uint8_t offset [3]
 data offset in X, Y, and Z direction
 

Field Documentation

◆ addr

uint8_t mma8x5x_params_t::addr

I2C bus address of the device.

Definition at line 109 of file mma8x5x.h.

◆ i2c

i2c_t mma8x5x_params_t::i2c

I2C bus the device is connected to.

Definition at line 108 of file mma8x5x.h.

◆ offset

uint8_t mma8x5x_params_t::offset[3]

data offset in X, Y, and Z direction

Definition at line 112 of file mma8x5x.h.

◆ range

uint8_t mma8x5x_params_t::range

scale range to use

Definition at line 111 of file mma8x5x.h.

◆ rate

uint8_t mma8x5x_params_t::rate

sampling rate to use

Definition at line 110 of file mma8x5x.h.


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