Common Platform (CP) Tracer Library API Reference Guide (C6678 Version)
Main Page
Data Structures
Files
File List
Globals
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
,
64
eCPT_MSMC_1
,
65
eCPT_MSMC_2
,
66
eCPT_MSMC_3
,
67
eCPT_QM_MST
,
68
eCPT_DDR
,
69
eCPT_SM
,
70
eCPT_QM_CFG
,
71
eCPT_SCR3_CFG
,
72
eCPT_L2_0
,
73
eCPT_L2_1
,
74
eCPT_L2_2
,
75
eCPT_L2_3
,
76
eCPT_L2_4
,
77
eCPT_L2_5
,
78
eCPT_L2_6
,
79
eCPT_L2_7
,
80
eCPT_ModID_Last
81
}
eCPT_ModID
;
82
105
// Master IDs
106
typedef
enum
{
107
eCPT_MID_GEM0
,
108
eCPT_MID_GEM1
,
109
eCPT_MID_GEM2
,
110
eCPT_MID_GEM3
,
111
eCPT_MID_GEM4
,
112
eCPT_MID_GEM5
,
113
eCPT_MID_GEM6
,
114
eCPT_MID_GEM7
,
115
eCPT_MID_GEM0_CFG
,
116
eCPT_MID_GEM1_CFG
,
117
eCPT_MID_GEM2_CFG
,
118
eCPT_MID_GEM3_CFG
,
119
eCPT_MID_GEM4_CFG
,
120
eCPT_MID_GEM5_CFG
,
121
eCPT_MID_GEM6_CFG
,
122
eCPT_MID_GEM7_CFG
,
123
eCPT_MID_EDMA0_TC0_RD
,
124
eCPT_MID_EDMA0_TC0_WR
,
125
eCPT_MID_EDMA0_TC1_RD
,
126
eCPT_MID_EDMA0_TC1_WR
,
127
eCPT_MID_EDMA1_TC0_RD
,
128
eCPT_MID_EDMA1_TC0_WR
,
129
eCPT_MID_EDMA1_TC1_RD
,
130
eCPT_MID_EDMA1_TC1_WR
,
131
eCPT_MID_EDMA1_TC2_RD
,
132
eCPT_MID_EDMA1_TC2_WR
,
133
eCPT_MID_EDMA1_TC3_RD
,
134
eCPT_MID_EDMA1_TC3_WR
,
135
eCPT_MID_EDMA2_TC0_RD
,
136
eCPT_MID_EDMA2_TC0_WR
,
137
eCPT_MID_EDMA2_TC1_RD
,
138
eCPT_MID_EDMA2_TC1_WR
,
139
eCPT_MID_EDMA2_TC2_RD
,
140
eCPT_MID_EDMA2_TC2_WR
,
141
eCPT_MID_EDMA2_TC3_RD
,
142
eCPT_MID_EDMA2_TC3_WR
,
143
eCPT_MID_reserved36,
144
eCPT_MID_reserved37,
145
/* SRIO PKTDMA master group */
146
eCPT_MID_SRIO_PKTDMA_Grp0
,
147
eCPT_MID_SRIO_PKTDMA_Grp1
,
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,
156
eCPT_MID_DAP
,
157
eCPT_MID_TPCC0
,
158
eCPT_MID_TPCC1
,
159
eCPT_MID_TPCC2
,
160
eCPT_MID_MSMC
,
161
eCPT_MID_PCIe
,
162
eCPT_MID_SRIO_M
,
163
eCPT_MID_HyperBridge
,
164
eCPT_MID_NETCP_Grp0
,
165
eCPT_MID_NETCP_Grp1
,
166
eCPT_MID_NETCP_Grp2
,
167
eCPT_MID_NETCP_Grp3
,
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 */
197
eCPT_MID_QM_CDMA_Grp0
,
198
eCPT_MID_QM_CDMA_Grp1
,
199
eCPT_MID_QM_CDMA_Grp2
,
200
eCPT_MID_QM_CDMA_Grp3
,
201
/* QM_second master group */
202
eCPT_MID_QM_second_Grp0
,
203
eCPT_MID_QM_second_Grp1
,
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 */
C:
git
ctoolslib
CPTLib
include
CPTLib_C6678.h
Generated on Tue Sep 22 2015 08:10:47 for Common Platform (CP) Tracer Library API Reference Guide (C6678 Version) by
1.8.4