This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F2800157: Example 5 Controller Receiver

Part Number: TMS320F2800157


Tool/software:

In example 5 of I2C TI C2000 there are two functions which are I2C_ControllerTransmitter and I2C_ControllerReceiver. Both these functions are calling a single function I2C_TransmitTargetAddress_ControlBytes where putData function is used.

What is the importance of the temp variable? and why both the Receiver and Transmitter function are putting data on TXFF buffer?