HMC5883L device initialization parameters. More...

Detailed Description

HMC5883L device initialization parameters.

Definition at line 158 of file hmc5883l.h.

#include <hmc5883l.h>

Data Fields

unsigned dev
 I2C device.
 
hmc5883l_meas_mode_t meas_mode
 Measurement mode (default HMC5883L_MEAS_MODE_NORMAL)
 
hmc5883l_meas_avg_t meas_avg
 Measurement avaraging (default HMC5883L_MEAS_AVG_NONE)
 
hmc5883l_dor_t dor
 Data output rate (default HMC5883L_DOR_15)
 
hmc5883l_op_mode_t op_mode
 Operation mode (HMC5883L_OP_MODE_CONTINUOUS)
 
hmc5883l_gain_t gain
 Gain (default HMC5883L_GAIN_1090)
 

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