Microchip® Advanced Software Framework

cal_data_t Struct Reference

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
vector3_t cal_data_t::sensitivity