A DLN adapter generates the DLN_I2C_SLAVE_EVENT_READ
events each time the I2C master device initiates receiving data from the I2C slave address assigned to the DLN adapter.
Use the DlnI2cSlaveSetEvent() function to configure events. Pass DLN_I2C_SLAVE_EVENT_READ
for the eventType
parameter.
The DLN_I2C_SLAVE_READ_EV
structure describes the event details: event counter, I2C slave address and port number, and the buffer size. The header of the structure contains the msgId
field that is set to DLN_MSG_ID_I2C_SLAVE_READ_EV (0x0C10)
.