Stream I/O—Reading and Writing Streams
7-14
For more details on how to add and configure a DGN device statically, see
the DGN section in the
TMS320 DSP/BIOS API Reference Guide
for your
platform.
In the output for this example, sine wave data is as follows.
Figure 7-5.
Results for Example 7-6.
7.3.4
Example - Stream I/O using the Issue/Reclaim Model
Example 7-7 is functionally equivalent to Example 7-6. However, the streams
are now created using the Issue/Reclaim model, and the SIO operations to
read and write data to a stream are SIO_issue and SIO_reclaim.
In this model, when streams are created dynamically, no buffers are initially
allocated so the application must allocate the necessary buffers and provide
them to the streams to be used for data I/O. For static streams, you can
allocate static buffers in the configuration by checking the Allocate Static
Buffer(s) check box for the SIO object.
Содержание TMS320 Series
Страница 1: ...TMS320 DSP BIOS v5 40 User s Guide Literature Number SPRU423G April 2009 ...
Страница 16: ...xvi ...
Страница 152: ...Tasks 4 48 Figure 4 12 Trace from Example 4 7 ...
Страница 168: ...Semaphores 4 64 Figure 4 14 Trace Results from Example 4 11 ...
Страница 202: ...5 20 ...
Страница 287: ...Index 9 Index Void 1 11 W words data memory 3 15 of code 1 5 wrapper function 2 29 ...
Страница 288: ...Index 10 Index ...