STM32-IO serial port configuration

F1: Need to set one IO port as input and the other IO port as output.
F4: Both IO ports must be set as output.
The following figure is a screenshot of F4 configuration:
Insert picture description here

Guess you like

Origin blog.csdn.net/Williamcsj/article/details/107495366