STEVAL-MKI007V1 STMicroelectronics, STEVAL-MKI007V1 Datasheet - Page 28
![no-image](/images/manufacturer_photos/0/6/637/stmicroelectronics_sml.jpg)
STEVAL-MKI007V1
Manufacturer Part Number
STEVAL-MKI007V1
Description
BOARD EVAL ACCELEROM LIS302ALB
Manufacturer
STMicroelectronics
Series
MEMSr
Type
Accelerometerr
Datasheet
1.STEVAL-MKI009V1.pdf
(42 pages)
Specifications of STEVAL-MKI007V1
Contents
Fully Assembled Evaluation Board
For Use With/related Products
LIS302ALB
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
497-6245
STM32-MEMS development kit
7.2.16
7.2.17
28/42
MEMS_I2C_ReadReg function
Table 28
Table 28.
MEMS_I2C_SendFrame function
Table 29
Table 29.
Function prototype
Description
Input parameter
Output parameter
Return parameter
Function prototype
Description
Input parameter1
Input parameter2
Input parameter3
Output parameter
Return parameter
Function name
Function name
describes the MEMS_I2C_ReadReg function.
describes the MEMS_I2C_SendFrame function.
MEMS_I2C_ReadReg function
MEMS_I2C_SendFrame function
ErrorStatus MEMS_I2C_SendFrame
(u8 RegAddress, u8 *pBuffer, u8 NoOfBytes)
Sends one frame over I
RegAddress: address of register
pBuffer: pointer to buffer with data
NoOfBytes: number of bytes to be sent
None
An ErrorStatus enumeration value:
– SUCCESS: register written
– ERROR: register not written
ErrorStatus MEMS_I2C_ReadReg
(u8 RegAddress, u8 *Data)
Reads data to the MEMS register over I
RegAddress: address of register
Data: data read
An ErrorStatus enumeration value:
– SUCCESS: register written
– ERROR: register not written
Doc ID 15703 Rev 1
MEMS_I2C_SendFrame
MEMS_I2C_ReadReg
2
C.
2
C.
UM0701