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

_UARTDCB Struct Reference
[UARTUART DeviceUARTUART Device]

#include <dev/uartavr.h>


Detailed Description

UART device control block structure.


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.


Field Documentation

u_char _UARTDCB::dcb_baudSelect
 

Baudrate selector.

See the ATmega datasheet for further details.

HANDLE _UARTDCB::dcb_tx_rdy
 

Queue of threads waiting for output buffer empty.

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

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().


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