Stima V4 Slave RAIN  4.2
IIS328DQ_Six_Position_Detection

This section groups all the functions concerning six position detection (6D). More...

Functions

int32_t Accelerometer::iis328dq_int1_6d_mode_set (iis328dq_int1_6d_t val)
 Configure the 6d on interrupt 1 generator.[set]. More...
 
int32_t Accelerometer::iis328dq_int1_6d_mode_get (iis328dq_int1_6d_t *val)
 Configure the 6d on interrupt 1 generator.[get]. More...
 
int32_t Accelerometer::iis328dq_int1_6d_src_get (iis328dq_int1_src_t *val)
 6D on interrupt generator 1 source register.[get] More...
 
int32_t Accelerometer::iis328dq_int1_6d_treshold_set (uint8_t val)
 Interrupt 1 threshold.[set]. More...
 
int32_t Accelerometer::iis328dq_int1_6d_treshold_get (uint8_t *val)
 Interrupt 1 threshold.[get]. More...
 
int32_t Accelerometer::iis328dq_int2_6d_mode_set (iis328dq_int2_6d_t val)
 Configure the 6d on interrupt 2 generator.[set]. More...
 
int32_t Accelerometer::iis328dq_int2_6d_mode_get (iis328dq_int2_6d_t *val)
 Configure the 6d on interrupt 2 generator.[get]. More...
 
int32_t Accelerometer::iis328dq_int2_6d_src_get (iis328dq_int2_src_t *val)
 6D on interrupt generator 2 source register.[get] More...
 
int32_t Accelerometer::iis328dq_int2_6d_treshold_set (uint8_t val)
 Interrupt 2 threshold.[set]. More...
 
int32_t Accelerometer::iis328dq_int2_6d_treshold_get (uint8_t *val)
 Interrupt 2 threshold.[get]. More...
 

Detailed Description

This section groups all the functions concerning six position detection (6D).

Function Documentation

◆ iis328dq_int1_6d_mode_get()

int32_t Accelerometer::iis328dq_int1_6d_mode_get ( iis328dq_int1_6d_t val)

Configure the 6d on interrupt 1 generator.[get].

Parameters
valGet the values of 6d in reg INT1_CFG
Return values
Interfacestatus (MANDATORY: return 0 -> no Error)

Definition at line 1782 of file accelerometer.cpp.

◆ iis328dq_int1_6d_mode_set()

int32_t Accelerometer::iis328dq_int1_6d_mode_set ( iis328dq_int1_6d_t  val)

Configure the 6d on interrupt 1 generator.[set].

Parameters
valchange the values of 6d in reg INT1_CFG
Return values
Interfacestatus (MANDATORY: return 0 -> no Error)

Definition at line 1762 of file accelerometer.cpp.

◆ iis328dq_int1_6d_src_get()

int32_t Accelerometer::iis328dq_int1_6d_src_get ( iis328dq_int1_src_t val)

6D on interrupt generator 1 source register.[get]

Parameters
valregisters INT1_SRC
Return values
Interfacestatus (MANDATORY: return 0 -> no Error)

Definition at line 1814 of file accelerometer.cpp.

◆ iis328dq_int1_6d_treshold_get()

int32_t Accelerometer::iis328dq_int1_6d_treshold_get ( uint8_t *  val)

Interrupt 1 threshold.[get].

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

Definition at line 1845 of file accelerometer.cpp.

◆ iis328dq_int1_6d_treshold_set()

int32_t Accelerometer::iis328dq_int1_6d_treshold_set ( uint8_t  val)

Interrupt 1 threshold.[set].

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

Definition at line 1826 of file accelerometer.cpp.

◆ iis328dq_int2_6d_mode_get()

int32_t Accelerometer::iis328dq_int2_6d_mode_get ( iis328dq_int2_6d_t val)

Configure the 6d on interrupt 2 generator.[get].

Parameters
valGet the values of 6d in reg INT2_CFG
Return values
Interfacestatus (MANDATORY: return 0 -> no Error)

Definition at line 1880 of file accelerometer.cpp.

◆ iis328dq_int2_6d_mode_set()

int32_t Accelerometer::iis328dq_int2_6d_mode_set ( iis328dq_int2_6d_t  val)

Configure the 6d on interrupt 2 generator.[set].

Parameters
valchange the values of 6d in reg INT2_CFG
Return values
Interfacestatus (MANDATORY: return 0 -> no Error)

Definition at line 1859 of file accelerometer.cpp.

◆ iis328dq_int2_6d_src_get()

int32_t Accelerometer::iis328dq_int2_6d_src_get ( iis328dq_int2_src_t val)

6D on interrupt generator 2 source register.[get]

Parameters
valregisters INT2_SRC
Return values
Interfacestatus (MANDATORY: return 0 -> no Error)

Definition at line 1912 of file accelerometer.cpp.

◆ iis328dq_int2_6d_treshold_get()

int32_t Accelerometer::iis328dq_int2_6d_treshold_get ( uint8_t *  val)

Interrupt 2 threshold.[get].

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

Definition at line 1944 of file accelerometer.cpp.

◆ iis328dq_int2_6d_treshold_set()

int32_t Accelerometer::iis328dq_int2_6d_treshold_set ( uint8_t  val)

Interrupt 2 threshold.[set].

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

Definition at line 1924 of file accelerometer.cpp.