1.1.2.3 Configuring the Library
I2C Driver Library should be configured via MCC. The following figures show the MCC configuration window for I2C driver and brief description.
Common User Configuration for all Instances
- Driver mode:
- Allows User to select the mode of driver (Asynchronous or Synchronous). This setting is common for all the instances.
Instance Specific User Configurations
I2C driver configuration in Asynchronous mode:
I2C driver configuration in Synchronous mode:
-
PLIB Used:
- Indicates the underlying I2C PLIB used by the driver
- The I2C driver only supports connecting to the I2C PLIB in Host mode
-
Number of clients:
- The total number of clients that can open the given I2C driver instance
-
Transfer Queue Size:
-
Indicates the size of the transfer queue for the given I2C driver instance
-
Available only in Asynchronous mode of Operations
-
