Main Page | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

chnldefs.h File Reference

Defines data types and structures used by CHNL component. More...

#include <dsplink.h>
#include <procdefs.h>

Include dependency graph for chnldefs.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ChannelAttrs_tag
struct  ChannelIOInfo_tag

ChannelAttrs

Channel Attributes.

============================================================================

Parameters:
endianism Endiannism information currently not used.
mode Mode of channel (Input or output).
size Size of data sent on channel (16 bits or 32 bits). ============================================================================


typedef ChannelAttrs_tag ChannelAttrs

ChannelIOInfo

Information for adding or reclaiming a IO request.

============================================================================

Parameters:
buffer Buffer pointer.
size Size of buffer.
arg Argument to receive or send. ============================================================================


typedef ChannelIOInfo_tag ChannelIOInfo

ChannelMode

Mode of a channel.

============================================================================

Parameters:
ChannelMode_Input Indicates the channel as an Input channel (from DSP to GPP).
ChannelMode_Output Indicates the channel as an Output channel (from GPP to DSP). ============================================================================


enum  ChannelMode { ChannelMode_Input = 0x1u, ChannelMode_Output = 0x2u }

ChannelDataSize

Width of data being sent on channel.

============================================================================

Parameters:
ChannelDataSize_16bits Indicates the data to be transferred through the channel as 16 bit data.
ChannelDataSize_32bits Indicates the data to be transferred through the channel as 32 bit data. ============================================================================


enum  ChannelDataSize { ChannelDataSize_16bits = 1u, ChannelDataSize_32bits = 2u }

Defines

#define CHNLDEFS_H
#define MAX_ALLOC_BUFFERS   1000u
 Maximum number of buffers that can be allocated through CHNL_AllocateBuffer. ============================================================================.
#define MAX_CHANNELS   16u
 Maximum number of channels that can be created for each DSP. ============================================================================.
#define IS_VALID_CHNLID(dspId, chnlId)   FALSE


Detailed Description

Defines data types and structures used by CHNL component.

============================================================================

Path:
/db/swcoe_asp/DSPLINK_Build/dsplink_linux_1_65_00_03/dsplink/gpp/inc/usr/
Version:
1.65.00.03 ============================================================================
Copyright:
Copyright (C) 2002-2009, Texas Instruments Incorporated - http://www.ti.com/
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

* Neither the name of Texas Instruments Incorporated nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ============================================================================

Definition in file chnldefs.h.


Define Documentation

#define CHNLDEFS_H
 

Definition at line 44 of file chnldefs.h.

#define IS_VALID_CHNLID dspId,
chnlId   )     FALSE
 

Definition at line 86 of file chnldefs.h.

#define MAX_ALLOC_BUFFERS   1000u
 

Maximum number of buffers that can be allocated through CHNL_AllocateBuffer. ============================================================================.

============================================================================

Constant:
MAX_ALLOC_BUFFERS

Definition at line 64 of file chnldefs.h.

#define MAX_CHANNELS   16u
 

Maximum number of channels that can be created for each DSP. ============================================================================.

============================================================================

Constant:
MAX_CHANNELS

Definition at line 72 of file chnldefs.h.


Typedef Documentation

typedef struct ChannelAttrs_tag ChannelAttrs
 

typedef struct ChannelIOInfo_tag ChannelIOInfo
 


Enumeration Type Documentation

enum ChannelDataSize
 

Enumerator:
ChannelDataSize_16bits 
ChannelDataSize_32bits 

Definition at line 119 of file chnldefs.h.

00119              {
00120     ChannelDataSize_16bits = 1u,
00121     ChannelDataSize_32bits = 2u
00122 } ChannelDataSize ;

enum ChannelMode
 

Enumerator:
ChannelMode_Input 
ChannelMode_Output 

Definition at line 101 of file chnldefs.h.

00101              {
00102     ChannelMode_Input  = 0x1u,
00103     ChannelMode_Output = 0x2u
00104 } ChannelMode ;


Generated on Fri Jul 16 14:34:03 2010 for DSP/BIOSLink by  doxygen 1.4.4