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.

[参考译文] MSPM0G3507:如何控制在 I2C 通信中发送重启

Guru**** 2451970 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1500216/thread

器件型号:MSPM0G3507

工具/软件:

您好、

我正在处理与 I2C 传感器的 I2C 通信、并尝试控制是否发出重新启动命令。  

但从 driverlib 提供的以下函数中、无法控制这一点:

DL_I2C_startControllerTransfer()

DL_I2C_startControllerTransferAdvanced ()

我确实在 dl_i2c.h 上找到它、其中提到了重启:

但我在驱动程序和 TRM 中都找不到 WBLEN。

有人能帮助这个吗?

谢谢!

吊车