User`s guide
High-Speed Simultaneous Transfer
Host-Side Client Interface
273Targeting MC56F83xx/DSP5685x Controllers
hsst_size
A host-side client application uses this function to determine the size of unread data
(in bytes) in the communication channel.
Prototype
HRESULT hsst_size (
size_t channel_id,
size_t *unread );
Parameters
channel_id
Specifies the channel ID of the applicable communication channel.
unread
Contains the size of unread data in the communication channel.
Returns
S_OK if the call succeeds or S_FALSE if the call fails.
hsst_block_mode
A host-side client application uses this function to set a communication channel in
blocking mode. All calls to read from the specified channel block indefinitely until the
requested amount of data is available. By default, a channel starts in the blocking
mode.
Prototype
HRESULT hsst_block_mode ( size_t channel_id );
Parameters
channel_id
Specifies the channel ID of the communication channel to set in blocking mode.