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.

[参考译文] TMS320F28377S:关于 USBL 的 USBDCDCInit()

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/590956/tms320f28377s-about-usbdcdcinit-of-usbl

器件型号:TMS320F28377S

大家好、

我对 USBL 的 USBDCDCInit()有疑问。

F2837xS USB 库用户指南 (60页)描述为 “returns: returns NULL on failure or the psCDCDevice pointer on Success”。

但是,无论我输入什么参数,此函数都不返回 NULL。

此函数何时返回 NULL?

何时会检测到故障?

此致、

Sasaki

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    它返回一个指向 CDC 器件结构的指针、其中包含自定义 CDC 器件运行的参数。

    文档显然不正确。

    谢谢、
    SAL