Nut/OS  5.0.5
API Reference
_IFSTREAM Struct Reference

Stream interface information structure. More...

#include <device.h>

Collaboration diagram for _IFSTREAM:
[legend]

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 uint8_t if_rx_idx
 Next input index.
uint8_t if_rd_idx
 Next read index.
volatile uint8_t if_tx_idx
 Next output index.
uint8_t if_wr_idx
 Next write index.
volatile uint8_t if_tx_act
 Set if transmitter running.
uint8_t if_last_eol
 Last end of line character read.
uint8_t if_rx_buf [256]
 Input buffer.
uint8_t if_tx_buf [256]
 Output buffer.

Detailed Description

Stream interface information structure.

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


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

Set if transmitter running.

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

Last end of line character read.

Referenced by AceRead(), and UartAvrRead().

Input buffer.

Referenced by AceRead(), and UartAvrRead().

Output buffer.

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


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