STEVAL-MKI092V1 STMicroelectronics, STEVAL-MKI092V1 Datasheet - Page 25
![BOARD DEMO FOR LIS331HH](/photos/28/40/284077/steval-mki092v1_sml.jpg)
STEVAL-MKI092V1
Manufacturer Part Number
STEVAL-MKI092V1
Description
BOARD DEMO FOR LIS331HH
Manufacturer
STMicroelectronics
Series
MEMS, nanor
Datasheets
1.STEVAL-MKI009V1.pdf
(42 pages)
2.STEVAL-MKI092V1.pdf
(37 pages)
3.STEVAL-MKI092V1.pdf
(4 pages)
Specifications of STEVAL-MKI092V1
Sensor Type
Accelerometer, 3 Axis
Sensing Range
±6g, 12g, 24g
Interface
I²C, SPI
Sensitivity
12mg/digit, 6mg/digit, 3mg/digit
Embedded
No
Utilized Ic / Part
LIS331HH
Acceleration
6 g, 12 g, 24 g
Sensing Axis
Triple Axis
Interface Type
I2C, SPI
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Voltage - Supply
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
For Use With/related Products
LIS331HH
Other names
497-10523
UM0701
7.2.9
7.2.10
MEMS_SPI_WriteReg function
Table 21
Table 21.
MEMS_SPI_ReadReg function
Table 22
Table 22.
Function prototype
Description
Input parameter1
Input parameter2
Output parameter
Return parameter
Function prototype
Description
Input parameter
Output parameter
Return parameter
Function name
Function name
describes the MEMS_SPI_WriteReg function.
describes the MEMS_SPI_ReadReg function.
MEMS_SPI_WriteReg function
MEMS_SPI_ReadReg function
ErrorStatus MEMS_SPI_WriteReg
(u8 RegAddress, u8 Data)
Writes data to the MEMS register over SPI.
RegAddress: address of register
Data: data to be written
None
An ErrorStatus enumeration value:
– SUCCESS: register written
– ERROR: register not written
ErrorStatus MEMS_SPI_ReadReg
(u8 RegAddress, u8 *Data)
Reads data to the MEMS register over SPI.
RegAddress: address of register
Data: data read
An ErrorStatus enumeration value:
– SUCCESS: register written
– ERROR: register not written
Doc ID 15703 Rev 1
MEMS_SPI_WriteReg
MEMS_SPI_ReadReg
STM32-MEMS development kit
25/42