STEVAL-MKI011V1 STMicroelectronics, STEVAL-MKI011V1 Datasheet - Page 28

no-image

STEVAL-MKI011V1

Manufacturer Part Number
STEVAL-MKI011V1
Description
BOARD ADAPTER 20DIP LIS302ALB
Manufacturer
STMicroelectronics
Series
MEMSr
Type
Accelerometerr
Datasheet

Specifications of STEVAL-MKI011V1

Contents
Fully Assembled Evaluation Board
For Use With/related Products
LIS3L06AL
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
497-6247
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

Related parts for STEVAL-MKI011V1