DSP 28379D GPIO口配置为输出时是否需要上拉?,不用的GPIO口又该如何配置?
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.
user5977653 说:GPIO口配置为输出时是否需要上拉?
是的,可以参考C2000ware的GpioSetup例程
GpioCtrlRegs.GPAPUD.bit.GPIO0 = 0; // Enable pullup on GPIO0
user5977653 说:不用的GPIO口又该如何配置?
这个您可以参考Table 4-7. Connections for Unused Pins
GPIOx
• No connection (input mode with internal pullup enabled)
• No connection (output mode with internal pullup disabled)
• Pullup or pulldown resistor (any value resistor, input mode, and with internal pullup disabled)