Programmable Gateways
Login
Overview
Power Industry
Serial Device Server
Programmable Gateways
Serial/Ethernet Gateway XNUT-100
CAN/Ethernet Gateway XNUT-105
Ethernet CPU Boards
Shop
Information and Support
Main Page
|
Modules
|
Data Structures
|
File List
|
Data Fields
|
Globals
|
Related Pages
|
Examples
_IFSTREAM Struct Reference
[
Device I/O
,
Device I/O
]
#include <sys/device.h>
Detailed Description
Stream interface information structure.
Deprecated structure. Device drivers should use the device control block.
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.