SIO_get
2-396
For other architectures, size_t is:
❏
’C28x - unsigned long
❏
’C54x/’C55x/’C6x - unsigned int
Since this operation is generally accomplished by redirection rather than
by copying data, references to the contents of the buffer pointed to by
bufp must be recomputed after the call to SIO_get.
A task switch occurs when calling SIO_get if there are no non-empty data
buffers in stream.
Internally, SIO_get calls Dxx_issue and Dxx_reclaim for the device.
Constraints and
Calling Context
❏
The stream must not be created with attrs.model set to
SIO_ISSUERECLAIM. The results of calling SIO_get on a stream
created for the issue/reclaim streaming model are undefined.
❏
SIO_get cannot be called from a SWI or HWI.
❏
This API is callable from the program’s main() function only if the
stream's configured timeout attribute is 0, or if it is certain that there
is a buffer available to be returned.
See Also