_USARTDCB Struct Reference
[USART Driver FrameUSART Driver Frame]

Collaboration diagram for _USARTDCB:

Collaboration graph
[legend]

Detailed Description

USART device low level information structure.

Definition at line 271 of file usart.h.

Data Fields

u_long dcb_modeflags
 Mode flags.
u_long dcb_statusflags
 Status flags.
u_long dcb_rtimeout
 Read timeout.
u_long dcb_wtimeout
 Write timeout.
RINGBUF dcb_tx_rbf
 Output ring buffer.
RINGBUF dcb_rx_rbf
 Input ring buffer.
u_char dcb_last_eol
 Last EOL character.
int(* dcb_init )(void)
 Driver control initialization.
int(* dcb_deinit )(void)
 Driver control de-initialization.
void(* dcb_tx_start )(void)
 Driver control write notification.
void(* dcb_rx_start )(void)
 Driver control read notification.
int(* dcb_set_flow_control )(u_long flags)
 Set handshake mode.
u_long(* dcb_get_flow_control )(void)
 Get handshake mode.
int(* dcb_set_speed )(u_long rate)
 Set hardware speed.
u_long(* dcb_get_speed )(void)
 Get hardware speed.
int(* dcb_set_data_bits )(u_char bits)
 Set hardware data bits.
u_char(* dcb_get_data_bits )(void)
 Get hardware data bits.
int(* dcb_set_parity )(u_char bits)
 Set hardware parity mode.
u_char(* dcb_get_parity )(void)
 Get hardware parity mode.
int(* dcb_set_stop_bits )(u_char bits)
 Set hardware stop bits.
u_char(* dcb_get_stop_bits )(void)
 Get hardware stop bits.
int(* dcb_set_status )(u_long flags)
 Set hardware status.
u_long(* dcb_get_status )(void)
 Get hardware status.
int(* dcb_set_clock_mode )(u_char mode)
 Set clock mode.
u_char(* dcb_get_clock_mode )(void)
 Get clock mode.


Field Documentation

u_long _USARTDCB::dcb_modeflags

Mode flags.

Definition at line 275 of file usart.h.

Referenced by UsartIOCtl(), UsartOpen(), and UsartRead().

u_long _USARTDCB::dcb_statusflags

Status flags.

Definition at line 279 of file usart.h.

u_long _USARTDCB::dcb_rtimeout

Read timeout.

Definition at line 283 of file usart.h.

Referenced by UsartIOCtl(), and UsartRead().

u_long _USARTDCB::dcb_wtimeout

Write timeout.

Definition at line 287 of file usart.h.

Referenced by UsartIOCtl().

RINGBUF _USARTDCB::dcb_tx_rbf

Output ring buffer.

Definition at line 291 of file usart.h.

Referenced by UsartClose(), UsartIOCtl(), and UsartOpen().

RINGBUF _USARTDCB::dcb_rx_rbf

Input ring buffer.

Definition at line 295 of file usart.h.

Referenced by UsartClose(), UsartIOCtl(), UsartOpen(), UsartRead(), and UsartSize().

u_char _USARTDCB::dcb_last_eol

Last EOL character.

Definition at line 299 of file usart.h.

Referenced by UsartRead().

_USARTDCB::dcb_init

Driver control initialization.

Referenced by UsartInit().

int(* _USARTDCB::dcb_deinit)(void)

Driver control de-initialization.

void(* _USARTDCB::dcb_tx_start)(void)

Driver control write notification.

void(* _USARTDCB::dcb_rx_start)(void)

Driver control read notification.

Referenced by UsartIOCtl(), UsartOpen(), and UsartRead().

int(* _USARTDCB::dcb_set_flow_control)(u_long flags)

Set handshake mode.

Referenced by UsartIOCtl().

u_long(* _USARTDCB::dcb_get_flow_control)(void)

Get handshake mode.

Referenced by UsartIOCtl().

int(* _USARTDCB::dcb_set_speed)(u_long rate)

Set hardware speed.

Referenced by UsartInit(), and UsartIOCtl().

u_long(* _USARTDCB::dcb_get_speed)(void)

Get hardware speed.

Referenced by UsartIOCtl().

int(* _USARTDCB::dcb_set_data_bits)(u_char bits)

Set hardware data bits.

Referenced by UsartIOCtl().

u_char(* _USARTDCB::dcb_get_data_bits)(void)

Get hardware data bits.

Referenced by UsartIOCtl().

int(* _USARTDCB::dcb_set_parity)(u_char bits)

Set hardware parity mode.

Referenced by UsartIOCtl().

u_char(* _USARTDCB::dcb_get_parity)(void)

Get hardware parity mode.

Referenced by UsartIOCtl().

int(* _USARTDCB::dcb_set_stop_bits)(u_char bits)

Set hardware stop bits.

Referenced by UsartIOCtl().

u_char(* _USARTDCB::dcb_get_stop_bits)(void)

Get hardware stop bits.

Referenced by UsartIOCtl().

int(* _USARTDCB::dcb_set_status)(u_long flags)

Set hardware status.

Referenced by UsartIOCtl().

u_long(* _USARTDCB::dcb_get_status)(void)

Get hardware status.

Referenced by UsartIOCtl().

int(* _USARTDCB::dcb_set_clock_mode)(u_char mode)

Set clock mode.

Referenced by UsartIOCtl().

u_char(* _USARTDCB::dcb_get_clock_mode)(void)

Get clock mode.

Referenced by UsartIOCtl().


The documentation for this struct was generated from the following file:
© 2000-2007 by egnite Software GmbH - visit http://www.ethernut.de/