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.

[参考译文] SIMPLELINK-MSP432-SDK:如何将 GPIO 设置为高阻抗状态

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1189152/simplelink-msp432-sdk-how-to-set-gpio-in-high-impedance-state

器件型号:SIMPLELINK-MSP432-SDK
主题中讨论的其他器件:MSP432E401Y

尊敬的 TI 成员:

我使用的是 msp432e401y launchpad、起初我将 GPIO 配置为开漏模式、以将 IO 设置为低状态或高阻抗状态。

要将 GPIO 设置为低电平状态,我将使用:  GPIO_WRITE (CONFIG_GPIO1、GPIO_CFG_OUT_LOW);

为了使 GPIO 保持高阻抗状态、我应该使用哪个宏。

谢谢你。

此致

Kalyan。

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

    您好!

     您可以使用 GPIO_setConfig 来配置引脚。 请参阅以下链接中的 GPIO TI-RTOS 驱动程序示例。  

    文件://C:/ti/simplelink_msp432e4_sdk_4_20_00_12/docs/tidrivers/doxygen/html/_g_p_i_o_8h.html #a7f5d979226db633309b3fdc0f4a8aef6