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

Std.h

Go to the documentation of this file.
00001 /** 
00002  *  @file   Std.h
00003  *
00004  *  @brief      This will have definitions of standard data types for
00005  *              platform abstraction.
00006  *
00007  *
00008  *  @ver        02.00.00.68_beta1
00009  *  
00010  *  ============================================================================
00011  *  
00012  *  Copyright (c) 2008-2009, Texas Instruments Incorporated
00013  *
00014  *  Redistribution and use in source and binary forms, with or without
00015  *  modification, are permitted provided that the following conditions
00016  *  are met:
00017  *  
00018  *  *  Redistributions of source code must retain the above copyright
00019  *     notice, this list of conditions and the following disclaimer.
00020  *  
00021  *  *  Redistributions in binary form must reproduce the above copyright
00022  *     notice, this list of conditions and the following disclaimer in the
00023  *     documentation and/or other materials provided with the distribution.
00024  *  
00025  *  *  Neither the name of Texas Instruments Incorporated nor the names of
00026  *     its contributors may be used to endorse or promote products derived
00027  *     from this software without specific prior written permission.
00028  *  
00029  *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
00030  *  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
00031  *  THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
00032  *  PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
00033  *  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
00034  *  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
00035  *  PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
00036  *  OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
00037  *  WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
00038  *  OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
00039  *  EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00040  *  Contact information for paper mail:
00041  *  Texas Instruments
00042  *  Post Office Box 655303
00043  *  Dallas, Texas 75265
00044  *  Contact information: 
00045  *  http://www-k.ext.ti.com/sc/technical-support/product-information-centers.htm?
00046  *  DCMP=TIHomeTracking&HQS=Other+OT+home_d_contact
00047  *  ============================================================================
00048  *  
00049  */
00050 
00051 #if !defined(STD_H)
00052 #define STD_H
00053 
00054 #ifdef SYSLINK_BUILDOS_LINUX
00055 #include <std_linux.h>
00056 #endif
00057 
00058 #if defined (__cplusplus)
00059 extern "C" {
00060 #endif
00061 
00062 typedef char              Char;
00063 typedef unsigned char     UChar;
00064 typedef short             Short;
00065 typedef unsigned short    UShort;
00066 typedef int               Int;
00067 typedef unsigned int      UInt;
00068 typedef long              Long;
00069 typedef unsigned long     ULong;
00070 typedef float             Float;
00071 typedef double            Double;
00072 typedef long double       LDouble;
00073 typedef void              Void;
00074 
00075 
00076 typedef unsigned short    Bool;
00077 typedef void            * Ptr;       /* data pointer */
00078 typedef char            * String;    /* null terminated string */
00079 
00080 
00081 typedef int            *  IArg;
00082 typedef unsigned int   *  UArg;
00083 typedef char              Int8;
00084 typedef short             Int16;
00085 typedef int               Int32;
00086 
00087 typedef unsigned char     UInt8;
00088 typedef unsigned short    UInt16;
00089 typedef unsigned int      UInt32;
00090 typedef unsigned int      SizeT;
00091 typedef unsigned char     Bits8;
00092 typedef unsigned short    Bits16;
00093 typedef UInt32            Bits32;
00094 typedef UInt32            Error_Block;
00095 
00096 #define TRUE              1
00097 #define FALSE             0
00098 
00099 
00100 #if defined (__cplusplus)
00101 }
00102 #endif
00103 
00104 #endif
00105 

Generated on Mon Mar 14 11:59:45 2011 for Syslink by  doxygen 1.4.4