Collaboration diagram for Debug Device:
This stream device driver writes data to the internal UART of the ATmega128/103 chip. The output is unbuffered and uses polling. Therefore it can be used for standard I/O output even within interrupt routines.
Variables | |
NUTDEVICE | devDebug0 |
Debug device 0 information structure. | |
NUTDEVICE | devDebug1 |
UART 1 Device information structure. |
|
Initial value: { 0, {'u', 'a', 'r', 't', '0', 0, 0, 0, 0}, 0, 0, 0, 0, 0, DebugInit, DebugIOCtl, 0, DebugWrite, DebugWrite_P, DebugOpen, DebugClose, 0 }
|
|
Initial value: { 0, {'u', 'a', 'r', 't', '1', 0, 0, 0, 0}, 0, 0, 0, 0, 0, DebugInit, DebugIOCtl, 0, DebugWrite, DebugWrite_P, DebugOpen, DebugClose, 0 }
|