The difference between HAL library output level and pull up/pull down

Friends who come from the standard library may be a little confused about these two selections

##

GPIO output level is the potential of the port after initialization in output mode (high or low)

GPIO Pull-up/Pull-down is the potential in input mode, such as key detection

Guess you like

Origin blog.csdn.net/lllmeimei/article/details/129163267