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.

TMS570 i2c



在TMS570的i2c.c中,有一个i2cSetSlaveAdd()的函数,注释说这个函数是为了设置外设的地址,可是一般的外设地址不都是确定的吗?那么这个函数有什么作用?在向外设写入数据时,必须先调用这个函数来设置地址吗?还是可以直接利用i2cSendByte()做寻址和写入操作?

拜托各位了