Output modes There are two different output modes: Input modes There are four different input modes: Alternate functions The GPIO can also be configured as an “alternate function”. Used for specific hardware functions like pulse width modulation (PWM) or serial peripheral interface (SPI). The modes for alternate functions can be: Speed There are three-speed options:Continue reading “CH32V003 GPIO/Pin modes”