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

GBA UART
[Serial]

Collaboration diagram for GBA UART:


Detailed Description

Gameboy Advance UART driver.

This code doesn't work.


AVR USART0 Device

NUTDEVICE devUartGba
 USART0 device information structure.

Defines

#define ASCII_XON   0x11
#define ASCII_XOFF   0x13
#define XON_PENDING   0x10
#define XOFF_PENDING   0x20
#define XOFF_SENT   0x40
#define XOFF_RCVD   0x80


Variable Documentation

NUTDEVICE devUartGba
 

Initial value:

 {
    0,                          
    {'u', 'a', 'r', 't', '0', 0, 0, 0, 0},      
    IFTYP_CHAR,                 
    0,                          
    0,                          
    0,                          
    &dcb_uart,                  
    UsartInit,                  
    UsartIOCtl,                 
    UsartRead,                  
    UsartWrite,                 
    UsartOpen,                  
    UsartClose,                 
    UsartSize                   
}
USART0 device information structure.

An application must pass a pointer to this structure to NutRegisterDevice() before using the serial communication driver of the AVR's on-chip USART0.

The device is named uart0.


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