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?