GPIO general purpose input/output 的配置说明
GPIO通常的配置模式如下图所示。
IO作为输入时的,原理图
IO作为输出时的原理图
资料来源:
Understanding Microcontroller Pin Input/Output Modes | Stratify Labs
https://embeddedartistry.com/blog/2018/06/04/demystifying-microcontroller-gpio-settings/