Stream interface information structure. More...
#include <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 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.
Deprecated structure. Device drivers should use the device control block.
int(* _IFSTREAM::if_input)(NUTDEVICE *) |
Wait for input.
Definition at line 298 of file device.h.
Referenced by AceInit(), and UartAvrInit().
int(* _IFSTREAM::if_output)(NUTDEVICE *) |
Initiate output.
Definition at line 299 of file device.h.
Referenced by AceInit(), and UartAvrInit().
int(* _IFSTREAM::if_flush)(NUTDEVICE *) |
Wait until output buffer empty.
Definition at line 300 of file device.h.
Referenced by AceInit(), and UartAvrInit().
volatile uint8_t _IFSTREAM::if_rx_idx |
Next input index.
Definition at line 301 of file device.h.
Referenced by AceInput(), AceRead(), AceSize(), UartAvrInput(), UartAvrRead(), and UartAvrSize().
Next read index.
Definition at line 302 of file device.h.
Referenced by AceInput(), AceRead(), AceSize(), UartAvrInput(), UartAvrRead(), and UartAvrSize().
volatile uint8_t _IFSTREAM::if_tx_idx |
Next output index.
Definition at line 303 of file device.h.
Referenced by AceFlush(), AceIOCtl(), AceOutput(), AcePut(), UartAvrFlush(), UartAvrOutput(), and UartAvrPut().
Next write index.
Definition at line 304 of file device.h.
Referenced by AceFlush(), AceIOCtl(), AceOutput(), AcePut(), UartAvrFlush(), UartAvrOutput(), and UartAvrPut().
volatile uint8_t _IFSTREAM::if_tx_act |
Set if transmitter running.
Definition at line 305 of file device.h.
Referenced by AceIOCtl(), AceOutput(), and UartAvrOutput().
Last end of line character read.
Definition at line 306 of file device.h.
Referenced by AceRead(), and UartAvrRead().
Output buffer.
Definition at line 308 of file device.h.
Referenced by AceOutput(), AcePut(), UartAvrOutput(), and UartAvrPut().