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:如何检索系统时间并在控制台中打印

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

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/602606/ccs-how-to-retrieve-system-time-and-print-it-in-the-console

工具/软件:Code Composer Studio


如何检索系统时间并在控制台中打印

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好,
    您似乎已在下面的主题中找到了问题第一部分的答案:
    e2e.ti.com/.../60.0242万

    现在,剩下的问题是如何将其打印到控制台。 一个选项是使用C I/O (如printf)。 但是,对于MSP430来说,这在性能和内存占用方面的成本会很高。 在某些情况下,设备根本没有资源。 您始终可以将printf重新路由到另一个传输。 下面的主题将讨论这两个选项:
    processors.wiki.ti.com/.../Printf_support_for_MSP430_CCSTUDIO_compiler

    希望这有所帮助
    KI