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/TM4C1294NCPDT:要在 CCS 中调用哪个函数来启用端口上拉?

Guru**** 2482225 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/720043/ccs-tm4c1294ncpdt-which-is-the-function-to-be-called-in-ccs-to-enable-port-pullup

器件型号:TM4C1294NCPDT

工具/软件:Code Composer Studio

上拉 电阻器的值是多少? 对于所有端口引脚、该值是否相同?  

 CCS 中启用上拉的函数名是什么?

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

    上拉电阻器值包含在器件数据表中的表27-34和27-35下。

    用于启用上拉的 TivaWare API 是 GPIOPadConfigSet。 有关此 API 的选项、请参阅 DriverLib 用户指南、其中包括分别为弱上拉和弱下拉的"WPU"和"WPD"。
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    明白了。 谢谢:)