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

SPI UART Device
[SPI UART Device Driver]


Variables

NUTDEVICE devUarts []
 Device information structure.


Variable Documentation

NUTDEVICE devUarts[]
 

Initial value:

 {
    {
        0,              
        { 'u', 'a', 'r', 't', 's', '0', 0, 0, 0 },    
        IFTYP_STREAM,   
        1,              
        0,              
        0,              
        &dcb_uart1,     
        UartSpiInit,    
        UartSpiIOCtl    
    },

    {
        0,              
        { 'u', 'a', 'r', 't', 's', '1', 0, 0, 0 },    
        IFTYP_STREAM,   
        2,              
        0,              
        0,              
        &dcb_uart2,     
        UartSpiInit,    
        UartSpiIOCtl    
    },

    {
        0,              
        { 'u', 'a', 'r', 't', 's', '2', 0, 0, 0 },    
        IFTYP_STREAM,   
        3,              
        0,              
        0,              
        &dcb_uart3,     
        UartSpiInit,    
        UartSpiIOCtl    
    },

    {
        0,              
        { 'u', 'a', 'r', 't', 's', '3', 0, 0, 0 },    
        IFTYP_STREAM,   
        4,              
        0,              
        0,              
        &dcb_uart4,     
        UartSpiInit,    
        UartSpiIOCtl    
    },

    {
        0,              
        { 'u', 'a', 'r', 't', 's', '4', 0, 0, 0 },    
        IFTYP_STREAM,   
        5,              
        0,              
        0,              
        &dcb_uart5,     
        UartSpiInit,    
        UartSpiIOCtl    
    },

    {
        0,              
        { 'u', 'a', 'r', 't', 's', '5', 0, 0, 0 },    
        IFTYP_STREAM,   
        6,              
        0,              
        0,              
        &dcb_uart6,     
        UartSpiInit,    
        UartSpiIOCtl    
    },

    {
        0,              
        { 'u', 'a', 'r', 't', 's', '6', 0, 0, 0 },    
        IFTYP_STREAM,   
        7,              
        0,              
        0,              
        &dcb_uart7,     
        UartSpiInit,    
        UartSpiIOCtl    
    },

    {
        0,              
        { 'u', 'a', 'r', 't', 's', '7', 0, 0, 0 },    
        IFTYP_STREAM,   
        8,              
        0,              
        0,              
        &dcb_uart8,     
        UartSpiInit,    
        UartSpiIOCtl    
    },
}
Device information structure.

Applications must pass this structure to NutRegisterDevice() to bind this serial port device driver to the Nut/OS kernel. Having done that, the application may call NutDeviceOpen() with the name of this driver to initialize the interface.


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