_UARTDCB Struct Reference
[H8 - UartAVR UART Device DriverH8 - UartAVR UART Device Driver]

#include <dev/uartavr.h>


Detailed Description

UART device control block structure.


Data Fields

u_char dcb_baudSelect
 Baudrate selector.
u_long dcb_modeflags
 Mode flags.
u_long dcb_rtimeout
 Read timeout.
HANDLE dcb_rx_rdy
 Queue of threads waiting for a character in the input buffer.
HANDLE dcb_tx_rdy
 Queue of threads waiting for output buffer empty.
u_long dcb_wtimeout
 Write timeout.


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


Generated on Tue Jan 23 21:12:31 2007 for BTnut System Software by doxygen 1.4.7