Stima V4 Slave RAIN  4.2

This section groups common useful functions. More...

Functions

int32_t Accelerometer::iis328dq_device_id_get (uint8_t *buff)
 Device Who am I.[get]. More...
 
int32_t Accelerometer::iis328dq_boot_set (uint8_t val)
 Reboot memory content. Reload the calibration parameters.[set]. More...
 
int32_t Accelerometer::iis328dq_boot_get (uint8_t *val)
 Reboot memory content. Reload the calibration parameters.[get]. More...
 
int32_t Accelerometer::iis328dq_self_test_set (iis328dq_st_t val)
 Linear acceleration sensor self-test enable.[set]. More...
 
int32_t Accelerometer::iis328dq_self_test_get (iis328dq_st_t *val)
 Linear acceleration sensor self-test enable.[get]. More...
 
int32_t Accelerometer::iis328dq_data_format_set (iis328dq_ble_t val)
 Big/Little Endian Data selection.[set]. More...
 
int32_t Accelerometer::iis328dq_data_format_get (iis328dq_ble_t *val)
 Big/Little Endian Data selection.[get]. More...
 

Detailed Description

This section groups common useful functions.

Function Documentation

◆ iis328dq_boot_get()

int32_t Accelerometer::iis328dq_boot_get ( uint8_t *  val)

Reboot memory content. Reload the calibration parameters.[get].

Parameters
valchange the values of boot in reg CTRL_REG2
Return values
Interfacestatus (MANDATORY: return 0 -> no Error)

Definition at line 653 of file accelerometer.cpp.

◆ iis328dq_boot_set()

int32_t Accelerometer::iis328dq_boot_set ( uint8_t  val)

Reboot memory content. Reload the calibration parameters.[set].

Parameters
valchange the values of boot in reg CTRL_REG2
Return values
Interfacestatus (MANDATORY: return 0 -> no Error)

Definition at line 632 of file accelerometer.cpp.

◆ iis328dq_data_format_get()

int32_t Accelerometer::iis328dq_data_format_get ( iis328dq_ble_t val)

Big/Little Endian Data selection.[get].

Parameters
valGet the values of ble in reg CTRL_REG4
Return values
Interfacestatus (MANDATORY: return 0 -> no Error)

Definition at line 743 of file accelerometer.cpp.

◆ iis328dq_data_format_set()

int32_t Accelerometer::iis328dq_data_format_set ( iis328dq_ble_t  val)

Big/Little Endian Data selection.[set].

Parameters
valchange the values of ble in reg CTRL_REG4
Return values
Interfacestatus (MANDATORY: return 0 -> no Error)

Definition at line 722 of file accelerometer.cpp.

◆ iis328dq_device_id_get()

int32_t Accelerometer::iis328dq_device_id_get ( uint8_t *  buff)

Device Who am I.[get].

Parameters
buffbuffer that stores data read
Return values
Interfacestatus (MANDATORY: return 0 -> no Error)

Definition at line 620 of file accelerometer.cpp.

◆ iis328dq_self_test_get()

int32_t Accelerometer::iis328dq_self_test_get ( iis328dq_st_t val)

Linear acceleration sensor self-test enable.[get].

Parameters
valGet the values of st in reg CTRL_REG4
Return values
Interfacestatus (MANDATORY: return 0 -> no Error)

Definition at line 689 of file accelerometer.cpp.

◆ iis328dq_self_test_set()

int32_t Accelerometer::iis328dq_self_test_set ( iis328dq_st_t  val)

Linear acceleration sensor self-test enable.[set].

Parameters
valchange the values of st in reg CTRL_REG4
Return values
Interfacestatus (MANDATORY: return 0 -> no Error)

Definition at line 668 of file accelerometer.cpp.