Use I²C Driver | | | RETAIN | I²C Driver is automatically selected when the Graphic Library is selected. Retain this |
| Driver Implementation | | RETAIN | Default is Dynamic. Retain this. A Static driver will have different piece of code in flash for each driver instance. But a Dynamic driver has a single driver code. |
| Interrupt mode | | RETAIN | Enabled by default. Retain this. Interrupt mode option is selected so that the I²C data completion events can be detected asynchronously without the need for polling for the transfer to complete |
| Number of I²C Clients | | RETAIN | Default value is one. Retain this. You require a single I²C instance for this demo for the touch functionality |
| Number of I²C Driver Instances | | RETAIN | Default value is one. Retain this. You require a single driver instance for this demo. |
| Include Force Write I²C Function | | RETAIN | Disbled by default. Retain this. |
| I²C Driver Instance 0 | | RETAIN | Selected by default. Retain this. |
| | Use Bit Bang I²C Implementation | CHANGE | You are using the Hardware I²C so you do not require Bit-Banging. Enbled by default. Uncheck this. |
| | I²C Module ID | RETAIN | Default is I2C_ID_1. Retain this. |
| | Operation mode | RETAIN | The I²C will be in Master mode. Retain the selected default, DRV_I2C_MODE_MASTER |
| | Master Interrupt Priority | RETAIN | Default is INT_PRIORITY_LEVEL_1. Retain this. |
| | Master Interrupt Sub-Priority | RETAIN | Default is INT_SUBPRIORITY_LEVEL_0. Retain this. |
| | Error Interrupt Priority | RETAIN | Default is INT_PRIORITY_LEVEL_1. Retain this. |
| | Error Interrupt Sub-Priority | RETAIN | Default is INT_SUBPRIORITY_LEVEL_0. Retain this. |
| | Baud Rate Generator Clock | RETAIN | Defaults to 100000000. This is derived from the peripheral bus 2 clock |
| | I²C Clock Frequency | RETAIN | Retain default value of 50 KHz for I²C CLOCK FREQUENCY. |
| | Slew Rate Control | RETAIN | Retain Slew Rate Control unchecked. This function enables the I²C module to use high frequency signalling, allowing it to use the 400 kHz and 1 MHz signalling rates. |
| | Power State | RETAIN | Retain default value of SYS_MODULE_POWER_RUN_FULL for Power State. You will want to run the I²C module in Normal Power mode. |