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.

[参考译文] AM2612:SysConfig 中的 GPIO 上拉下拉设置不会更改任何代码

Guru**** 2964790 points

Other Parts Discussed in Thread: SYSCONFIG

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1660001/am2612-gpio-pull-up-pull-down-setting-in-sysconfig-does-not-change-any-code

器件型号: AM2612
主题: SysConfig 中讨论的其他器件

您好:

当我尝试通过 GPIO55 上的内部下拉电阻将引脚设置为输入时、SysConfig 不会在 ti_drivers_config.c 或.h 中创建任何代码 、您能检查吗?

这是 ZNC 封装问题?

image.png

/**
 *将自定义配置值写入导入的模块。
 */
GPIO1.Rx       = true;
gpio1.defaultValue =“1“ ;
GPIO1.$NAME      =“GPIO_IN“;
GPIO1.PU_PD      =“pu“;
GPIO1.GPIO_n.$ASSIGN =“GPIO55“;

 

此致、

TED

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

    a.

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

    尊敬的 Ted:

    选择上拉/下拉选项时、它会反映在 SysConfig 生成的 ti_pinmux_config.c 文件中

    值为:

    这时、引脚上拉/下拉便可进行配置:

    宏值包括:

    此致、
    Shaunak

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

    在 PINMUX 部分发生上拉下拉。 我懂了。