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.

[参考译文] CC2640R2F:引脚和 GPIO 之间的差异。

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

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/1130014/cc2640r2f-the-difference-between-pin-and-gpio

器件型号:CC2640R2F

大家好、

以下是客户的请求:

  1.  主函数调用 PIN_Init(BoardGpioInitTable)来初始化 PIN_Config 数组,然后在使用特定 GPIO 时调用 GPIO_setConfig()来配置引脚。 有什么区别?
  2. GPIO_setConfig()在配置引脚时使用 Board_GPIO_XX 宏定义。 跟踪是枚举值。 此枚举值与 DIO XX 的值之间是否有任何差异? 标签看起来不同。
  3. 在以下例程中、PIN 用于控制引脚输出电平。 控制引脚输出电平是否与 GPIO 有任何区别?

您可以帮助检查此案例吗? 谢谢。

此致、

Nick