Software › SysTick Blink (STK)

SysTick Blink (STK)

demo Open · freely redistributable

An original CC0 bare-metal CH32V003 program. It enables GPIOD, configures PD0 as an output, programs the SysTick compare register (STK_CMP), enables the counter (STK_CTLR.STE), then polls the compare flag (STK_SR.CNTIF), clears it, and toggles the LED once per period. Exercises the real SysTick counter/compare path.

Download ↓

Format: CH32V003 flash image (bare-metal, compiled C)  ·  By: emulators.org  ·  Licence: Public domain (CC0)

Runs on