To start using the I2C master port, you need to configure the I2C master interface:
Configure the I2C frequency. This parameter influences the speed of data transmission. For details, read I2C Speed and Frequency.
Configure the number of attempts to resend data if Not Acknowledgement is received. For details, read Reply Count.
Enable the I2C master port. If the pins of the I2C port are not used by other modules, you can enable the I2C master port by the DlnI2cMasterEnable() function.