When I use the IIC demo, the master in the routine sends data slave to receive, but there is no interface for the master to receive data
master send the data,slave receive.
the I2c_Callback callback function only used to slave receive the data.
while, How does Master Receive accept?
This example is a loopback. As you can see, the code does not initialize any pin, which is the same with I2C. All communication is internal.
What this example does is only send information to the slave once. Therefore, to maintain constant communication between master and slave, you must make modifications. I recommend you check the user manual and the integration manual of the peripheral, which are included in the RTD.