Texas Instruments TMS320 User Manual page 236

Dsp/bios v5.40
Hide thumbs Also See for TMS320:
Table of Contents

Advertisement

Creating and Deleting Streams
Example 7-2. Freeing User-Held Stream Buffers
7-6
If you open the stream with the streaming model (attrs
SIO_STANDARD (the default), buffers of the specified size are allocated and
used to prime the stream. If you open the stream with the streaming model
set to SIO_ISSUERECLAIM, no stream buffers are allocated, since the
creator of the stream is expected to supply all necessary buffers.
SIO_delete, shown in Example 7-2, closes the associated device(s) and frees
the stream object. If the stream was opened using the SIO_STANDARD
streaming model, it also frees all buffers remaining in the stream. User-held
stream buffers must be explicitly freed by the user's code.
Int SIO_delete(stream)
SIO_Handle
stream;
model) set to

Advertisement

Table of Contents
loading

Table of Contents