Skip to main content

Module debug

Module debug 

Source
Expand description

The debug module.

See-also: https://github.com/openwch/ch32v003/blob/main/EVT/EXAM/SDI_Printf/SDI_Printf/Debug/debug.c

Structs§

SDIPrint

Functions§

release_swd_pins
Give the debug-interface pins back to GPIO (AFIO.PCFR1.SW_CFG = 0b100).
write_fmt_lossy
Format args into the lossy writer and terminate the line.