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

_UARTSDCB Struct Reference
[XgUartSpiXgUartSpi]

UART device control block structure. More...

#include <dev/uartspi.h>


Data Fields

u_char dcb_baudSelect
 Baudrate selector.

u_char dcb_mode
 Mode. -xxxx xxx0 8 bit -xxxx xxx1 7 bit -xxxx x0xx No parity bit -xxxx x10x Even parity -xxxx x11x Odd parity.

u_long dcb_rtimeout
 Read timeout.

u_long dcb_wtimeout
 Write timeout.

volatile u_char dcb_configured
 Configuration flag. Set if device has been configured.

u_long dcb_crystal
 Configuration flag. Set if device has been configured.

u_long dcb_version
 Device firmware version.

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.


Detailed Description

UART device control block structure.


Field Documentation

u_char _UARTSDCB::dcb_baudSelect
 

Baudrate selector.

See devices datasheet for further details.

HANDLE _UARTSDCB::dcb_rx_rdy
 

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

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

HANDLE _UARTSDCB::dcb_tx_rdy
 

Queue of threads waiting for output buffer empty.

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


The documentation for this struct was generated from the following file:
Generated on Thu Jan 30 22:30:56 2003 for EduNet by doxygen1.2.18