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.

28379D

外部接上拉,28379D GPIO配置为pwm模式时默认电平为低电平吗?

  • 如之前提到的:

    1 GPIO内部有上拉,而与PWM口复用的GPIO引脚是默认不使能的,即默认是低电平

    2 GPIO上电时默认的方向是输入,所以上电后无论否有使能内部上拉电路,GPIO引脚对应的电平都不会对外部电路有影响的;

    3 外加上拉电阻,同时也要在软件里设置方向为输出,则会输出高电平

    4 使能内部上拉,同时在软件里也设置方向为输出,则也会输出高电平