STEVAL-MKI012V1 STMicroelectronics, STEVAL-MKI012V1 Datasheet - Page 27

no-image

STEVAL-MKI012V1

Manufacturer Part Number
STEVAL-MKI012V1
Description
BOARD EVALUSATION LIS3L02AL
Manufacturer
STMicroelectronics
Series
MEMSr
Type
Accelerometerr
Datasheets

Specifications of STEVAL-MKI012V1

Design Resources
STEVAL-MKI012V1 Gerber Files EK3L06AL Schematic EK3L06AL Bill of Materials
Contents
Fully Assembled Evaluation Board
For Use With/related Products
LIS3L06AL
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
497-6233
UM0701
7.2.13
7.2.14
7.2.15
MEMS_I2C_Setup function
Table 25
Table 25.
MEMS_I2C_Set_Address function
Table 26
Table 26.
MEMS_I2C_WriteReg function
Table 27
Table 27.
Function prototype
Description
Input parameter
Output parameter
Return parameter
Function prototype
Description
Input parameter
Output parameter
Return parameter
Function prototype
Description
Input parameter1
Input parameter2
Output parameter
Return parameter
.
Function name
Function name
Function name
describes the MEMS_I2C_Setup function.
describes the MEMS_I2C_Set_Address function.
describes the MEMS_I2C_WriteReg function.
MEMS_I2C_Setup function
MEMS_I2C_Set_Address function
MEMS_I2C_WriteReg function
Doc ID 15703 Rev 1
void MEMS_I2C_Setup (u8 MEMS_I2C_Address)
Sets up all peripherals related to digital MEMS connected over I
MEMS_I2C_Address: I
None
None
void MEMS_I2C_Set_Address (u8 MEMS_I2C_Address)
Sets MEMS address for I
MEMS_I2C_Address: I
None
None
ErrorStatus MEMS_I2C_WriteReg
(u8 RegAddress, u8 Data)
Writes data to the MEMS register over I
RegAddress: address of register
Data: data to be written
None
An ErrorStatus enumeration value:
– SUCCESS: register written
– ERROR: register not written
MEMS_I2C_Set_Address
MEMS_I2C_WriteReg
2
2
MEMS_I2C_Setup
C address of MEMS
C address of MEMS
2
C communication.
STM32-MEMS development kit
2
C.
27/42
2
C.

Related parts for STEVAL-MKI012V1