User`s guide
High-Speed Simultaneous Transfer
Target Library Interface
282
Targeting MC56F83xx/DSP5685x Controllers
HSST_flush
A target application uses this function to flush out data buffered in a buffered output
channel.
Prototype
int HSST_flush ( HSST_STREAM *stream );
Parameters
stream
Passes a pointer to the communication channel. The High-Speed Simultaneous
Transfer (HSST) feature flushes all open buffered communication channels if this
parameter is null.
Returns
0 if the call was successful or -1 if the call was unsuccessful.
HSST_size
A target application uses this function to determine the size of unread data (in bytes)
for the specified communication channel.
Prototype
size_t HSST_size ( HSST_STREAM *stream );
Parameters
stream
Passes a pointer to the communication channel.
Returns
The number of bytes of unread data.