Embedded TCP/IP stack
4.7.0
|
Stream control structure. More...
Data Fields | |
fnet_index_t | id |
The id parameter provides a way for a stream driver to identify a particular device. For example it can be used as serial port number or pointer to a stream private structure. This parameter is passed to fnet_serial_stream.putchar() and to fnet_serial_stream.getchar() as the first parameter. More... | |
void(* | putchar )(fnet_index_t stream_id, fnet_char_t character) |
Callback function used for writing the character to the stream. More... | |
fnet_int32_t(* | getchar )(fnet_index_t stream_id) |
Callback function used for reading a character from the stream. More... | |
void(* | flush )(fnet_index_t stream_id) |
Callback function used for immediate data sending from internal stream buffer to the steam client. This function is optional and can be set to zero. The function only has meaning for buffered streams. UART stream does not have internal buffer and does not use this flush function. More... | |
Stream control structure.
This structure defines stream-specific parameters. All streams have similar properties independently of the individual characteristics of the media they are associated with.
Definition at line 100 of file fnet_serial.h.