Implementation
Configuring the I
2
C device
The function
IfxI2c_I2c_initDeviceConfig()
initializes an instance of the
structure
IfxI2c_I2c_deviceConfig
with its default values.
Afterwards, the 7-bit slave address can be set through the parameter
deviceAddress.
The function
IfxI2c_I2c_initDevice()
finalizes the I
2
C initialization by connecting
the device configuration with the preconfigured I
2
C module.
The functions above are provided by the iLLD header
IfxI2c_I2c.h
.
7
2019-10-17
Copyright © Infineon Technologies AG 2019. All rights reserved.