Device initialization parameters. More...

Detailed Description

Device initialization parameters.

Definition at line 99 of file lis3mdl.h.

#include <lis3mdl.h>

Data Fields

i2c_t i2c
 I2C device.
 
uint8_t addr
 Magnometer I2C address.
 
lis3mdl_xy_mode_t xy_mode
 Power mode of x- and y-axis.
 
lis3mdl_z_mode_t z_mode
 Power mode of z-axis.
 
lis3mdl_odr_t odr
 Output data rate.
 
lis3mdl_scale_t scale
 Scale factor.
 
lis3mdl_op_t op_mode
 Operation mode.
 

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