The DCMD_I2C_MASTER_SEND command execute a master send transaction, using the slave device address and bus speed specified for the current connection.
typedef struct { uint32_t len; /* length of data to send/recv, in bytes (not including this header) */ uint32_t stop; /* send stop when complete? (0=no, 1=yes) */ } i2c_masterhdr_t;
If an error occurs, the command returns: