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.
尊敬的 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