Loading...
Searching...
No Matches

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.
 

Field Documentation

◆ addr

uint8_t lis3mdl_params_t::addr

Magnometer I2C address.

Definition at line 101 of file lis3mdl.h.

◆ i2c

i2c_t lis3mdl_params_t::i2c

I2C device.

Definition at line 100 of file lis3mdl.h.

◆ odr

lis3mdl_odr_t lis3mdl_params_t::odr

Output data rate.

Definition at line 104 of file lis3mdl.h.

◆ op_mode

lis3mdl_op_t lis3mdl_params_t::op_mode

Operation mode.

Definition at line 106 of file lis3mdl.h.

◆ scale

lis3mdl_scale_t lis3mdl_params_t::scale

Scale factor.

Definition at line 105 of file lis3mdl.h.

◆ xy_mode

lis3mdl_xy_mode_t lis3mdl_params_t::xy_mode

Power mode of x- and y-axis.

Definition at line 102 of file lis3mdl.h.

◆ z_mode

lis3mdl_z_mode_t lis3mdl_params_t::z_mode

Power mode of z-axis.

Definition at line 103 of file lis3mdl.h.


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