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