The send function initiates a master send. An optional event is sent when the transaction is complete (and the data buffer can be released). If this function fails, no transaction has been initiated.
The prototype for this function is:
i2c_status_t send(
void *hdl,
void *buf,
unsigned int len,
unsigned int stop );
The arguments are:
The function returns one of the following: