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

_UARTDCB Struct Reference
[AVR UART Device DriverAVR UART Device Driver]

UART device control block structure. More...


Data Fields

u_char dcb_baudSelect
 Baudrate selector.

u_long dcb_rtimeout
 Read timeout.

u_long dcb_wtimeout
 Write timeout.

HANDLE dcb_tx_rdy
 Queue of threads waiting for output buffer empty.

HANDLE dcb_rx_rdy
 Queue of threads waiting for a character in the input buffer.

u_long dcb_modeflags
 Mode flags.


Detailed Description

UART device control block structure.


Field Documentation

u_char _UARTDCB::dcb_baudSelect
 

Baudrate selector.

See the ATmega datasheet for further details.

HANDLE _UARTDCB::dcb_rx_rdy
 

Queue of threads waiting for a character in the input buffer.

Threads are added to this queue when calling UartAvrInput().

HANDLE _UARTDCB::dcb_tx_rdy
 

Queue of threads waiting for output buffer empty.

Threads are added to this queue when calling UartAvrFlush().


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