Nut/OS  4.10.3
API Reference
Debug Device

Debug output driver for ATmega On-Chip UART. More...

Collaboration diagram for Debug Device:

Variables

NUTDEVICE devDebug0
 Debug device 0 information structure.
NUTDEVICE devDebug1
 UART 1 Device information structure.

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.


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 212 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.

Debug device 1 information structure.

Definition at line 160 of file debug1.c.