Common Platform (CP) Tracer Library API Reference Guide (C6678 Version)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
CPTLib_C6678.h
Go to the documentation of this file.
1 #ifndef __CPTLIBRARY_C6678_H
2 #define __CPTLIBRARY_C6678_H
3 /*
4  * CPTLib_C6678.h
5  *
6  * Common Platform (CP) Tracer Library C6678 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 
52 //
54 // Public Typedefs and Enums
55 //
57 
62 // These are in SID order
63 typedef enum { eCPT_MSMC_0,
80  eCPT_ModID_Last
81  } eCPT_ModID;
82 
105 // Master IDs
106 typedef enum {
143  eCPT_MID_reserved36,
144  eCPT_MID_reserved37,
145  /* SRIO PKTDMA master group */
148  eCPT_MID_reserved40,
149  eCPT_MID_reserved41,
150  eCPT_MID_reserved42,
151  eCPT_MID_reserved43,
152  eCPT_MID_reserved44,
153  eCPT_MID_reserved45,
154  eCPT_MID_reserved46,
155  eCPT_MID_reserved47,
168  eCPT_MID_reserved60,
169  eCPT_MID_reserved61,
170  eCPT_MID_reserved62,
171  eCPT_MID_reserved63,
172  eCPT_MID_reserved64,
173  eCPT_MID_reserved65,
174  eCPT_MID_reserved66,
175  eCPT_MID_reserved67,
176  eCPT_MID_reserved68,
177  eCPT_MID_reserved69,
178  eCPT_MID_reserved70,
179  eCPT_MID_reserved71,
180  eCPT_MID_reserved72,
181  eCPT_MID_reserved73,
182  eCPT_MID_reserved74,
183  eCPT_MID_reserved75,
184  eCPT_MID_reserved76,
185  eCPT_MID_reserved77,
186  eCPT_MID_reserved78,
187  eCPT_MID_reserved79,
188  eCPT_MID_reserved80,
189  eCPT_MID_reserved81,
190  eCPT_MID_reserved82,
191  eCPT_MID_reserved83,
192  eCPT_MID_reserved84,
193  eCPT_MID_reserved85,
194  eCPT_MID_reserved86,
195  eCPT_MID_reserved87,
196  /* QM_CDMA master group */
201  /* QM_second master group */
204  eCPT_MID_reserved94,
205  eCPT_MID_reserved95,
206  eCPT_MID_reserved96,
207  eCPT_MID_Cnt = 128
208  } eCPT_MasterID;
209 
210 #ifdef __cplusplus
211 }
212 #endif
213 
214 #endif /* __CPTLIBARY_C6678_H */