- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

csl_types.h
Go to the documentation of this file.

    00001 /*  ============================================================================
    00002  *   Copyright (c) Texas Instruments Inc 2002, 2003, 2004, 2005, 2008
    00003  *
    00004  *   Use of this software is controlled by the terms and conditions found in the
    00005  *   license agreement under which this software has been supplied.
    00006  *  ============================================================================
    00007  */
    00008
    00016 /* ============================================================================
    00017  * Revision History
    00018  * ================
    00019  * 11-Aug-2008 Created
    00020  * ============================================================================
    00021  */
    00022
    00023 #ifndef _CSL_TYPES_H_
    00024 #define _CSL_TYPES_H_
    00025
    00026 #include <tistdtypes.h>
    00027
    00028 #ifndef TRUE
    00029
    00030 #define TRUE        ((Bool) 1)
    00031 #define FALSE       ((Bool) 0)
    00032
    00033 #endif
    00034
    00035 typedef Int16     CSL_Uid;
    00036 typedef Int16     CSL_ModuleId;
    00037 typedef Uint32    CSL_Xio;
    00038
    00039 typedef Uint8     CSL_BitMask8;
    00040 typedef Uint16    CSL_BitMask16;
    00041 typedef Uint32    CSL_BitMask32;
    00042
    00043 typedef volatile Uint8     CSL_Reg8;
    00044 typedef volatile Uint16    CSL_Reg16;
    00045 typedef volatile Uint32    CSL_Reg32;
    00046
    00047 typedef Int16    CSL_Status;
    00048 typedef Int16    CSL_InstNum;
    00049 typedef Int16    CSL_ChaNum;
    00050
    00051 typedef unsigned long long int     CSL_Uint64;
    00052 typedef volatile unsigned int      CSL_VUint32;
    00053 typedef volatile unsigned short    CSL_VUint16;
    00054 typedef volatile unsigned char     CSL_VUint8;
    00055
    00056 typedef Uint8      BYTE;
    00057 typedef Uint8*     PBYTE;
    00058 typedef Uint16     WORD;
    00059 typedef Uint16*    PWORD;
    00060 typedef Uint32     DWORD;
    00061 typedef Uint32*    PDWORD;
    00062 typedef void*      PVOID;
    00063 typedef void       VOID;
    00064 typedef Bool*      PBool;
    00065
    00066 typedef enum {
    00067   CSL_EXCLUSIVE = 0,
    00068   CSL_SHARED    = 1
    00069 } CSL_OpenMode;
    00070
    00071 typedef enum {
    00072   CSL_FAIL      = 0,
    00073   CSL_PASS      = 1
    00074 } CSL_Test;
    00075
    00076 #ifndef NULL
    00077 #define NULL            ((void*)0)
    00078 #endif
    00079
    00080 #endif /* _CSL_TYPES_H_ */
    00081