Common Platform (CP) Tracer Library API Reference Guide (C6670 Version)
Main Page
Data Structures
Files
File List
Globals
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
,
65
eCPT_MSMC_1
,
66
eCPT_MSMC_2
,
67
eCPT_MSMC_3
,
68
eCPT_QM_MST
,
69
eCPT_DDR
,
70
eCPT_SM
,
71
eCPT_QM_CFG
,
72
eCPT_SCR3_CFG
,
73
eCPT_L2_0
,
74
eCPT_L2_1
,
75
eCPT_L2_2
,
76
eCPT_L2_3
,
77
eCPT_RAC
,
78
eCPT_RAC_CFG
,
79
eCPT_TAC
,
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_reserved4,
112
eCPT_MID_reserved5,
113
eCPT_MID_reserved6,
114
eCPT_MID_reserved7,
115
eCPT_MID_GEM0_CFG
,
116
eCPT_MID_GEM1_CFG
,
117
eCPT_MID_GEM2_CFG
,
118
eCPT_MID_GEM3_CFG
,
119
eCPT_MID_reserved12,
120
eCPT_MID_reserved13,
121
eCPT_MID_reserved14,
122
eCPT_MID_reserved15,
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_FFTC_A
,
149
eCPT_MID_reserved41,
150
eCPT_MID_FFTC_B
,
151
eCPT_MID_reserved43,
152
eCPT_MID_RAC_B_BE0
,
153
eCPT_MID_RAC_B_BE1
,
154
eCPT_MID_RAC_A_BE0
,
155
eCPT_MID_RAC_A_BE1
,
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_QM_SS_Grp0
,
165
eCPT_MID_QM_SS_Grp1
,
166
eCPT_MID_QM_SS_Grp2
,
167
eCPT_MID_QM_SS_Grp3
,
168
eCPT_MID_reserved60,
169
eCPT_MID_reserved61,
170
eCPT_MID_reserved62,
171
eCPT_MID_reserved63,
172
/* AIF master group */
173
eCPT_MID_AIF_Grp0
,
174
eCPT_MID_AIF_Grp1
,
175
eCPT_MID_AIF_Grp2
,
176
eCPT_MID_AIF_Grp3
,
177
eCPT_MID_AIF_Grp4
,
178
eCPT_MID_AIF_Grp5
,
179
eCPT_MID_AIF_Grp6
,
180
eCPT_MID_AIF_Grp7
,
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 */
198
eCPT_MID_QM_CDMA_Grp0
,
199
eCPT_MID_QM_CDMA_Grp1
,
200
eCPT_MID_QM_CDMA_Grp2
,
201
eCPT_MID_QM_CDMA_Grp3
,
202
/* NETCP master group */
203
eCPT_MID_NETCP_Grp0
,
204
eCPT_MID_NETCP_Grp1
,
205
eCPT_MID_TAC
,
206
eCPT_MID_reserved95,
207
eCPT_MID_FFTC_C
,
208
eCPT_MID_reserved97,
209
eCPT_MID_BCP_CDMA
,
210
eCPT_MID_BCP_DIO0
,
211
eCPT_MID_BCP_DIO1
,
212
eCPT_MID_Cnt = 128
213
}
eCPT_MasterID
;
214
215
#ifdef __cplusplus
216
}
217
#endif
218
219
#endif
/* __CPTLIBARY_C6670_H */
C:
git
ctoolslib
CPTLib
include
CPTLib_C6670.h
Generated on Tue Sep 22 2015 08:10:42 for Common Platform (CP) Tracer Library API Reference Guide (C6670 Version) by
1.8.4