Stream interface information structure. More...
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. |
Stream interface information structure.
Stream interface type.
Deprecated structure. Device drivers should use the device control block.
Definition at line 297 of file device.h.
int(* IFSTREAM::if_flush)(NUTDEVICE *) |
volatile uint8_t IFSTREAM::if_tx_act |
uint8_t IFSTREAM::if_last_eol |