GPIO_7_and_GPIO_8_Config Register (Address = 0x11) [reset = 0h]
7 GPIO8_OUTPUT_VALUE R/W 0h Local GPIO Output Value
This value is output on the GPIO pin when the GPIO function is
enabled and the local GPIO direction is Output.
6 RESERVED R 0h Reserved
GPIO8_MODE R/W 0h The GPIO 8 MODE configures the pad in input direction or output
direction for functional mode or GPIO mode.
{GPIO DIR, GPIO EN}
00: Functional mode input
10: Tri-state
01: GPIO mode output
11: GPIO mode input
Kailyn Chen:
您好, 应该是可以的, 可以看到GPIO_7_and_GPIO_8同样可以在GPIO mode配置为input 和output.
您目前遇到了什么问题?
,
zhaohui chen:
是可以配置为input和output。
当连接为如下方式时:941->948,941设置gpio 7为输入,948设置gpio为输出,当941的pin脚输入为高时,948的pin脚输出没有变为高,感觉不像gpio0~3那样可以配置为remote控制。
,
Kailyn Chen:
您好,明白您的意思了,是的, GPIO5~8 的引脚定义我们可以看出,这四个为local register-only GPIOs.
意思是可以通过loca 寄存器进行读取或者通过双向控制通道的remote 寄存器来进行配置和读取,但是引脚的配置和状态不像GPIO0-3那样从serializer 传输到sederializer.
TI中文支持网

