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

_UARTSDCB Struct Reference
[SPI UART Device DriverSPI UART Device Driver]

UART device control block structure. More...


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


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