input with internal pull-down: 带内部下拉(电阻)的输入output with internal pull-up: 带内部上拉(电阻)的输出上拉就是将不确定的信号通过一个电阻嵌位在高电平,电阻同时起限流作用,下拉同理。