Texas Instruments TMS320 User Manual page 14

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

Advertisement

5-6
Freeing an Array of Objects ........................................................................................... 5-6
5-7
Memory Allocation (C5000 and C28x Platforms)........................................................... 5-9
5-8
Memory Allocation (C6000 Platform) ........................................................................... 5-10
5-9
Coding To Halt Program Execution with SYS_exit or SYS_abort................................ 5-12
5-10
Using SYS_abort with Optional Data Values ............................................................... 5-13
5-11
Using Handlers in SYS_exit......................................................................................... 5-13
5-12
Using Multiple SYS_NUMHANDLERS ....................................................................... 5-13
5-13
DSP/BIOS Error Handling ........................................................................................... 5-14
5-14
Using doError to Print Error Information ...................................................................... 5-14
5-15
Managing QUE Elements Using Queues..................................................................... 5-15
5-16
Inserting into a Queue Atomically ................................................................................ 5-15
5-17
Using QUE Functions with Mutual Exclusion Elements ............................................... 5-16
5-18
Using QUE to Send Messages ................................................................................... 5-17
7-1
Creating a Stream with SIO_create ............................................................................... 7-5
7-2
Freeing User-Held Stream Buffers................................................................................. 7-6
7-3
Inputting and Outputting Data Buffers............................................................................ 7-7
7-4
Implementing the Issue/Reclaim Streaming Model ....................................................... 7-8
7-5
Basic SIO Functions .................................................................................................... 7-10
7-6
Adding an Output Stream to Example 7-5 ................................................................... 7-13
7-7
Using the Issue/Reclaim Model ................................................................................... 7-15
7-8
Opening a Pair of Virtual Devices ................................................................................ 7-16
7-9
Data Exchange Through a Pipe Device....................................................................... 7-19
7-10
Using SIO_ctrl to Communicate with a Device ............................................................ 7-22
7-11
Changing Sample Rate................................................................................................ 7-22
7-12
Synchronizing with a Device ....................................................................................... 7-22
7-13
Indicating That a Stream is Ready............................................................................... 7-23
7-14
Polling Two Streams .................................................................................................... 7-24
7-15
Using SIO_put to Send Data to Multiple Clients .......................................................... 7-25
7-16
Using SIO_issue/SIO_reclaim to Send Data to Multiple Clients .................................. 7-26
7-17
Required Statements in dxx.h Header File .................................................................. 7-29
7-18
Table of Device Functions ........................................................................................... 7-29
7-19
The DEV_Fxns Structure ............................................................................................. 7-30
7-20
The DEV_Frame Structure .......................................................................................... 7-30
7-21
The DEV_Handle Structure ......................................................................................... 7-31
7-22
Initialization by Dxx_init................................................................................................ 7-33
7-23
Opening a Device with Dxx_open................................................................................ 7-34
7-24
Opening an Input Terminating Device ......................................................................... 7-34
7-25
Arguments to Dxx_open .............................................................................................. 7-34
7-26
The Parameters of SIO_create .................................................................................... 7-35
Examples
Contents
xiv

Advertisement

Table of Contents
loading

Table of Contents