Loading...
Searching...
No Matches

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)
 

Field Documentation

◆ dev

unsigned hmc5883l_params_t::dev

I2C device.

Definition at line 159 of file hmc5883l.h.

◆ dor

hmc5883l_dor_t hmc5883l_params_t::dor

Data output rate (default HMC5883L_DOR_15)

Definition at line 165 of file hmc5883l.h.

◆ gain

hmc5883l_gain_t hmc5883l_params_t::gain

Gain (default HMC5883L_GAIN_1090)

Definition at line 167 of file hmc5883l.h.

◆ meas_avg

hmc5883l_meas_avg_t hmc5883l_params_t::meas_avg

Measurement avaraging (default HMC5883L_MEAS_AVG_NONE)

Definition at line 164 of file hmc5883l.h.

◆ meas_mode

hmc5883l_meas_mode_t hmc5883l_params_t::meas_mode

Measurement mode (default HMC5883L_MEAS_MODE_NORMAL)

Definition at line 163 of file hmc5883l.h.

◆ op_mode

hmc5883l_op_mode_t hmc5883l_params_t::op_mode

Operation mode (HMC5883L_OP_MODE_CONTINUOUS)

Definition at line 166 of file hmc5883l.h.


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