I2C interface definition
Define the command interface
Definition of the component I2C Master HAL
Used to config the I2C master HAL at runtime
Global configuration of the I2C Master
Define the response interface
Define the interface of the I2C Master HAL
Definition of the component I2C Slave HAL
Define the command interface
Global configuration of the I2C Slave
Global configuration of the I2C Slave
: Width of the data send/read
Define the response interface
Interface I2C Slave HAL
Define I2C constants
6 different modes can be used to manage the master START : Send the start/restart sequence WRITE : Write a data READ : Read a data ACK : Send an ACK after reading NACK : Send a NACK after reading STOP : Send the stop sequence
4 different modes are available for a response ACK : ACK received after writting NACK : NACK recieved after writting DATA : Data read on the bus COLLISION : Collision detected during a write
5 different modes START : START sequence detected NACK : NACK received ACK : ACK received STOP : STOP sequence detected DATA : DATA received
3 different modes DATA : Send a data to the master NONE : NO operation / NACK ACK : ACK (FREEZE) is done with the stream
Global configuration of the I2C Master
: Width of the data send
: Width of the clockDivider value
: Multi-Master or Single-Master