Da Vinci Firmware 1
Firmware for the DaVinci-M rocket avionics board.
Loading...
Searching...
No Matches

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

Collaboration diagram for LSM6DSO32_Sensitivity:

Functions

float_t lsm6dso32_from_fs4_to_mg (int16_t lsb)
 
float_t lsm6dso32_from_fs8_to_mg (int16_t lsb)
 
float_t lsm6dso32_from_fs16_to_mg (int16_t lsb)
 
float_t lsm6dso32_from_fs32_to_mg (int16_t lsb)
 
float_t lsm6dso32_from_fs125_to_mdps (int16_t lsb)
 
float_t lsm6dso32_from_fs250_to_mdps (int16_t lsb)
 
float_t lsm6dso32_from_fs500_to_mdps (int16_t lsb)
 
float_t lsm6dso32_from_fs1000_to_mdps (int16_t lsb)
 
float_t lsm6dso32_from_fs2000_to_mdps (int16_t lsb)
 
float_t lsm6dso32_from_lsb_to_celsius (int16_t lsb)
 
float_t lsm6dso32_from_lsb_to_nsec (int16_t lsb)
 

Detailed Description

These functions convert raw-data into engineering units.

Function Documentation

◆ lsm6dso32_from_fs1000_to_mdps()

float_t lsm6dso32_from_fs1000_to_mdps ( int16_t  lsb)

Definition at line 132 of file lsm6dso32_reg.c.

133{
134 return ((float_t)lsb) * 35.0f;
135}

◆ lsm6dso32_from_fs125_to_mdps()

float_t lsm6dso32_from_fs125_to_mdps ( int16_t  lsb)

Definition at line 117 of file lsm6dso32_reg.c.

118{
119 return ((float_t)lsb) * 4.375f;
120}

◆ lsm6dso32_from_fs16_to_mg()

float_t lsm6dso32_from_fs16_to_mg ( int16_t  lsb)

Definition at line 107 of file lsm6dso32_reg.c.

108{
109 return ((float_t)lsb) * 0.488f;
110}

Referenced by calibrateIMU(), and StartSensor_Task().

Here is the caller graph for this function:

◆ lsm6dso32_from_fs2000_to_mdps()

float_t lsm6dso32_from_fs2000_to_mdps ( int16_t  lsb)

Definition at line 137 of file lsm6dso32_reg.c.

138{
139 return ((float_t)lsb) * 70.0f;
140}

Referenced by calibrateIMU(), and StartSensor_Task().

Here is the caller graph for this function:

◆ lsm6dso32_from_fs250_to_mdps()

float_t lsm6dso32_from_fs250_to_mdps ( int16_t  lsb)

Definition at line 122 of file lsm6dso32_reg.c.

123{
124 return ((float_t)lsb) * 8.75f;
125}

◆ lsm6dso32_from_fs32_to_mg()

float_t lsm6dso32_from_fs32_to_mg ( int16_t  lsb)

Definition at line 112 of file lsm6dso32_reg.c.

113{
114 return ((float_t)lsb) * 0.976f;
115}

◆ lsm6dso32_from_fs4_to_mg()

float_t lsm6dso32_from_fs4_to_mg ( int16_t  lsb)

Definition at line 97 of file lsm6dso32_reg.c.

98{
99 return ((float_t)lsb) * 0.122f;
100}

◆ lsm6dso32_from_fs500_to_mdps()

float_t lsm6dso32_from_fs500_to_mdps ( int16_t  lsb)

Definition at line 127 of file lsm6dso32_reg.c.

128{
129 return ((float_t)lsb) * 17.50f;
130}

◆ lsm6dso32_from_fs8_to_mg()

float_t lsm6dso32_from_fs8_to_mg ( int16_t  lsb)

Definition at line 102 of file lsm6dso32_reg.c.

103{
104 return ((float_t)lsb) * 0.244f;
105}

◆ lsm6dso32_from_lsb_to_celsius()

float_t lsm6dso32_from_lsb_to_celsius ( int16_t  lsb)

Definition at line 142 of file lsm6dso32_reg.c.

143{
144 return (((float_t)lsb / 256.0f) + 25.0f);
145}

Referenced by calibrateIMU().

Here is the caller graph for this function:

◆ lsm6dso32_from_lsb_to_nsec()

float_t lsm6dso32_from_lsb_to_nsec ( int16_t  lsb)

Definition at line 147 of file lsm6dso32_reg.c.

148{
149 return ((float_t)lsb * 25000.0f);
150}