uint32 SCB_I2CMasterWriteBuf(uint32 slaveAddress, uint8 * wrData, uint32 cnt, uint32 mode);
how do we define the value of uint32 mode(parameter i.e transfer mode)?
Have a look into the datasheet, the valid values are shown there.
Writing to slave Count bytes
Reading from Slave sending register/command byte first:
but the data type of mode is uint32. Who cares? the conversion will (if needed) be done by the compiler
.and it is showing error by using the above sent statements. My magic crystal ball doesn't show any reason, Can you please provide us with your complete project so that we all can have a look at all of your settings. To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.