ST / LIS2DW12

Dependencies:   X_NUCLEO_COMMON ST_INTERFACES

Dependents:   X_NUCLEO_IKS01A3 X_NUCLEO_IKS01A3

Embed: (wiki syntax)

« Back to documentation index

LIS2DW12_Sensitivity

LIS2DW12_Sensitivity
[LIS2DW12]

These functions convert raw-data into engineering units. More...


Detailed Description

These functions convert raw-data into engineering units.

These macro are maintained for back compatibility.

in order to convert data into engineering units please use functions: -> _from_fs2_to_mg(int16_t lsb); -> _from_fs4_to_mg(int16_t lsb); -> _from_fs8_to_mg(int16_t lsb); -> _from_fs16_to_mg(int16_t lsb); -> _from_fs2_lp1_to_mg(int16_t lsb); -> _from_fs4_lp1_to_mg(int16_t lsb); -> _from_fs8_lp1_to_mg(int16_t lsb); -> _from_fs16_lp1_to_mg(int16_t lsb); -> _from_lsb_to_celsius(int16_t lsb);

REMOVING the MACRO you are compliant with: MISRA-C 2012 [Dir 4.9] -> " avoid function-like macros "