Common Platform (CP) Tracer Library API Reference Guide (C6670 Version)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
CPTLib_C6670.h
Go to the documentation of this file.
1 #ifndef __CPTLIBRARY_C6670_H
2 #define __CPTLIBRARY_C6670_H
3 /*
4  * CPTLib_C6670.h
5  *
6  * Common Platform (CP) Tracer Library C6670 device specific definitions
7  *
8  * Copyright (C) 2010, 2011 Texas Instruments Incorporated - http://www.ti.com/
9  *
10  *
11  * Redistribution and use in source and binary forms, with or without
12  * modification, are permitted provided that the following conditions
13  * are met:
14  *
15  * Redistributions of source code must retain the above copyright
16  * notice, this list of conditions and the following disclaimer.
17  *
18  * Redistributions in binary form must reproduce the above copyright
19  * notice, this list of conditions and the following disclaimer in the
20  * documentation and/or other materials provided with the
21  * distribution.
22  *
23  * Neither the name of Texas Instruments Incorporated nor the names of
24  * its contributors may be used to endorse or promote products derived
25  * from this software without specific prior written permission.
26  *
27  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
28  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
29  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
30  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
31  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
32  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
33  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
34  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
35  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
36  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
37  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
38  *
39 */
40 
41 #include <stdlib.h>
42 #include <stdint.h> // The library uses C99 exact-width integer types
43 
44 #ifdef __cplusplus
45 extern "C" {
46 #endif
47 
53 //
55 // Public Typedefs and Enums
56 //
58 
63 // These are in SID order
64 typedef enum { eCPT_MSMC_0,
80  eCPT_ModID_Last
81  } eCPT_ModID;
82 
105 // Master IDs
106 typedef enum {
111  eCPT_MID_reserved4,
112  eCPT_MID_reserved5,
113  eCPT_MID_reserved6,
114  eCPT_MID_reserved7,
119  eCPT_MID_reserved12,
120  eCPT_MID_reserved13,
121  eCPT_MID_reserved14,
122  eCPT_MID_reserved15,
143  eCPT_MID_reserved36,
144  eCPT_MID_reserved37,
145  /* SRIO PKTDMA master group */
149  eCPT_MID_reserved41,
151  eCPT_MID_reserved43,
168  eCPT_MID_reserved60,
169  eCPT_MID_reserved61,
170  eCPT_MID_reserved62,
171  eCPT_MID_reserved63,
172  /* AIF master group */
181  eCPT_MID_reserved72,
182  eCPT_MID_reserved73,
183  eCPT_MID_reserved74,
184  eCPT_MID_reserved75,
185  eCPT_MID_reserved76,
186  eCPT_MID_reserved77,
187  eCPT_MID_reserved78,
188  eCPT_MID_reserved79,
189  eCPT_MID_reserved80,
190  eCPT_MID_reserved81,
191  eCPT_MID_reserved82,
192  eCPT_MID_reserved83,
193  eCPT_MID_reserved84,
194  eCPT_MID_reserved85,
195  eCPT_MID_reserved86,
196  eCPT_MID_reserved87,
197  /* QM_CDMA master group */
202  /* NETCP master group */
206  eCPT_MID_reserved95,
208  eCPT_MID_reserved97,
212  eCPT_MID_Cnt = 128
213  } eCPT_MasterID;
214 
215 #ifdef __cplusplus
216 }
217 #endif
218 
219 #endif /* __CPTLIBARY_C6670_H */