Stima V4 Slave RAIN  4.2
IIS328DQ_Sensitivity

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

Functions

void Accelerometer::push_raw_data (int16_t *data_raw)
 Push data row for scroll mean sensibility data. More...
 
int16_t Accelerometer::get_raw_mean (coordinate request)
 Get mean value from scroll filter raw array. More...
 
float_t Accelerometer::iis328dq_from_fs2_to_mg (int16_t lsb)
 Read istant value accelerometer scaled on 2G to mg. More...
 
float_t Accelerometer::iis328dq_from_fs2_to_mg (coordinate request)
 Read from sroll mean accelerometer scaled on 2G to mg. More...
 
float_t Accelerometer::iis328dq_from_fs4_to_mg (int16_t lsb)
 Read istant value accelerometer scaled on 4G to mg. More...
 
float_t Accelerometer::iis328dq_from_fs4_to_mg (coordinate request)
 Read from sroll mean accelerometer scaled on 4G to mg. More...
 
float_t Accelerometer::iis328dq_from_fs8_to_mg (int16_t lsb)
 Read istant value accelerometer scaled on 8G to mg. More...
 
float_t Accelerometer::iis328dq_from_fs8_to_mg (coordinate request)
 Read from sroll mean accelerometer scaled on 8G to mg. More...
 
float_t Accelerometer::iis328dq_from_fsx_to_inc (int16_t lsb)
 Read istant value accelerometer scaled 0-100% to inclinometer value. More...
 
float_t Accelerometer::iis328dq_from_fsx_to_inc (coordinate request)
 Read from sroll mean accelerometer scaled 0-100% to inclinometer value. More...
 

Detailed Description

These functions convert raw-data into engineering units.

Function Documentation

◆ get_raw_mean()

int16_t Accelerometer::get_raw_mean ( coordinate  request)

Get mean value from scroll filter raw array.

Parameters
requestcoordinate to get
Returns
raw_data filtered

Definition at line 133 of file accelerometer.cpp.

◆ iis328dq_from_fs2_to_mg() [1/2]

float_t Accelerometer::iis328dq_from_fs2_to_mg ( coordinate  request)

Read from sroll mean accelerometer scaled on 2G to mg.

Parameters
requestcoordinate to get
Returns
float conversion to mg

Definition at line 156 of file accelerometer.cpp.

◆ iis328dq_from_fs2_to_mg() [2/2]

float_t Accelerometer::iis328dq_from_fs2_to_mg ( int16_t  lsb)

Read istant value accelerometer scaled on 2G to mg.

Parameters
lsbint16 readed from device
Returns
float conversion to mg

Definition at line 148 of file accelerometer.cpp.

◆ iis328dq_from_fs4_to_mg() [1/2]

float_t Accelerometer::iis328dq_from_fs4_to_mg ( coordinate  request)

Read from sroll mean accelerometer scaled on 4G to mg.

Parameters
requestcoordinate to get
Returns
float conversion to mg

Definition at line 172 of file accelerometer.cpp.

◆ iis328dq_from_fs4_to_mg() [2/2]

float_t Accelerometer::iis328dq_from_fs4_to_mg ( int16_t  lsb)

Read istant value accelerometer scaled on 4G to mg.

Parameters
lsbint16 readed from device
Returns
float conversion to mg

Definition at line 164 of file accelerometer.cpp.

◆ iis328dq_from_fs8_to_mg() [1/2]

float_t Accelerometer::iis328dq_from_fs8_to_mg ( coordinate  request)

Read from sroll mean accelerometer scaled on 8G to mg.

Parameters
requestcoordinate to get
Returns
float conversion to mg

Definition at line 188 of file accelerometer.cpp.

◆ iis328dq_from_fs8_to_mg() [2/2]

float_t Accelerometer::iis328dq_from_fs8_to_mg ( int16_t  lsb)

Read istant value accelerometer scaled on 8G to mg.

Parameters
lsbint16 readed from device
Returns
float conversion to mg

Definition at line 180 of file accelerometer.cpp.

◆ iis328dq_from_fsx_to_inc() [1/2]

float_t Accelerometer::iis328dq_from_fsx_to_inc ( coordinate  request)

Read from sroll mean accelerometer scaled 0-100% to inclinometer value.

Parameters
requestcoordinate to get
Returns
float conversion to inclinometer value

Definition at line 204 of file accelerometer.cpp.

◆ iis328dq_from_fsx_to_inc() [2/2]

float_t Accelerometer::iis328dq_from_fsx_to_inc ( int16_t  lsb)

Read istant value accelerometer scaled 0-100% to inclinometer value.

Parameters
lsbint16 readed from device
Returns
float conversion to inclinometer value

Definition at line 196 of file accelerometer.cpp.

◆ push_raw_data()

void Accelerometer::push_raw_data ( int16_t *  data_raw)

Push data row for scroll mean sensibility data.

Parameters
data_raw

Definition at line 116 of file accelerometer.cpp.