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

gpp/inc/dsplink.h

Go to the documentation of this file.
00001 /** ============================================================================
00002  *  @file   dsplink.h
00003  *
00004  *  @path   $(DSPLINK)/gpp/inc/usr/
00005  *
00006  *  @brief  Defines data types and structures used by DSP/BIOS(tm) Link.
00007  *
00008  *  @ver    1.65.00.03
00009  *  ============================================================================
00010  *  @copyright Copyright (C) 2002-2009, Texas Instruments Incorporated -
00011  *  http://www.ti.com/
00012  *
00013  *  Redistribution and use in source and binary forms, with or without
00014  *  modification, are permitted provided that the following conditions
00015  *  are met:
00016  *  
00017  *  *  Redistributions of source code must retain the above copyright
00018  *     notice, this list of conditions and the following disclaimer.
00019  *  
00020  *  *  Redistributions in binary form must reproduce the above copyright
00021  *     notice, this list of conditions and the following disclaimer in the
00022  *     documentation and/or other materials provided with the distribution.
00023  *  
00024  *  *  Neither the name of Texas Instruments Incorporated nor the names of
00025  *     its contributors may be used to endorse or promote products derived
00026  *     from this software without specific prior written permission.
00027  *  
00028  *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
00029  *  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
00030  *  THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
00031  *  PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
00032  *  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
00033  *  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
00034  *  PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
00035  *  OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
00036  *  WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
00037  *  OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
00038  *  EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00039  *  ============================================================================
00040  */
00041 
00042 
00043 #if !defined (DSPLINK_H)
00044 #define DSPLINK_H
00045 
00046 
00047 /*  ----------------------------------- DSP/BIOS Link                   */
00048 #include <gpptypes.h>
00049 #include <constants.h>
00050 #include <errbase.h>
00051 #include <archdefs.h>
00052 #include <linkcfgdefs.h>
00053 
00054 
00055 #if defined (__cplusplus)
00056 extern "C" {
00057 #endif
00058 
00059 
00060 /*  ============================================================================
00061  *  @const  MAX_IPS
00062  *
00063  *  @brief  Maximum number of IPS objects supported for each DSP.
00064  *
00065  *  ============================================================================
00066  */
00067 #define MAX_IPS             16u
00068 
00069 /** ============================================================================
00070  *  @const  WAIT_FOREVER
00071  *
00072  *  @brief  Wait indefinitely.
00073  *  ============================================================================
00074  */
00075 #define WAIT_FOREVER           (~((Uint32) 0u))
00076 
00077 /** ============================================================================
00078  *  @const  WAIT_NONE
00079  *
00080  *  @brief  Do not wait.
00081  *  ============================================================================
00082  */
00083 #define WAIT_NONE              ((Uint32) 0u)
00084 
00085 
00086 /** ============================================================================
00087  *  @macro  IS_GPPID
00088  *
00089  *  @brief  Is the GPP ID valid.
00090  *  ============================================================================
00091  */
00092 #define IS_GPPID(id)        (id == ID_GPP)
00093 
00094 
00095 #if defined (__cplusplus)
00096 }
00097 #endif
00098 
00099 
00100 #endif /* !defined (DSPLINK_H) */

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