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.
您好,
看下面内部原理图,I/O作为输入时,内部原理图中FET Q1和Q2是断开的,默认是高阻输入,如果输入信号存在高阻输入,比如对方是OD输出,而您想要一个默认输入状态,则需要加上拉,以使I/O输入有一个确切的电平状态。
I/O作为输出时,I/O是推挽输出,输出具体取决于output port register,而output port register 是有默认值的,因此不需要接上拉。