Purpose
This module provides definitions and functions for using the Debug Unit (DBGU).
It also overloads the
fputc(),
fputs() &
putchar() functions so the
printf() method outputs its
data on the DBGU. This behavior can be suppressed by defining NOFPUT during compilation.
Usage
- Enable the DBGU pins (see pio & board.h).
- Configure the DBGU using DBGU_Configure with the desired operating mode.
- Send characters using DBGU_PutChar() or the printf() method.
- Receive characters using DBGU_GetChar().