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.

CC32XX中有关GPIO_PAD_CONFIG_0 to GPIO_PAD_CONFIG_32 Register中bit11和bit10的疑问?

Other Parts Discussed in Thread: CC3200

CC32XX中有关GPIO_PAD_CONFIG_0 to GPIO_PAD_CONFIG_32 Register中bit11和bit10的定义如图所示,不太看懂这两位的具体作用是什么,字面意思像是定义对应GPIO口输入输出的,但是GPIODIR Register已经定义了对应GPIO口的输入输出了,这样是不是重复了,有点看不懂,想请教一下TI的老师们。

  • 10 输出buffer 设置为tristated. 但是内部上拉下拉收8bit和9bit控制。
    11 设置为1则输入buffer 状态则被bit4控制
    设置0 则直接被peripheral功能控制。
  • 主要是控制output buffer的,看如下描述:

    The CC32xx device features flexible wide-voltage I/Os. Supported features follow:

    • Programmable drive strength from 2 mA to 14 mA (nominal condition) in 2-mA steps.

    • Open-drain mode

    • Output buffer isolation

    • Automatic output isolation during reset and hibernate

    • Configurable pullup and pulldown (10-µA nominal)

    • Software-configurable pad state retention during LPDS

    结构图你可以看下TRM文档的Figure 16-3. I/O Pad Data and Control Path Architecture in CC3200