AM62Px MCU+ SDK
10.01.00
udma_soc.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2023-24 Texas Instruments Incorporated
3
*
4
* Redistribution and use in source and binary forms, with or without
5
* modification, are permitted provided that the following conditions
6
* are met:
7
*
8
* Redistributions of source code must retain the above copyright
9
* notice, this list of conditions and the following disclaimer.
10
*
11
* Redistributions in binary form must reproduce the above copyright
12
* notice, this list of conditions and the following disclaimer in the
13
* documentation and/or other materials provided with the
14
* distribution.
15
*
16
* Neither the name of Texas Instruments Incorporated nor the names of
17
* its contributors may be used to endorse or promote products derived
18
* from this software without specific prior written permission.
19
*
20
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31
*/
32
47
#ifndef UDMA_SOC_H_
48
#define UDMA_SOC_H_
49
50
/* ========================================================================== */
51
/* Include Files */
52
/* ========================================================================== */
53
54
/* None */
55
56
#ifdef __cplusplus
57
extern
"C"
{
58
#endif
59
60
/* ========================================================================== */
61
/* Macros & Typedefs */
62
/* ========================================================================== */
63
73
#define UDMA_INST_ID_BCDMA_0 (UDMA_INST_ID_2)
74
75
#define UDMA_INST_ID_PKTDMA_0 (UDMA_INST_ID_3)
76
77
#define UDMA_INST_ID_START (UDMA_INST_ID_2)
78
79
#define UDMA_INST_ID_MAX (UDMA_INST_ID_3)
80
81
#define UDMA_NUM_INST_ID (UDMA_INST_ID_MAX - UDMA_INST_ID_START + 1U)
82
93
#define UDMA_SOC_CFG_LCDMA_PRESENT (1U)
94
96
#define UDMA_SOC_CFG_RA_LCDMA_PRESENT (1U)
97
98
#define UDMA_SOC_CFG_UDMAP_PRESENT (0U)
99
101
#define UDMA_SOC_CFG_PROXY_PRESENT (0U)
102
104
#define UDMA_SOC_CFG_CLEC_PRESENT (0U)
105
107
#define UDMA_SOC_CFG_RA_NORMAL_PRESENT (0U)
108
110
#define UDMA_SOC_CFG_RING_MON_PRESENT (0U)
111
113
#define UDMA_SOC_CFG_APPLY_RING_WORKAROUND (0U)
114
126
#define UDMA_TX_UHC_CHANS_FDEPTH (0U)
127
128
#define UDMA_TX_HC_CHANS_FDEPTH (0U)
129
130
#define UDMA_TX_CHANS_FDEPTH (192U)
131
142
#define UDMA_RINGACC_ASEL_ENDPOINT_PHYSADDR ((uint32_t) 0U)
143
144
#define UDMA_RINGACC_ASEL_ENDPOINT_PCIE0 ((uint32_t) 1U)
145
146
#define UDMA_RINGACC_ASEL_ENDPOINT_ACP_WR_ALLOC ((uint32_t) 14U)
147
148
#define UDMA_RINGACC_ASEL_ENDPOINT_ACP_RD_ALLOC ((uint32_t) 15U)
149
152
#define UDMA_NUM_MAPPED_TX_GROUP (4U)
153
161
#define UDMA_MAPPED_TX_GROUP_CPSW (UDMA_MAPPED_GROUP0)
162
#define UDMA_MAPPED_TX_GROUP_SAUL (UDMA_MAPPED_GROUP1)
163
#define UDMA_MAPPED_TX_GROUP_ICSSG_0 (UDMA_MAPPED_GROUP2)
164
#define UDMA_MAPPED_TX_GROUP_ICSSG_1 (UDMA_MAPPED_GROUP3)
165
168
#define UDMA_NUM_MAPPED_RX_GROUP (4U)
169
177
#define UDMA_MAPPED_RX_GROUP_CPSW (UDMA_MAPPED_GROUP4)
178
#define UDMA_MAPPED_RX_GROUP_SAUL (UDMA_MAPPED_GROUP5)
179
#define UDMA_MAPPED_RX_GROUP_ICSSG_0 (UDMA_MAPPED_GROUP6)
180
#define UDMA_MAPPED_RX_GROUP_ICSSG_1 (UDMA_MAPPED_GROUP7)
181
191
/*
192
* Locally used core ID to define default RM configuration.
193
* Not to be used by caller
194
*/
195
#define UDMA_CORE_ID_MPU1_0 (0U)
196
#define UDMA_CORE_ID_MCU2_0 (1U)
197
#define UDMA_CORE_ID_MCU2_1 (2U)
198
#define UDMA_CORE_ID_MCU1_0 (3U)
199
#define UDMA_CORE_ID_MCU1_1 (4U)
200
/* Total number of cores */
201
#define UDMA_NUM_CORE (5U)
202
213
#define UDMA_RM_RES_ID_BC_UHC (0U)
214
215
#define UDMA_RM_RES_ID_BC_HC (1U)
216
217
#define UDMA_RM_RES_ID_BC (2U)
218
219
#define UDMA_RM_RES_ID_TX_UHC (3U)
220
221
#define UDMA_RM_RES_ID_TX_HC (4U)
222
223
#define UDMA_RM_RES_ID_TX (5U)
224
225
#define UDMA_RM_RES_ID_RX_UHC (6U)
226
227
#define UDMA_RM_RES_ID_RX_HC (7U)
228
229
#define UDMA_RM_RES_ID_RX (8U)
230
231
#define UDMA_RM_RES_ID_GLOBAL_EVENT (9U)
232
233
#define UDMA_RM_RES_ID_VINTR (10U)
234
235
#define UDMA_RM_RES_ID_MAPPED_TX_CPSW (11U)
236
237
#define UDMA_RM_RES_ID_MAPPED_TX_SAUL_0 (12U)
238
239
#define UDMA_RM_RES_ID_MAPPED_TX_SAUL_1 (13U)
240
241
#define UDMA_RM_RES_ID_MAPPED_TX_ICSSG_0 (14U)
242
243
#define UDMA_RM_RES_ID_MAPPED_TX_ICSSG_1 (15U)
244
245
#define UDMA_RM_RES_ID_MAPPED_RX_CPSW (16U)
246
247
#define UDMA_RM_RES_ID_MAPPED_RX_SAUL_0 (17U)
248
249
#define UDMA_RM_RES_ID_MAPPED_RX_SAUL_1 (18U)
250
251
#define UDMA_RM_RES_ID_MAPPED_RX_SAUL_2 (19U)
252
253
#define UDMA_RM_RES_ID_MAPPED_RX_SAUL_3 (20U)
254
255
#define UDMA_RM_RES_ID_MAPPED_RX_ICSSG_0 (21U)
256
257
#define UDMA_RM_RES_ID_MAPPED_RX_ICSSG_1 (22U)
258
259
#define UDMA_RM_RES_ID_MAPPED_TX_RING_CPSW (23U)
260
261
#define UDMA_RM_RES_ID_MAPPED_TX_RING_SAUL_0 (24U)
262
263
#define UDMA_RM_RES_ID_MAPPED_TX_RING_SAUL_1 (25U)
264
265
#define UDMA_RM_RES_ID_MAPPED_TX_RING_ICSSG_0 (26U)
266
267
#define UDMA_RM_RES_ID_MAPPED_TX_RING_ICSSG_1 (27U)
268
269
#define UDMA_RM_RES_ID_MAPPED_RX_RING_CPSW (28U)
270
271
#define UDMA_RM_RES_ID_MAPPED_RX_RING_SAUL_0 (29U)
272
273
#define UDMA_RM_RES_ID_MAPPED_RX_RING_SAUL_1 (30U)
274
275
#define UDMA_RM_RES_ID_MAPPED_RX_RING_SAUL_2 (31U)
276
277
#define UDMA_RM_RES_ID_MAPPED_RX_RING_SAUL_3 (32U)
278
279
#define UDMA_RM_RES_ID_MAPPED_RX_RING_ICSSG_0 (33U)
280
281
#define UDMA_RM_RES_ID_MAPPED_RX_RING_ICSSG_1 (34U)
282
283
#define UDMA_RM_NUM_BCDMA_RES (11U)
284
285
#define UDMA_RM_NUM_PKTDMA_RES (35U)
286
287
#define UDMA_RM_NUM_RES (35U)
288
292
#define UDMA_RM_NUM_SHARED_RES (2U)
293
295
#define UDMA_RM_SHARED_RES_MAX_INST (UDMA_NUM_CORE)
296
298
#define UDMA_PSIL_DEST_THREAD_OFFSET (0x8000U)
299
309
#define UDMA_PSIL_CH_CPSW2_RX (0x4500U)
310
#define UDMA_PSIL_CH_SAUL0_RX (0x4000U)
311
#define UDMA_PSIL_CH_ICSS_G0_RX (0x4100U)
312
#define UDMA_PSIL_CH_ICSS_G1_RX (0x4200U)
313
314
#define UDMA_PSIL_CH_CPSW2_TX (UDMA_PSIL_CH_CPSW2_RX | UDMA_PSIL_DEST_THREAD_OFFSET)
315
#define UDMA_PSIL_CH_SAUL0_TX (UDMA_PSIL_CH_SAUL0_RX | UDMA_PSIL_DEST_THREAD_OFFSET)
316
#define UDMA_PSIL_CH_ICSS_G0_TX (UDMA_PSIL_CH_ICSS_G0_RX | UDMA_PSIL_DEST_THREAD_OFFSET)
317
#define UDMA_PSIL_CH_ICSS_G1_TX (UDMA_PSIL_CH_ICSS_G1_RX | UDMA_PSIL_DEST_THREAD_OFFSET)
318
319
#define UDMA_PSIL_CH_CPSW2_TX_CNT (8U)
320
#define UDMA_PSIL_CH_SAUL0_TX_CNT (2U)
321
#define UDMA_PSIL_CH_ICSS_G0_TX_CNT (9U)
322
#define UDMA_PSIL_CH_ICSS_G1_TX_CNT (9U)
323
324
#define UDMA_PSIL_CH_CPSW2_RX_CNT (1U)
325
#define UDMA_PSIL_CH_SAUL0_RX_CNT (4U)
326
#define UDMA_PSIL_CH_ICSS_G0_RX_CNT (5U)
327
#define UDMA_PSIL_CH_ICSS_G1_RX_CNT (5U)
328
350
/*
351
* PDMA MAIN0 MCSPI RX Channels
352
*/
353
#define UDMA_PDMA_CH_MAIN0_MCSPI0_CH0_RX (0x4300U + 0U)
354
#define UDMA_PDMA_CH_MAIN0_MCSPI0_CH1_RX (0x4300U + 1U)
355
#define UDMA_PDMA_CH_MAIN0_MCSPI0_CH2_RX (0x4300U + 2U)
356
#define UDMA_PDMA_CH_MAIN0_MCSPI0_CH3_RX (0x4300U + 3U)
357
#define UDMA_PDMA_CH_MAIN0_MCSPI1_CH0_RX (0x4300U + 4U)
358
#define UDMA_PDMA_CH_MAIN0_MCSPI1_CH1_RX (0x4300U + 5U)
359
#define UDMA_PDMA_CH_MAIN0_MCSPI1_CH2_RX (0x4300U + 6U)
360
#define UDMA_PDMA_CH_MAIN0_MCSPI1_CH3_RX (0x4300U + 7U)
361
#define UDMA_PDMA_CH_MAIN0_MCSPI2_CH0_RX (0x4300U + 8U)
362
#define UDMA_PDMA_CH_MAIN0_MCSPI2_CH1_RX (0x4300U + 9U)
363
#define UDMA_PDMA_CH_MAIN0_MCSPI2_CH2_RX (0x4300U + 10U)
364
#define UDMA_PDMA_CH_MAIN0_MCSPI2_CH3_RX (0x4300U + 11U)
365
#define UDMA_PDMA_CH_MAIN0_MCSPI3_CH0_RX (0x4300U + 12U)
366
#define UDMA_PDMA_CH_MAIN0_MCSPI3_CH1_RX (0x4300U + 13U)
367
#define UDMA_PDMA_CH_MAIN0_MCSPI3_CH2_RX (0x4300U + 14U)
368
#define UDMA_PDMA_CH_MAIN0_MCSPI3_CH3_RX (0x4300U + 15U)
369
/*
370
* PDMA MAIN0 UART RX Channels
371
*/
372
#define UDMA_PDMA_CH_MAIN0_UART0_RX (0x4400U + 0U)
373
#define UDMA_PDMA_CH_MAIN0_UART1_RX (0x4400U + 1U)
374
#define UDMA_PDMA_CH_MAIN0_UART2_RX (0x4400U + 2U)
375
#define UDMA_PDMA_CH_MAIN0_UART3_RX (0x4400U + 3U)
376
#define UDMA_PDMA_CH_MAIN0_UART4_RX (0x4400U + 4U)
377
#define UDMA_PDMA_CH_MAIN0_UART5_RX (0x4400U + 5U)
378
#define UDMA_PDMA_CH_MAIN0_UART6_RX (0x4400U + 6U)
379
/*
380
* PDMA MAIN0 MCASP RX Channels
381
*/
382
#define UDMA_PDMA_CH_MAIN0_MCASP0_RX (0x4500U + 0U)
383
#define UDMA_PDMA_CH_MAIN0_MCASP1_RX (0x4500U + 1U)
384
#define UDMA_PDMA_CH_MAIN0_MCASP2_RX (0x4500U + 2U)
385
397
/*
398
* PDMA MAIN0 MCSPI TX Channels
399
*/
400
#define UDMA_PDMA_CH_MAIN0_MCSPI0_CH0_TX (UDMA_PDMA_CH_MAIN0_MCSPI0_CH0_RX | UDMA_PSIL_DEST_THREAD_OFFSET)
401
#define UDMA_PDMA_CH_MAIN0_MCSPI0_CH1_TX (UDMA_PDMA_CH_MAIN0_MCSPI0_CH1_RX | UDMA_PSIL_DEST_THREAD_OFFSET)
402
#define UDMA_PDMA_CH_MAIN0_MCSPI0_CH2_TX (UDMA_PDMA_CH_MAIN0_MCSPI0_CH2_RX | UDMA_PSIL_DEST_THREAD_OFFSET)
403
#define UDMA_PDMA_CH_MAIN0_MCSPI0_CH3_TX (UDMA_PDMA_CH_MAIN0_MCSPI0_CH3_RX | UDMA_PSIL_DEST_THREAD_OFFSET)
404
#define UDMA_PDMA_CH_MAIN0_MCSPI1_CH0_TX (UDMA_PDMA_CH_MAIN0_MCSPI1_CH0_RX | UDMA_PSIL_DEST_THREAD_OFFSET)
405
#define UDMA_PDMA_CH_MAIN0_MCSPI1_CH1_TX (UDMA_PDMA_CH_MAIN0_MCSPI1_CH1_RX | UDMA_PSIL_DEST_THREAD_OFFSET)
406
#define UDMA_PDMA_CH_MAIN0_MCSPI1_CH2_TX (UDMA_PDMA_CH_MAIN0_MCSPI1_CH2_RX | UDMA_PSIL_DEST_THREAD_OFFSET)
407
#define UDMA_PDMA_CH_MAIN0_MCSPI1_CH3_TX (UDMA_PDMA_CH_MAIN0_MCSPI1_CH3_RX | UDMA_PSIL_DEST_THREAD_OFFSET)
408
#define UDMA_PDMA_CH_MAIN0_MCSPI2_CH0_TX (UDMA_PDMA_CH_MAIN0_MCSPI2_CH0_RX | UDMA_PSIL_DEST_THREAD_OFFSET)
409
#define UDMA_PDMA_CH_MAIN0_MCSPI2_CH1_TX (UDMA_PDMA_CH_MAIN0_MCSPI2_CH1_RX | UDMA_PSIL_DEST_THREAD_OFFSET)
410
#define UDMA_PDMA_CH_MAIN0_MCSPI2_CH2_TX (UDMA_PDMA_CH_MAIN0_MCSPI2_CH2_RX | UDMA_PSIL_DEST_THREAD_OFFSET)
411
#define UDMA_PDMA_CH_MAIN0_MCSPI2_CH3_TX (UDMA_PDMA_CH_MAIN0_MCSPI2_CH3_RX | UDMA_PSIL_DEST_THREAD_OFFSET)
412
#define UDMA_PDMA_CH_MAIN0_MCSPI3_CH0_TX (UDMA_PDMA_CH_MAIN0_MCSPI3_CH0_RX | UDMA_PSIL_DEST_THREAD_OFFSET)
413
#define UDMA_PDMA_CH_MAIN0_MCSPI3_CH1_TX (UDMA_PDMA_CH_MAIN0_MCSPI3_CH1_RX | UDMA_PSIL_DEST_THREAD_OFFSET)
414
#define UDMA_PDMA_CH_MAIN0_MCSPI3_CH2_TX (UDMA_PDMA_CH_MAIN0_MCSPI3_CH2_RX | UDMA_PSIL_DEST_THREAD_OFFSET)
415
#define UDMA_PDMA_CH_MAIN0_MCSPI3_CH3_TX (UDMA_PDMA_CH_MAIN0_MCSPI3_CH3_RX | UDMA_PSIL_DEST_THREAD_OFFSET)
416
/*
417
* PDMA MAIN0 UART TX Channels
418
*/
419
#define UDMA_PDMA_CH_MAIN0_UART0_TX (UDMA_PDMA_CH_MAIN0_UART0_RX | UDMA_PSIL_DEST_THREAD_OFFSET)
420
#define UDMA_PDMA_CH_MAIN0_UART1_TX (UDMA_PDMA_CH_MAIN0_UART1_RX | UDMA_PSIL_DEST_THREAD_OFFSET)
421
#define UDMA_PDMA_CH_MAIN0_UART2_TX (UDMA_PDMA_CH_MAIN0_UART2_RX | UDMA_PSIL_DEST_THREAD_OFFSET)
422
#define UDMA_PDMA_CH_MAIN0_UART3_TX (UDMA_PDMA_CH_MAIN0_UART3_RX | UDMA_PSIL_DEST_THREAD_OFFSET)
423
#define UDMA_PDMA_CH_MAIN0_UART4_TX (UDMA_PDMA_CH_MAIN0_UART4_RX | UDMA_PSIL_DEST_THREAD_OFFSET)
424
#define UDMA_PDMA_CH_MAIN0_UART5_TX (UDMA_PDMA_CH_MAIN0_UART5_RX | UDMA_PSIL_DEST_THREAD_OFFSET)
425
#define UDMA_PDMA_CH_MAIN0_UART6_TX (UDMA_PDMA_CH_MAIN0_UART6_RX | UDMA_PSIL_DEST_THREAD_OFFSET)
426
/*
427
* PDMA MAIN0 MCASP TX Channels
428
*/
429
#define UDMA_PDMA_CH_MAIN0_MCASP0_TX (UDMA_PDMA_CH_MAIN0_MCASP0_RX | UDMA_PSIL_DEST_THREAD_OFFSET)
430
#define UDMA_PDMA_CH_MAIN0_MCASP1_TX (UDMA_PDMA_CH_MAIN0_MCASP1_RX | UDMA_PSIL_DEST_THREAD_OFFSET)
431
#define UDMA_PDMA_CH_MAIN0_MCASP2_TX (UDMA_PDMA_CH_MAIN0_MCASP2_RX | UDMA_PSIL_DEST_THREAD_OFFSET)
432
444
/*
445
* PDMA MAIN1 MCSPI RX Channels
446
*/
447
#define UDMA_PDMA_CH_MAIN1_MCSPI4_CH0_RX (0x4400U + 0U)
448
#define UDMA_PDMA_CH_MAIN1_MCSPI4_CH1_RX (0x4400U + 1U)
449
#define UDMA_PDMA_CH_MAIN1_MCSPI4_CH2_RX (0x4400U + 2U)
450
#define UDMA_PDMA_CH_MAIN1_MCSPI4_CH3_RX (0x4400U + 3U)
451
/*
452
* PDMA MAIN1 UART RX Channels
453
*/
454
#define UDMA_PDMA_CH_MAIN1_UART2_RX (0x4400U + 4U)
455
#define UDMA_PDMA_CH_MAIN1_UART3_RX (0x4400U + 5U)
456
#define UDMA_PDMA_CH_MAIN1_UART4_RX (0x4400U + 6U)
457
#define UDMA_PDMA_CH_MAIN1_UART5_RX (0x4400U + 7U)
458
#define UDMA_PDMA_CH_MAIN1_UART6_RX (0x4400U + 8U)
459
/*
460
* PDMA MAIN1 MCAN RX Channels
461
*/
462
#define UDMA_PDMA_CH_MAIN1_MCAN0_CH0_RX (0x4400U + 9U)
463
#define UDMA_PDMA_CH_MAIN1_MCAN0_CH1_RX (0x4400U + 10U)
464
#define UDMA_PDMA_CH_MAIN1_MCAN0_CH2_RX (0x4400U + 11U)
465
#define UDMA_PDMA_CH_MAIN1_MCAN1_CH0_RX (0x4400U + 12U)
466
#define UDMA_PDMA_CH_MAIN1_MCAN1_CH1_RX (0x4400U + 13U)
467
#define UDMA_PDMA_CH_MAIN1_MCAN1_CH2_RX (0x4400U + 14U)
468
/*
469
* PDMA MAIN1 ADC RX Channels
470
*/
471
#define UDMA_PDMA_CH_MAIN1_ADC0_CH0_RX (0x4400U + 15U)
472
#define UDMA_PDMA_CH_MAIN1_ADC0_CH1_RX (0x4400U + 16U)
473
485
/*
486
* PDMA MAIN1 MCSPI TX Channels
487
*/
488
#define UDMA_PDMA_CH_MAIN1_MCSPI4_CH0_TX (UDMA_PDMA_CH_MAIN1_MCSPI4_CH0_RX | UDMA_PSIL_DEST_THREAD_OFFSET)
489
#define UDMA_PDMA_CH_MAIN1_MCSPI4_CH1_TX (UDMA_PDMA_CH_MAIN1_MCSPI4_CH1_RX | UDMA_PSIL_DEST_THREAD_OFFSET)
490
#define UDMA_PDMA_CH_MAIN1_MCSPI4_CH2_TX (UDMA_PDMA_CH_MAIN1_MCSPI4_CH2_RX | UDMA_PSIL_DEST_THREAD_OFFSET)
491
#define UDMA_PDMA_CH_MAIN1_MCSPI4_CH3_TX (UDMA_PDMA_CH_MAIN1_MCSPI4_CH3_RX | UDMA_PSIL_DEST_THREAD_OFFSET)
492
/*
493
* PDMA MAIN1 UART TX Channels
494
*/
495
#define UDMA_PDMA_CH_MAIN1_UART2_TX (UDMA_PDMA_CH_MAIN1_UART2_RX | UDMA_PSIL_DEST_THREAD_OFFSET)
496
#define UDMA_PDMA_CH_MAIN1_UART3_TX (UDMA_PDMA_CH_MAIN1_UART3_RX | UDMA_PSIL_DEST_THREAD_OFFSET)
497
#define UDMA_PDMA_CH_MAIN1_UART4_TX (UDMA_PDMA_CH_MAIN1_UART4_RX | UDMA_PSIL_DEST_THREAD_OFFSET)
498
#define UDMA_PDMA_CH_MAIN1_UART5_TX (UDMA_PDMA_CH_MAIN1_UART5_RX | UDMA_PSIL_DEST_THREAD_OFFSET)
499
#define UDMA_PDMA_CH_MAIN1_UART6_TX (UDMA_PDMA_CH_MAIN1_UART6_RX | UDMA_PSIL_DEST_THREAD_OFFSET)
500
/*
501
* PDMA MAIN1 MCAN TX Channels
502
*/
503
#define UDMA_PDMA_CH_MAIN1_MCAN0_CH0_TX (UDMA_PDMA_CH_MAIN1_MCAN0_CH0_RX | UDMA_PSIL_DEST_THREAD_OFFSET)
504
#define UDMA_PDMA_CH_MAIN1_MCAN0_CH1_TX (UDMA_PDMA_CH_MAIN1_MCAN0_CH1_RX | UDMA_PSIL_DEST_THREAD_OFFSET)
505
#define UDMA_PDMA_CH_MAIN1_MCAN0_CH2_TX (UDMA_PDMA_CH_MAIN1_MCAN0_CH2_RX | UDMA_PSIL_DEST_THREAD_OFFSET)
506
#define UDMA_PDMA_CH_MAIN1_MCAN1_CH0_TX (UDMA_PDMA_CH_MAIN1_MCAN1_CH0_RX | UDMA_PSIL_DEST_THREAD_OFFSET)
507
#define UDMA_PDMA_CH_MAIN1_MCAN1_CH1_TX (UDMA_PDMA_CH_MAIN1_MCAN1_CH1_RX | UDMA_PSIL_DEST_THREAD_OFFSET)
508
#define UDMA_PDMA_CH_MAIN1_MCAN1_CH2_TX (UDMA_PDMA_CH_MAIN1_MCAN1_CH2_RX | UDMA_PSIL_DEST_THREAD_OFFSET)
509
511
/* Start of C7x events associated to CLEC that UDMA Driver will manage */
512
#define UDMA_C7X_CORE_INTR_OFFSET (32U)
513
/* Number of C7x Events available for UDMA */
514
#define UDMA_C7X_CORE_NUM_INTR (16)
515
516
/* CLEC offset for VINT */
517
#define UDMA_VINT_CLEC_OFFSET (256U)
518
521
/* ========================================================================== */
522
/* Structure Declarations */
523
/* ========================================================================== */
524
525
/* None */
526
527
/* ========================================================================== */
528
/* Function Declarations */
529
/* ========================================================================== */
530
536
uint32_t
Udma_isCacheCoherent
(
void
);
537
538
/* ========================================================================== */
539
/* Static Function Definitions */
540
/* ========================================================================== */
541
542
/* None */
543
544
#ifdef __cplusplus
545
}
546
#endif
547
548
#endif
/* #ifndef UDMA_SOC_H_ */
549
Udma_isCacheCoherent
uint32_t Udma_isCacheCoherent(void)
Returns TRUE if the memory is cache coherent.
source
drivers
udma
soc
am62px
udma_soc.h
generated by
1.8.20