#define I2C_LINES_SCL_HI BIT(SOC_I2C_SCL_POS) #define I2C_LINES_SDA_HI BIT(SOC_I2C_SDA_POS) #define I2C_WAIT_PIN_DEASSERT 0U #define I2C_WAIT_PIN_ASSERT 1U #define I2C_XEC_CTRL_WR_DLY 8 #define ...
How to handle an infinite number of transmit-receive transactions between two boards based on the I2C-bus protocol with the HAL API, using interrupts. The example implements the controller's code.