Debug Device
[Serial]

Collaboration diagram for Debug Device:

Detailed Description

Debug output driver for ATmega On-Chip UART.

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.


Variable Documentation

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
}
Debug device 0 information structure.

Definition at line 207 of file debug0.c.

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
}
UART 1 Device information structure.

Definition at line 155 of file debug1.c.


© 2000-2007 by egnite Software GmbH - visit http://www.ethernut.de/