CH32V003 GPIO/Pin modes

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”

CH32V003 Analog Reading

ADC (Analog-to-Digital Converter): Converts an analog signal (such as a voltage) into a digital value that can be processed by a microcontroller. The conversion process typically involves sampling the analog signal at a specific rate and quantizing the signal to produce a digital representation. CH32V003 ADC has a 10-bit resolution. Values 0-1023. DMA (Direct MemoryContinue reading “CH32V003 Analog Reading”