Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages | Examples

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

NUTDEVICE devDebug0
 

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.

NUTDEVICE devDebug1
 

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.


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