Sensor calibration data.
This variable stores copies of axis calibration offsets stored in NVRAM.
The current implementation will either use software floating-point routines from the toolchain or fixed-point math routines in the ASF. All fractional sensor data should use types defined in precision.h where the type scalar_t
is an alias for a C/C++ floating-point type or an integer type used by fixed-point arithmetic functions defined in the API.
Data Fields | |
vector3_t | offsets |
vector3_t | sensitivity |
vector3_t cal_data_t::offsets |
Referenced by hmc5883l_apply_offset(), hmc5883l_calibrate(), and hmc5883l_init().
vector3_t cal_data_t::sensitivity |
Referenced by hmc5883l_apply_sensitivity(), and hmc5883l_calibrate().