User`s guide

High-Speed Simultaneous Transfer
Target Library Interface
280
Targeting MC56F83xx/DSP5685x Controllers
buf
Passes a pointer to an external buffer.
mode
Passes the buffering mode as either buffered (specified as HSSTFBUF) or unbuffered
(specified as HSSTNBUF).
size
Passes the size of the buffer.
Returns
0 if the call was successful or -1 if the call was unsuccessful.
NOTE
You must flush the buffers before exiting the program to ensure that
all the data that has been written is sent to the host. For more details,
see HSST_flush.
HSST_write
A target application uses this function to write data for the host-side client application
to read.
Prototype
size_t HSST_write (
void *data,
size_t size,
size_t nmemb,
HSST_STREAM *stream );
Parameters
data
Passes a pointer to the data buffer holding the data to write.
size
Passes the size of the individual data elements to write.