This function must be called to initialize the I2C master interface. Two I2C interfaces are available on the SC2x3. If "idx" is zero, the pins I2C_0/I2C_1 (I2C1 bus) will be initialized. If "idx" is one, the pins I2C_2/I2C_3 (I2C2 bus) will be initialized for usage as I2C interface.
On the I2C2 bus interface there are some internal devices present. So the following addresses can not be used externally: 0xA0, 0x90.
|idx ||I2C bus interface index (0=I2C1 or 1=I2C2) |
- SC2x3 V1.00 - CLIB V1.00
- See also: