DlnI2cSlaveLoadReply() Function

 DLN_RESULT DlnI2cSlaveLoadReply(
    HDLN handle,
    uint8_t port,
    uint16_t size,
    uint8_t* buffer
 );

The DlnI2cSlaveLoadReply() function loads data to be transferred to an I2C master device.

Parameters:

handle
A handle to the DLN-series adapter.
port
A number of the I2C slave port to be used.
size
A size of the data buffer to be loaded. The size is specified as a number bytes and can vary from 1 to 256.
buffer
A pointer to an array of unsigned 8-bit integers. The buffer must contain the data to sent to an I2C master. The size of the buffer is specified in size parameter.

This function is defined in the dln_i2c_slave.h file.