Expand description
The debug module.
See-also: https://github.com/openwch/ch32v003/blob/main/EVT/EXAM/SDI_Printf/SDI_Printf/Debug/debug.c
Structs§
Functions§
- release_
swd_ pins - Give the debug-interface pins back to GPIO (
AFIO.PCFR1.SW_CFG = 0b100). - write_
fmt_ lossy - Format
argsinto the lossy writer and terminate the line.