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/TM4C129XNCZAD:如何将 GPIO 引脚用作时钟信号

Guru**** 2392455 points
Other Parts Discussed in Thread: TM4C129XNCZAD

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

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/917139/ccs-tm4c129xnczad-how-to-use-gpio-pin-as-clock-signal

器件型号:TM4C129XNCZAD

工具/软件:Code Composer Studio

您好!

我正在使用 tm4c129xnczad 控制器。在这里、我的疑问是、我需要使用一个 GPIO 引脚、该引脚应用作时钟信号、这意味着我需要改变频率。那么、您能告诉我如何操作

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

    您好!  

     您可以使用 DIVSCLK 引脚根据您选择的时钟源输出分频后的时钟。 下面是说明。 您可以通过搜索 DIVSCLK 在数据表中找到更多详细信息。  

    要使用的 API 将是 SysCtlClockOutConfig()。 请参见下面的。 请参阅您的器件特定数据表、了解 DIVSCLK 连接到哪个 GPIO 引脚。