Stima V4 Slave RAIN  4.2
IIS328DQ_Serial_Interface

This section groups all the functions concerning serial interface management. More...

Functions

int32_t Accelerometer::iis328dq_spi_mode_set (iis328dq_sim_t val)
 SPI 3- or 4-wire interface.[set]. More...
 
int32_t Accelerometer::iis328dq_spi_mode_get (iis328dq_sim_t *val)
 SPI 3- or 4-wire interface.[get]. More...
 

Detailed Description

This section groups all the functions concerning serial interface management.

Function Documentation

◆ iis328dq_spi_mode_get()

int32_t Accelerometer::iis328dq_spi_mode_get ( iis328dq_sim_t val)

SPI 3- or 4-wire interface.[get].

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

Definition at line 988 of file accelerometer.cpp.

◆ iis328dq_spi_mode_set()

int32_t Accelerometer::iis328dq_spi_mode_set ( iis328dq_sim_t  val)

SPI 3- or 4-wire interface.[set].

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

Definition at line 967 of file accelerometer.cpp.