Implementation
Configuring the I
2
C communication
The configuration of the I
2
C communication is done once in the setup phase
in two different steps:
›
The initialization of the I
2
C module by initializing an instance of the
IfxI2c_I2c_Config
structure
›
The initialization of every device that is connected to the I
2
C module (in this
case, the MCP79411 chip) by initializing an instance of the
IfxI2c_I2c_deviceConfig
structure for each device
5
2019-10-17
Copyright © Infineon Technologies AG 2019. All rights reserved.