The example implements a user peripheral that returns a value read from a connected I2C device. The code can directly read a temperature value from the MCP9802 temperature sensor presented at DDC-SE-01.
Deep knowledge of the I2C protocol is necessary to understand the source code in full detail.
→ Self-study tip: Implement user byte FRC command to return value from an I2C device. Pay attention to the maximum FRC response time.