_IFSTREAM Struct Reference
[Device Management]


Detailed Description

Stream interface information structure.

Deprecated structure. Device drivers should use the device control block.

Definition at line 284 of file device.h.


Data Fields

int(* if_input )(NUTDEVICE *)
 Wait for input.
int(* if_output )(NUTDEVICE *)
 Initiate output.
int(* if_flush )(NUTDEVICE *)
 Wait until output buffer empty.
volatile u_char if_rx_idx
 Next input index.
u_char if_rd_idx
 Next read index.
volatile u_char if_tx_idx
 Next output index.
u_char if_wr_idx
 Next write index.
volatile u_char if_tx_act
 Set if transmitter running.
u_char if_last_eol
 Last end of line character read.
u_char if_rx_buf [256]
 Input buffer.
u_char if_tx_buf [256]
 Output buffer.

Field Documentation

Wait for input.

Referenced by AceInit(), and UartAvrInit().

Initiate output.

Referenced by AceInit(), and UartAvrInit().

Wait until output buffer empty.

Referenced by AceInit(), and UartAvrInit().

Next input index.

Definition at line 288 of file device.h.

Referenced by AceInput(), AceRead(), AceSize(), UartAvrInput(), UartAvrRead(), and UartAvrSize().

Next read index.

Definition at line 289 of file device.h.

Referenced by AceInput(), AceRead(), AceSize(), UartAvrInput(), UartAvrRead(), and UartAvrSize().

Next output index.

Definition at line 290 of file device.h.

Referenced by AceFlush(), AceIOCtl(), AceOutput(), AcePut(), UartAvrFlush(), UartAvrOutput(), and UartAvrPut().

Next write index.

Definition at line 291 of file device.h.

Referenced by AceFlush(), AceIOCtl(), AceOutput(), AcePut(), UartAvrFlush(), UartAvrOutput(), and UartAvrPut().

Set if transmitter running.

Definition at line 292 of file device.h.

Referenced by AceIOCtl(), AceOutput(), and UartAvrOutput().

Last end of line character read.

Definition at line 293 of file device.h.

Referenced by AceRead(), and UartAvrRead().

Input buffer.

Definition at line 294 of file device.h.

Referenced by AceRead(), and UartAvrRead().

Output buffer.

Definition at line 295 of file device.h.

Referenced by AceOutput(), AcePut(), UartAvrOutput(), and UartAvrPut().


The documentation for this struct was generated from the following file:

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