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.

[参考译文] AM2634:GPIO

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1313845/am2634-gpio

器件型号:AM2634

您好

我使用 GPIO。
是否可以一次设置 GPIO 输出?
是否有用于设置 GPIO 的寄存器?

示例 )用于 STM32

GPIOF->CRL      = 0x30000000;
GPIOF->ODR = 0x00000080;

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

    庆州市,您好!

    GPIO_pinWriteHigh 和 GPIO_pinWriteLow 可用于为每个 GPIO 组写入16个 I/O。

    或者、您可以直接对 SET_DATAxy 寄存器执行寄存器写入:

    提供了用于 DATA01、DATA23、DATA45、DATA67和 DATA8的寄存器、以涵盖所有137个 GPIO。

    此致、

    拉尔夫·雅各比