Collaboration diagram for AT91 Debug Device:
|
This stream device driver writes data to the internal UART. 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,
USART0_BASE,
0,
0,
&dbgfile0,
Debug0Init,
Debug0IOCtl,
0,
DebugWrite,
DebugOpen,
DebugClose,
0
}
|
|
|
Initial value: {
0,
{'u', 'a', 'r', 't', '1', 0, 0, 0, 0}
,
0,
USART1_BASE,
0,
0,
&dbgfile1,
Debug1Init,
Debug1IOCtl,
0,
DebugWrite,
DebugOpen,
DebugClose,
0
}
|