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.

[参考译文] CCS/TM4C1292NCPDT:用于检测以太网的 TI ROS 问题

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

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/860845/ccs-tm4c1292ncpdt-ti-ros-question-to-detect-ethernet

器件型号:TM4C1292NCPDT

工具/软件:Code Composer Studio


您好,

您是否有代码示例、我可以将其用作检测以太网载波丢失或以太网电缆被移除的示例?

您能否共享代码示例,说明如何通过中断或轮询来实现此目的。

谢谢

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

    您好、Sergey、

    您可以使用 tirtos_tivac_中的 EMACSnow_isLinkUp()函数 \products\tidrivers_tivac_ \packages/ti\drivers\EMAC\EMACSnow.c 轮询链接状态。 您可以将文件添加到应用程序中、并在 signalLinkChange 中添加逻辑、以便在需要更多中断驱动时通知应用程序。

    Todd

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

    您好 Todd:

    谢谢、这解决了我的问题