LMS 2012
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
pru_can_emulation_api.h
Go to the documentation of this file.
1 /*
2  * linux/<file location within the kernel tree>
3  *
4  * Copyright (C) 2010 Texas Instruments Incorporated
5  * Author: Ganeshan N
6  *
7  * Based on <Give reference of old kernel file from which this file is derived from>
8  *
9  * This program is free software; you can redistribute it and/or modify it
10  * under the terms of the GNU General Public License as published by the
11  * Free Software Foundation version 2.
12  *
13  * This program is distributed "as is" WITHOUT ANY WARRANTY of any kind,
14  * whether express or implied; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16  * General Public License for more details.
17  */
18 
19 #ifndef _PRU_CAN_API_H_
20 #define _PRU_CAN_API_H_
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
25 #include "pru.h"
26 #include "csl/soc_OMAPL138.h"
27 #ifdef __KERNEL__
28 #include <linux/types.h>
29 #else
30  typedef unsigned int u32;
31  typedef unsigned short u16;
32  typedef unsigned char u8;
33  typedef unsigned char bool;
34 #define true 1
35 #define false 0
36 #ifndef NULL
37 #define NULL 0
38 #endif
39 #endif
40 #define CAN_BIT_TIMINGS (0x273)
41 
42 /*Timer Clock is sourced from DDR freq (PLL1 SYS CLK 2)*/
43 #define TIMER_CLK_FREQ 132000000
44 
45 #define TIMER_SETUP_DELAY 14
46 #define GPIO_SETUP_DELAY 150
47 
48 //Number of Instruction in the Delay loop
49 #define DELAY_LOOP_LENGTH 2
50 
53 #define PRU_CAN_PRU1_BASE_ADDRESS 0x2000
54 
55 #define PRU_CAN_TX_GLOBAL_CONTROL_REGISTER (PRU_CAN_PRU1_BASE_ADDRESS)
56 #define PRU_CAN_TX_GLOBAL_STATUS_REGISTER (PRU_CAN_PRU1_BASE_ADDRESS + 0x04)
57 #define PRU_CAN_TX_INTERRUPT_MASK_REGISTER (PRU_CAN_PRU1_BASE_ADDRESS + 0x08)
58 #define PRU_CAN_TX_INTERRUPT_STATUS_REGISTER (PRU_CAN_PRU1_BASE_ADDRESS + 0x0C)
59 #define PRU_CAN_TX_MAILBOX0_STATUS_REGISTER (PRU_CAN_PRU1_BASE_ADDRESS + 0x10)
60 #define PRU_CAN_TX_MAILBOX1_STATUS_REGISTER (PRU_CAN_PRU1_BASE_ADDRESS + 0x14)
61 #define PRU_CAN_TX_MAILBOX2_STATUS_REGISTER (PRU_CAN_PRU1_BASE_ADDRESS + 0x18)
62 #define PRU_CAN_TX_MAILBOX3_STATUS_REGISTER (PRU_CAN_PRU1_BASE_ADDRESS + 0x1C)
63 #define PRU_CAN_TX_MAILBOX4_STATUS_REGISTER (PRU_CAN_PRU1_BASE_ADDRESS + 0x20)
64 #define PRU_CAN_TX_MAILBOX5_STATUS_REGISTER (PRU_CAN_PRU1_BASE_ADDRESS + 0x24)
65 #define PRU_CAN_TX_MAILBOX6_STATUS_REGISTER (PRU_CAN_PRU1_BASE_ADDRESS + 0x28)
66 #define PRU_CAN_TX_MAILBOX7_STATUS_REGISTER (PRU_CAN_PRU1_BASE_ADDRESS + 0x2C)
67 #define PRU_CAN_TX_ERROR_COUNTER_REGISTER (PRU_CAN_PRU1_BASE_ADDRESS + 0x30)
68 #define PRU_CAN_TX_TIMING_REGISTER (PRU_CAN_PRU1_BASE_ADDRESS + 0x34)
69 #define PRU_CAN_TX_CLOCK_BRP_REGISTER (PRU_CAN_PRU1_BASE_ADDRESS + 0x38)
70 
71 #define PRU_CAN_TX_MAILBOX0 (PRU_CAN_PRU1_BASE_ADDRESS + 0x40)
72 #define PRU_CAN_TX_MAILBOX1 (PRU_CAN_PRU1_BASE_ADDRESS + 0x50)
73 #define PRU_CAN_TX_MAILBOX2 (PRU_CAN_PRU1_BASE_ADDRESS + 0x60)
74 #define PRU_CAN_TX_MAILBOX3 (PRU_CAN_PRU1_BASE_ADDRESS + 0x70)
75 #define PRU_CAN_TX_MAILBOX4 (PRU_CAN_PRU1_BASE_ADDRESS + 0x80)
76 #define PRU_CAN_TX_MAILBOX5 (PRU_CAN_PRU1_BASE_ADDRESS + 0x90)
77 #define PRU_CAN_TX_MAILBOX6 (PRU_CAN_PRU1_BASE_ADDRESS + 0xA0)
78 #define PRU_CAN_TX_MAILBOX7 (PRU_CAN_PRU1_BASE_ADDRESS + 0xB0)
79 
80 #define PRU_CAN_TIMING_VAL_TX (PRU_CAN_PRU1_BASE_ADDRESS + 0xC0)
81 #define PRU_CAN_TIMING_VAL_TX_SJW (PRU_CAN_PRU1_BASE_ADDRESS + 0xC4)
82 #define PRU_CAN_TRANSMIT_FRAME (PRU_CAN_PRU1_BASE_ADDRESS + 0xE0)
83 
86 #define PRU_CAN_PRU0_BASE_ADDRESS 0
87 
88 #define PRU_CAN_RX_GLOBAL_CONTROL_REGISTER (PRU_CAN_PRU0_BASE_ADDRESS)
89 #define PRU_CAN_RX_GLOBAL_STATUS_REGISTER (PRU_CAN_PRU0_BASE_ADDRESS + 0x04)
90 #define PRU_CAN_RX_INTERRUPT_MASK_REGISTER (PRU_CAN_PRU0_BASE_ADDRESS + 0x08)
91 #define PRU_CAN_RX_INTERRUPT_STATUS_REGISTER (PRU_CAN_PRU0_BASE_ADDRESS + 0x0C)
92 #define PRU_CAN_RX_MAILBOX0_STATUS_REGISTER (PRU_CAN_PRU0_BASE_ADDRESS + 0x10)
93 #define PRU_CAN_RX_MAILBOX1_STATUS_REGISTER (PRU_CAN_PRU0_BASE_ADDRESS + 0x14)
94 #define PRU_CAN_RX_MAILBOX2_STATUS_REGISTER (PRU_CAN_PRU0_BASE_ADDRESS + 0x18)
95 #define PRU_CAN_RX_MAILBOX3_STATUS_REGISTER (PRU_CAN_PRU0_BASE_ADDRESS + 0x1C)
96 #define PRU_CAN_RX_MAILBOX4_STATUS_REGISTER (PRU_CAN_PRU0_BASE_ADDRESS + 0x20)
97 #define PRU_CAN_RX_MAILBOX5_STATUS_REGISTER (PRU_CAN_PRU0_BASE_ADDRESS + 0x24)
98 #define PRU_CAN_RX_MAILBOX6_STATUS_REGISTER (PRU_CAN_PRU0_BASE_ADDRESS + 0x28)
99 #define PRU_CAN_RX_MAILBOX7_STATUS_REGISTER (PRU_CAN_PRU0_BASE_ADDRESS + 0x2C)
100 #define PRU_CAN_RX_MAILBOX8_STATUS_REGISTER (PRU_CAN_PRU0_BASE_ADDRESS + 0x30)
101 #define PRU_CAN_RX_ERROR_COUNTER_REGISTER (PRU_CAN_PRU0_BASE_ADDRESS + 0x34)
102 #define PRU_CAN_RX_TIMING_REGISTER (PRU_CAN_PRU0_BASE_ADDRESS + 0x38)
103 #define PRU_CAN_RX_CLOCK_BRP_REGISTER (PRU_CAN_PRU0_BASE_ADDRESS + 0x3C)
104 
105 #define PRU_CAN_RX_MAILBOX0 (PRU_CAN_PRU0_BASE_ADDRESS + 0x40)
106 #define PRU_CAN_RX_MAILBOX1 (PRU_CAN_PRU0_BASE_ADDRESS + 0x50)
107 #define PRU_CAN_RX_MAILBOX2 (PRU_CAN_PRU0_BASE_ADDRESS + 0x60)
108 #define PRU_CAN_RX_MAILBOX3 (PRU_CAN_PRU0_BASE_ADDRESS + 0x70)
109 #define PRU_CAN_RX_MAILBOX4 (PRU_CAN_PRU0_BASE_ADDRESS + 0x80)
110 #define PRU_CAN_RX_MAILBOX5 (PRU_CAN_PRU0_BASE_ADDRESS + 0x90)
111 #define PRU_CAN_RX_MAILBOX6 (PRU_CAN_PRU0_BASE_ADDRESS + 0xA0)
112 #define PRU_CAN_RX_MAILBOX7 (PRU_CAN_PRU0_BASE_ADDRESS + 0xB0)
113 #define PRU_CAN_RX_MAILBOX8 (PRU_CAN_PRU0_BASE_ADDRESS + 0xC0)
114 
115 #define PRU_CAN_TIMING_VAL_RX (PRU_CAN_PRU0_BASE_ADDRESS + 0xD0)
116 #define PRU_CAN_RECEIVE_FRAME (PRU_CAN_PRU0_BASE_ADDRESS + 0xD4)
117 #define PRU_CAN_ID_MAP (PRU_CAN_PRU0_BASE_ADDRESS + 0xF0)
118 
119 #define PRU_CAN_ERROR_ACTIVE 128
120 
121 #define CAN_ACK_FAILED 0xE
122 #define CAN_ARBTR_FAIL 0xD
123 #define CAN_BIT_ERROR 0xC
124 #define CAN_TRANSMISSION_SUCCESS 0xA
125 
126 #define STD_DATA_FRAME 0x1
127 #define EXTD_DATA_FRAME 0x2
128 #define STD_REMOTE_FRAME 0x3
129 #define EXTD_REMOTE_FRAME 0x4
130 
131 #define PRU_CAN_MAX_SJW 8
132 #define PRU_CAN_MAX_PHSEG1 25
133 #define PRU_CAN_MAX_PHSEG2 25
134 
135 #define CSL_PRUCANCORE_0_REGS 0x7000
136 #define CSL_PRUCANCORE_1_REGS 0x7800
137 #define PRU0_PROG_RAM_START_OFFSET 0x8000
138 #define PRU1_PROG_RAM_START_OFFSET 0xC000
139 #define PRU_CAN_INIT_MAX_TIMEOUT 0xFF
140 
141 
142 /* NOTE1
143  * * This is the superset list for all modules present in this family
144  * * Please refer to individual device datasheet to see which modules
145  * * apply on the device being used
146  * * e.g. c6747 does not have ARM module, so PSC0 CSL_PSC_ARM does not
147  * * exist for c6747 */
148 
149 /* NOTE2
150  * * The actual number of MDCTL and MDSTAT register depend on number of
151  * * LPSC modules in a PSC. The number of MDCTL/MDSTAT registers defined
152  * * here would be a superset
153  * * e.g. PSC0 has 16 MDCTL/MDSTAT register, PSC1 has 32 MDCTL/MDSTAT
154  * * registers */
155 
156 /* NOTE3
157  * * Please refer to the device specific PSC user guide to see what
158  * * register bit fields apply to individual registers
159  * * e.g. For PSC0 MERRPR0 bits 14,15 exist but for PSC1 MERRPR0
160  * * these bits are RESERVED */
161 
162  typedef enum {
179 
180  typedef enum {
212 
213 /* the Field MaKe macro */
214 #define CSL_FMK(PER_REG_FIELD, val) \
215  (((val) << CSL_##PER_REG_FIELD##_SHIFT) & CSL_##PER_REG_FIELD##_MASK)
216 
217 /* the Field EXTract macro */
218 #define CSL_FEXT(reg, PER_REG_FIELD) \
219  (((reg) & CSL_##PER_REG_FIELD##_MASK) >> CSL_##PER_REG_FIELD##_SHIFT)
220 
221 /* the Field INSert macro */
222 #define CSL_FINS(reg, PER_REG_FIELD, val) \
223  ((reg) = ((reg) & ~CSL_##PER_REG_FIELD##_MASK) \
224  | CSL_FMK(PER_REG_FIELD, val))
225 
226 /* the "token" macros */
227 
228 /* the Field MaKe (Token) macro */
229 #define CSL_FMKT(PER_REG_FIELD, TOKEN) \
230  CSL_FMK(PER_REG_FIELD, CSL_##PER_REG_FIELD##_##TOKEN)
231 
232 /* the Field INSert (Token) macro */
233 #define CSL_FINST(reg, PER_REG_FIELD, TOKEN) \
234  CSL_FINS((reg), PER_REG_FIELD, CSL_##PER_REG_FIELD##_##TOKEN)
235 
236 /* the "raw" macros */
237 
238 /* the Field MaKe (Raw) macro */
239 #define CSL_FMKR(msb, lsb, val) \
240  (((val) & ((1 << ((msb) - (lsb) + 1)) - 1)) << (lsb))
241 
242 /* the Field EXTract (Raw) macro */
243 #define CSL_FEXTR(reg, msb, lsb) \
244  (((reg) >> (lsb)) & ((1 << ((msb) - (lsb) + 1)) - 1))
245 
246 /* the Field INSert (Raw) macro */
247 #define CSL_FINSR(reg, msb, lsb, val) \
248  ((reg) = ((reg) &~ (((1 << ((msb) - (lsb) + 1)) - 1) << (lsb))) \
249  | CSL_FMKR(msb, lsb, val))
250 
251  typedef enum {
252 
257 
258  typedef enum {
259 
269 
270  typedef enum {
271 
276 
277  typedef struct {
278 
290  u16 u16crc;
291 
293 
294  typedef struct {
295 
297 
299 
300  typedef struct {
301 
310 
312 
313  typedef struct {
314 
318 
320 
321  typedef struct {
322 
326 
328 
329  typedef struct {
330 
331  u32 *ptr_pru0;
332  u32 *ptr_pru1;
335 
337 
338 
339 /**************************************************************************\
340 * Field Definition Macros
341 \**************************************************************************/
342 
343 /* CONTROL */
344 
345 #define CSL_PRUCORE_CONTROL_PCRESETVAL_MASK (0xFFFF0000u)
346 #define CSL_PRUCORE_CONTROL_PCRESETVAL_SHIFT (0x00000010u)
347 #define CSL_PRUCORE_CONTROL_PCRESETVAL_RESETVAL (0x00000000u)
348 
349 #define CSL_PRUCORE_CONTROL_RUNSTATE_MASK (0x00008000u)
350 #define CSL_PRUCORE_CONTROL_RUNSTATE_SHIFT (0x0000000Fu)
351 #define CSL_PRUCORE_CONTROL_RUNSTATE_RESETVAL (0x00000000u)
352 /*----RUNSTATE Tokens----*/
353 #define CSL_PRUCORE_CONTROL_RUNSTATE_HALT (0x00000000u)
354 #define CSL_PRUCORE_CONTROL_RUNSTATE_RUN (0x00000001u)
355 
356 #define CSL_PRUCORE_CONTROL_SINGLESTEP_MASK (0x00000100u)
357 #define CSL_PRUCORE_CONTROL_SINGLESTEP_SHIFT (0x00000008u)
358 #define CSL_PRUCORE_CONTROL_SINGLESTEP_RESETVAL (0x00000000u)
359 /*----SINGLESTEP Tokens----*/
360 #define CSL_PRUCORE_CONTROL_SINGLESTEP_FREERUN (0x00000000u)
361 #define CSL_PRUCORE_CONTROL_SINGLESTEP_SINGLE (0x00000001u)
362 
363 #define CSL_PRUCORE_CONTROL_COUNTENABLE_MASK (0x00000008u)
364 #define CSL_PRUCORE_CONTROL_COUNTENABLE_SHIFT (0x00000003u)
365 #define CSL_PRUCORE_CONTROL_COUNTENABLE_RESETVAL (0x00000000u)
366 /*----COUNTENABLE Tokens----*/
367 #define CSL_PRUCORE_CONTROL_COUNTENABLE_DISABLE (0x00000000u)
368 #define CSL_PRUCORE_CONTROL_COUNTENABLE_ENABLE (0x00000001u)
369 
370 #define CSL_PRUCORE_CONTROL_SLEEPING_MASK (0x00000004u)
371 #define CSL_PRUCORE_CONTROL_SLEEPING_SHIFT (0x00000002u)
372 #define CSL_PRUCORE_CONTROL_SLEEPING_RESETVAL (0x00000000u)
373 /*----SLEEPING Tokens----*/
374 #define CSL_PRUCORE_CONTROL_SLEEPING_NOTASLEEP (0x00000000u)
375 #define CSL_PRUCORE_CONTROL_SLEEPING_ASLEEP (0x00000001u)
376 
377 #define CSL_PRUCORE_CONTROL_ENABLE_MASK (0x00000002u)
378 #define CSL_PRUCORE_CONTROL_ENABLE_SHIFT (0x00000001u)
379 #define CSL_PRUCORE_CONTROL_ENABLE_RESETVAL (0x00000000u)
380 /*----ENABLE Tokens----*/
381 #define CSL_PRUCORE_CONTROL_ENABLE_DISABLE (0x00000000u)
382 #define CSL_PRUCORE_CONTROL_ENABLE_ENABLE (0x00000001u)
383 
384 #define CSL_PRUCORE_CONTROL_SOFTRESET_MASK (0x00000001u)
385 #define CSL_PRUCORE_CONTROL_SOFTRESET_SHIFT (0x00000000u)
386 #define CSL_PRUCORE_CONTROL_SOFTRESET_RESETVAL (0x00000000u)
387 /*----SOFTRESET Tokens----*/
388 #define CSL_PRUCORE_CONTROL_SOFTRESET_RESET (0x00000000u)
389 #define CSL_PRUCORE_CONTROL_SOFTRESET_OUT_OF_RESET (0x00000001u)
390 
391 #define CSL_PRUCORE_CONTROL_RESETVAL (0x00000000u)
392 
393 /* STATUS */
394 
395 #define CSL_PRUCORE_STATUS_PCOUNTER_MASK (0x0000FFFFu)
396 #define CSL_PRUCORE_STATUS_PCOUNTER_SHIFT (0x00000000u)
397 #define CSL_PRUCORE_STATUS_PCOUNTER_RESETVAL (0x00000000u)
398 
399 #define CSL_PRUCORE_STATUS_RESETVAL (0x00000000u)
400 
401 /* WAKEUP */
402 
403 #define CSL_PRUCORE_WAKEUP_BITWISEENABLES_MASK (0xFFFFFFFFu)
404 #define CSL_PRUCORE_WAKEUP_BITWISEENABLES_SHIFT (0x00000000u)
405 #define CSL_PRUCORE_WAKEUP_BITWISEENABLES_RESETVAL (0x00000000u)
406 
407 #define CSL_PRUCORE_WAKEUP_RESETVAL (0x00000000u)
408 
409 /* CYCLECNT */
410 
411 #define CSL_PRUCORE_CYCLECNT_CYCLECOUNT_MASK (0xFFFFFFFFu)
412 #define CSL_PRUCORE_CYCLECNT_CYCLECOUNT_SHIFT (0x00000000u)
413 #define CSL_PRUCORE_CYCLECNT_CYCLECOUNT_RESETVAL (0x00000000u)
414 
415 #define CSL_PRUCORE_CYCLECNT_RESETVAL (0x00000000u)
416 
417 /* STALLCNT */
418 
419 #define CSL_PRUCORE_STALLCNT_STALLCOUNT_MASK (0xFFFFFFFFu)
420 #define CSL_PRUCORE_STALLCNT_STALLCOUNT_SHIFT (0x00000000u)
421 #define CSL_PRUCORE_STALLCNT_STALLCOUNT_RESETVAL (0x00000000u)
422 
423 #define CSL_PRUCORE_STALLCNT_RESETVAL (0x00000000u)
424 
425 /* CONTABBLKIDX0 */
426 
427 #define CSL_PRUCORE_CONTABBLKIDX0_C25_MASK (0x000F0000u)
428 #define CSL_PRUCORE_CONTABBLKIDX0_C25_SHIFT (0x00000010u)
429 #define CSL_PRUCORE_CONTABBLKIDX0_C25_RESETVAL (0x00000000u)
430 
431 #define CSL_PRUCORE_CONTABBLKIDX0_C24_MASK (0x0000000Fu)
432 #define CSL_PRUCORE_CONTABBLKIDX0_C24_SHIFT (0x00000000u)
433 #define CSL_PRUCORE_CONTABBLKIDX0_C24_RESETVAL (0x00000000u)
434 
435 #define CSL_PRUCORE_CONTABBLKIDX0_RESETVAL (0x00000000u)
436 
437 /* CONTABBLKIDX1 */
438 
439 #define CSL_PRUCORE_CONTABBLKIDX1_C27_MASK (0x000F0000u)
440 #define CSL_PRUCORE_CONTABBLKIDX1_C27_SHIFT (0x00000010u)
441 #define CSL_PRUCORE_CONTABBLKIDX1_C27_RESETVAL (0x00000000u)
442 
443 #define CSL_PRUCORE_CONTABBLKIDX1_C26_MASK (0x0000000Fu)
444 #define CSL_PRUCORE_CONTABBLKIDX1_C26_SHIFT (0x00000000u)
445 #define CSL_PRUCORE_CONTABBLKIDX1_C26_RESETVAL (0x00000000u)
446 
447 #define CSL_PRUCORE_CONTABBLKIDX1_RESETVAL (0x00000000u)
448 
449 /* CONTABPROPTR0 */
450 
451 #define CSL_PRUCORE_CONTABPROPTR0_C29_MASK (0xFFFF0000u)
452 #define CSL_PRUCORE_CONTABPROPTR0_C29_SHIFT (0x00000010u)
453 #define CSL_PRUCORE_CONTABPROPTR0_C29_RESETVAL (0x00000000u)
454 
455 #define CSL_PRUCORE_CONTABPROPTR0_C28_MASK (0x0000FFFFu)
456 #define CSL_PRUCORE_CONTABPROPTR0_C28_SHIFT (0x00000000u)
457 #define CSL_PRUCORE_CONTABPROPTR0_C28_RESETVAL (0x00000000u)
458 
459 #define CSL_PRUCORE_CONTABPROPTR0_RESETVAL (0x00000000u)
460 
461 /* CONTABPROPTR1 */
462 
463 #define CSL_PRUCORE_CONTABPROPTR1_C31_MASK (0xFFFF0000u)
464 #define CSL_PRUCORE_CONTABPROPTR1_C31_SHIFT (0x00000010u)
465 #define CSL_PRUCORE_CONTABPROPTR1_C31_RESETVAL (0x00000000u)
466 
467 #define CSL_PRUCORE_CONTABPROPTR1_C30_MASK (0x0000FFFFu)
468 #define CSL_PRUCORE_CONTABPROPTR1_C30_SHIFT (0x00000000u)
469 #define CSL_PRUCORE_CONTABPROPTR1_C30_RESETVAL (0x00000000u)
470 
471 #define CSL_PRUCORE_CONTABPROPTR1_RESETVAL (0x00000000u)
472 
473 /* INTGPR0 */
474 
475 #define CSL_PRUCORE_INTGPR0_REG_MASK (0xFFFFFFFFu)
476 #define CSL_PRUCORE_INTGPR0_REG_SHIFT (0x00000000u)
477 #define CSL_PRUCORE_INTGPR0_REG_RESETVAL (0x00000000u)
478 
479 #define CSL_PRUCORE_INTGPR0_RESETVAL (0x00000000u)
480 
481 /* INTGPR1 */
482 
483 #define CSL_PRUCORE_INTGPR1_REG_MASK (0xFFFFFFFFu)
484 #define CSL_PRUCORE_INTGPR1_REG_SHIFT (0x00000000u)
485 #define CSL_PRUCORE_INTGPR1_REG_RESETVAL (0x00000000u)
486 
487 #define CSL_PRUCORE_INTGPR1_RESETVAL (0x00000000u)
488 
489 /* INTGPR2 */
490 
491 #define CSL_PRUCORE_INTGPR2_REG_MASK (0xFFFFFFFFu)
492 #define CSL_PRUCORE_INTGPR2_REG_SHIFT (0x00000000u)
493 #define CSL_PRUCORE_INTGPR2_REG_RESETVAL (0x00000000u)
494 
495 #define CSL_PRUCORE_INTGPR2_RESETVAL (0x00000000u)
496 
497 /* INTGPR3 */
498 
499 #define CSL_PRUCORE_INTGPR3_REG_MASK (0xFFFFFFFFu)
500 #define CSL_PRUCORE_INTGPR3_REG_SHIFT (0x00000000u)
501 #define CSL_PRUCORE_INTGPR3_REG_RESETVAL (0x00000000u)
502 
503 #define CSL_PRUCORE_INTGPR3_RESETVAL (0x00000000u)
504 
505 /* INTGPR4 */
506 
507 #define CSL_PRUCORE_INTGPR4_REG_MASK (0xFFFFFFFFu)
508 #define CSL_PRUCORE_INTGPR4_REG_SHIFT (0x00000000u)
509 #define CSL_PRUCORE_INTGPR4_REG_RESETVAL (0x00000000u)
510 
511 #define CSL_PRUCORE_INTGPR4_RESETVAL (0x00000000u)
512 
513 /* INTGPR5 */
514 
515 #define CSL_PRUCORE_INTGPR5_REG_MASK (0xFFFFFFFFu)
516 #define CSL_PRUCORE_INTGPR5_REG_SHIFT (0x00000000u)
517 #define CSL_PRUCORE_INTGPR5_REG_RESETVAL (0x00000000u)
518 
519 #define CSL_PRUCORE_INTGPR5_RESETVAL (0x00000000u)
520 
521 /* INTGPR6 */
522 
523 #define CSL_PRUCORE_INTGPR6_REG_MASK (0xFFFFFFFFu)
524 #define CSL_PRUCORE_INTGPR6_REG_SHIFT (0x00000000u)
525 #define CSL_PRUCORE_INTGPR6_REG_RESETVAL (0x00000000u)
526 
527 #define CSL_PRUCORE_INTGPR6_RESETVAL (0x00000000u)
528 
529 /* INTGPR7 */
530 
531 #define CSL_PRUCORE_INTGPR7_REG_MASK (0xFFFFFFFFu)
532 #define CSL_PRUCORE_INTGPR7_REG_SHIFT (0x00000000u)
533 #define CSL_PRUCORE_INTGPR7_REG_RESETVAL (0x00000000u)
534 
535 #define CSL_PRUCORE_INTGPR7_RESETVAL (0x00000000u)
536 
537 /* INTGPR8 */
538 
539 #define CSL_PRUCORE_INTGPR8_REG_MASK (0xFFFFFFFFu)
540 #define CSL_PRUCORE_INTGPR8_REG_SHIFT (0x00000000u)
541 #define CSL_PRUCORE_INTGPR8_REG_RESETVAL (0x00000000u)
542 
543 #define CSL_PRUCORE_INTGPR8_RESETVAL (0x00000000u)
544 
545 /* INTGPR9 */
546 
547 #define CSL_PRUCORE_INTGPR9_REG_MASK (0xFFFFFFFFu)
548 #define CSL_PRUCORE_INTGPR9_REG_SHIFT (0x00000000u)
549 #define CSL_PRUCORE_INTGPR9_REG_RESETVAL (0x00000000u)
550 
551 #define CSL_PRUCORE_INTGPR9_RESETVAL (0x00000000u)
552 
553 /* INTGPR10 */
554 
555 #define CSL_PRUCORE_INTGPR10_REG_MASK (0xFFFFFFFFu)
556 #define CSL_PRUCORE_INTGPR10_REG_SHIFT (0x00000000u)
557 #define CSL_PRUCORE_INTGPR10_REG_RESETVAL (0x00000000u)
558 
559 #define CSL_PRUCORE_INTGPR10_RESETVAL (0x00000000u)
560 
561 /* INTGPR11 */
562 
563 #define CSL_PRUCORE_INTGPR11_REG_MASK (0xFFFFFFFFu)
564 #define CSL_PRUCORE_INTGPR11_REG_SHIFT (0x00000000u)
565 #define CSL_PRUCORE_INTGPR11_REG_RESETVAL (0x00000000u)
566 
567 #define CSL_PRUCORE_INTGPR11_RESETVAL (0x00000000u)
568 
569 /* INTGPR12 */
570 
571 #define CSL_PRUCORE_INTGPR12_REG_MASK (0xFFFFFFFFu)
572 #define CSL_PRUCORE_INTGPR12_REG_SHIFT (0x00000000u)
573 #define CSL_PRUCORE_INTGPR12_REG_RESETVAL (0x00000000u)
574 
575 #define CSL_PRUCORE_INTGPR12_RESETVAL (0x00000000u)
576 
577 /* INTGPR13 */
578 
579 #define CSL_PRUCORE_INTGPR13_REG_MASK (0xFFFFFFFFu)
580 #define CSL_PRUCORE_INTGPR13_REG_SHIFT (0x00000000u)
581 #define CSL_PRUCORE_INTGPR13_REG_RESETVAL (0x00000000u)
582 
583 #define CSL_PRUCORE_INTGPR13_RESETVAL (0x00000000u)
584 
585 /* INTGPR14 */
586 
587 #define CSL_PRUCORE_INTGPR14_REG_MASK (0xFFFFFFFFu)
588 #define CSL_PRUCORE_INTGPR14_REG_SHIFT (0x00000000u)
589 #define CSL_PRUCORE_INTGPR14_REG_RESETVAL (0x00000000u)
590 
591 #define CSL_PRUCORE_INTGPR14_RESETVAL (0x00000000u)
592 
593 /* INTGPR15 */
594 
595 #define CSL_PRUCORE_INTGPR15_REG_MASK (0xFFFFFFFFu)
596 #define CSL_PRUCORE_INTGPR15_REG_SHIFT (0x00000000u)
597 #define CSL_PRUCORE_INTGPR15_REG_RESETVAL (0x00000000u)
598 
599 #define CSL_PRUCORE_INTGPR15_RESETVAL (0x00000000u)
600 
601 /* INTGPR16 */
602 
603 #define CSL_PRUCORE_INTGPR16_REG_MASK (0xFFFFFFFFu)
604 #define CSL_PRUCORE_INTGPR16_REG_SHIFT (0x00000000u)
605 #define CSL_PRUCORE_INTGPR16_REG_RESETVAL (0x00000000u)
606 
607 #define CSL_PRUCORE_INTGPR16_RESETVAL (0x00000000u)
608 
609 /* INTGPR17 */
610 
611 #define CSL_PRUCORE_INTGPR17_REG_MASK (0xFFFFFFFFu)
612 #define CSL_PRUCORE_INTGPR17_REG_SHIFT (0x00000000u)
613 #define CSL_PRUCORE_INTGPR17_REG_RESETVAL (0x00000000u)
614 
615 #define CSL_PRUCORE_INTGPR17_RESETVAL (0x00000000u)
616 
617 /* INTGPR18 */
618 
619 #define CSL_PRUCORE_INTGPR18_REG_MASK (0xFFFFFFFFu)
620 #define CSL_PRUCORE_INTGPR18_REG_SHIFT (0x00000000u)
621 #define CSL_PRUCORE_INTGPR18_REG_RESETVAL (0x00000000u)
622 
623 #define CSL_PRUCORE_INTGPR18_RESETVAL (0x00000000u)
624 
625 /* INTGPR19 */
626 
627 #define CSL_PRUCORE_INTGPR19_REG_MASK (0xFFFFFFFFu)
628 #define CSL_PRUCORE_INTGPR19_REG_SHIFT (0x00000000u)
629 #define CSL_PRUCORE_INTGPR19_REG_RESETVAL (0x00000000u)
630 
631 #define CSL_PRUCORE_INTGPR19_RESETVAL (0x00000000u)
632 
633 /* INTGPR20 */
634 
635 #define CSL_PRUCORE_INTGPR20_REG_MASK (0xFFFFFFFFu)
636 #define CSL_PRUCORE_INTGPR20_REG_SHIFT (0x00000000u)
637 #define CSL_PRUCORE_INTGPR20_REG_RESETVAL (0x00000000u)
638 
639 #define CSL_PRUCORE_INTGPR20_RESETVAL (0x00000000u)
640 
641 /* INTGPR21 */
642 
643 #define CSL_PRUCORE_INTGPR21_REG_MASK (0xFFFFFFFFu)
644 #define CSL_PRUCORE_INTGPR21_REG_SHIFT (0x00000000u)
645 #define CSL_PRUCORE_INTGPR21_REG_RESETVAL (0x00000000u)
646 
647 #define CSL_PRUCORE_INTGPR21_RESETVAL (0x00000000u)
648 
649 /* INTGPR22 */
650 
651 #define CSL_PRUCORE_INTGPR22_REG_MASK (0xFFFFFFFFu)
652 #define CSL_PRUCORE_INTGPR22_REG_SHIFT (0x00000000u)
653 #define CSL_PRUCORE_INTGPR22_REG_RESETVAL (0x00000000u)
654 
655 #define CSL_PRUCORE_INTGPR22_RESETVAL (0x00000000u)
656 
657 /* INTGPR23 */
658 
659 #define CSL_PRUCORE_INTGPR23_REG_MASK (0xFFFFFFFFu)
660 #define CSL_PRUCORE_INTGPR23_REG_SHIFT (0x00000000u)
661 #define CSL_PRUCORE_INTGPR23_REG_RESETVAL (0x00000000u)
662 
663 #define CSL_PRUCORE_INTGPR23_RESETVAL (0x00000000u)
664 
665 /* INTGPR24 */
666 
667 #define CSL_PRUCORE_INTGPR24_REG_MASK (0xFFFFFFFFu)
668 #define CSL_PRUCORE_INTGPR24_REG_SHIFT (0x00000000u)
669 #define CSL_PRUCORE_INTGPR24_REG_RESETVAL (0x00000000u)
670 
671 #define CSL_PRUCORE_INTGPR24_RESETVAL (0x00000000u)
672 
673 /* INTGPR25 */
674 
675 #define CSL_PRUCORE_INTGPR25_REG_MASK (0xFFFFFFFFu)
676 #define CSL_PRUCORE_INTGPR25_REG_SHIFT (0x00000000u)
677 #define CSL_PRUCORE_INTGPR25_REG_RESETVAL (0x00000000u)
678 
679 #define CSL_PRUCORE_INTGPR25_RESETVAL (0x00000000u)
680 
681 /* INTGPR26 */
682 
683 #define CSL_PRUCORE_INTGPR26_REG_MASK (0xFFFFFFFFu)
684 #define CSL_PRUCORE_INTGPR26_REG_SHIFT (0x00000000u)
685 #define CSL_PRUCORE_INTGPR26_REG_RESETVAL (0x00000000u)
686 
687 #define CSL_PRUCORE_INTGPR26_RESETVAL (0x00000000u)
688 
689 /* INTGPR27 */
690 
691 #define CSL_PRUCORE_INTGPR27_REG_MASK (0xFFFFFFFFu)
692 #define CSL_PRUCORE_INTGPR27_REG_SHIFT (0x00000000u)
693 #define CSL_PRUCORE_INTGPR27_REG_RESETVAL (0x00000000u)
694 
695 #define CSL_PRUCORE_INTGPR27_RESETVAL (0x00000000u)
696 
697 /* INTGPR28 */
698 
699 #define CSL_PRUCORE_INTGPR28_REG_MASK (0xFFFFFFFFu)
700 #define CSL_PRUCORE_INTGPR28_REG_SHIFT (0x00000000u)
701 #define CSL_PRUCORE_INTGPR28_REG_RESETVAL (0x00000000u)
702 
703 #define CSL_PRUCORE_INTGPR28_RESETVAL (0x00000000u)
704 
705 /* INTGPR29 */
706 
707 #define CSL_PRUCORE_INTGPR29_REG_MASK (0xFFFFFFFFu)
708 #define CSL_PRUCORE_INTGPR29_REG_SHIFT (0x00000000u)
709 #define CSL_PRUCORE_INTGPR29_REG_RESETVAL (0x00000000u)
710 
711 #define CSL_PRUCORE_INTGPR29_RESETVAL (0x00000000u)
712 
713 /* INTGPR30 */
714 
715 #define CSL_PRUCORE_INTGPR30_REG_MASK (0xFFFFFFFFu)
716 #define CSL_PRUCORE_INTGPR30_REG_SHIFT (0x00000000u)
717 #define CSL_PRUCORE_INTGPR30_REG_RESETVAL (0x00000000u)
718 
719 #define CSL_PRUCORE_INTGPR30_RESETVAL (0x00000000u)
720 
721 /* INTGPR31 */
722 
723 #define CSL_PRUCORE_INTGPR31_REG_MASK (0xFFFFFFFFu)
724 #define CSL_PRUCORE_INTGPR31_REG_SHIFT (0x00000000u)
725 #define CSL_PRUCORE_INTGPR31_REG_RESETVAL (0x00000000u)
726 
727 #define CSL_PRUCORE_INTGPR31_RESETVAL (0x00000000u)
728 
729 /* INTCTER0 */
730 
731 #define CSL_PRUCORE_INTCTER0_ENTRY_MASK (0xFFFFFFFFu)
732 #define CSL_PRUCORE_INTCTER0_ENTRY_SHIFT (0x00000000u)
733 #define CSL_PRUCORE_INTCTER0_ENTRY_RESETVAL (0x00000000u)
734 
735 #define CSL_PRUCORE_INTCTER0_RESETVAL (0x00000000u)
736 
737 /* INTCTER1 */
738 
739 #define CSL_PRUCORE_INTCTER1_ENTRY_MASK (0xFFFFFFFFu)
740 #define CSL_PRUCORE_INTCTER1_ENTRY_SHIFT (0x00000000u)
741 #define CSL_PRUCORE_INTCTER1_ENTRY_RESETVAL (0x00000000u)
742 
743 #define CSL_PRUCORE_INTCTER1_RESETVAL (0x00000000u)
744 
745 /* INTCTER2 */
746 
747 #define CSL_PRUCORE_INTCTER2_ENTRY_MASK (0xFFFFFFFFu)
748 #define CSL_PRUCORE_INTCTER2_ENTRY_SHIFT (0x00000000u)
749 #define CSL_PRUCORE_INTCTER2_ENTRY_RESETVAL (0x00000000u)
750 
751 #define CSL_PRUCORE_INTCTER2_RESETVAL (0x00000000u)
752 
753 /* INTCTER3 */
754 
755 #define CSL_PRUCORE_INTCTER3_ENTRY_MASK (0xFFFFFFFFu)
756 #define CSL_PRUCORE_INTCTER3_ENTRY_SHIFT (0x00000000u)
757 #define CSL_PRUCORE_INTCTER3_ENTRY_RESETVAL (0x00000000u)
758 
759 #define CSL_PRUCORE_INTCTER3_RESETVAL (0x00000000u)
760 
761 /* INTCTER4 */
762 
763 #define CSL_PRUCORE_INTCTER4_ENTRY_MASK (0xFFFFFFFFu)
764 #define CSL_PRUCORE_INTCTER4_ENTRY_SHIFT (0x00000000u)
765 #define CSL_PRUCORE_INTCTER4_ENTRY_RESETVAL (0x00000000u)
766 
767 #define CSL_PRUCORE_INTCTER4_RESETVAL (0x00000000u)
768 
769 /* INTCTER5 */
770 
771 #define CSL_PRUCORE_INTCTER5_ENTRY_MASK (0xFFFFFFFFu)
772 #define CSL_PRUCORE_INTCTER5_ENTRY_SHIFT (0x00000000u)
773 #define CSL_PRUCORE_INTCTER5_ENTRY_RESETVAL (0x00000000u)
774 
775 #define CSL_PRUCORE_INTCTER5_RESETVAL (0x00000000u)
776 
777 /* INTCTER6 */
778 
779 #define CSL_PRUCORE_INTCTER6_ENTRY_MASK (0xFFFFFFFFu)
780 #define CSL_PRUCORE_INTCTER6_ENTRY_SHIFT (0x00000000u)
781 #define CSL_PRUCORE_INTCTER6_ENTRY_RESETVAL (0x00000000u)
782 
783 #define CSL_PRUCORE_INTCTER6_RESETVAL (0x00000000u)
784 
785 /* INTCTER7 */
786 
787 #define CSL_PRUCORE_INTCTER7_ENTRY_MASK (0xFFFFFFFFu)
788 #define CSL_PRUCORE_INTCTER7_ENTRY_SHIFT (0x00000000u)
789 #define CSL_PRUCORE_INTCTER7_ENTRY_RESETVAL (0x00000000u)
790 
791 #define CSL_PRUCORE_INTCTER7_RESETVAL (0x00000000u)
792 
793 /* INTCTER8 */
794 
795 #define CSL_PRUCORE_INTCTER8_ENTRY_MASK (0xFFFFFFFFu)
796 #define CSL_PRUCORE_INTCTER8_ENTRY_SHIFT (0x00000000u)
797 #define CSL_PRUCORE_INTCTER8_ENTRY_RESETVAL (0x00000000u)
798 
799 #define CSL_PRUCORE_INTCTER8_RESETVAL (0x00000000u)
800 
801 /* INTCTER9 */
802 
803 #define CSL_PRUCORE_INTCTER9_ENTRY_MASK (0xFFFFFFFFu)
804 #define CSL_PRUCORE_INTCTER9_ENTRY_SHIFT (0x00000000u)
805 #define CSL_PRUCORE_INTCTER9_ENTRY_RESETVAL (0x00000000u)
806 
807 #define CSL_PRUCORE_INTCTER9_RESETVAL (0x00000000u)
808 
809 /* INTCTER10 */
810 
811 #define CSL_PRUCORE_INTCTER10_ENTRY_MASK (0xFFFFFFFFu)
812 #define CSL_PRUCORE_INTCTER10_ENTRY_SHIFT (0x00000000u)
813 #define CSL_PRUCORE_INTCTER10_ENTRY_RESETVAL (0x00000000u)
814 
815 #define CSL_PRUCORE_INTCTER10_RESETVAL (0x00000000u)
816 
817 /* INTCTER11 */
818 
819 #define CSL_PRUCORE_INTCTER11_ENTRY_MASK (0xFFFFFFFFu)
820 #define CSL_PRUCORE_INTCTER11_ENTRY_SHIFT (0x00000000u)
821 #define CSL_PRUCORE_INTCTER11_ENTRY_RESETVAL (0x00000000u)
822 
823 #define CSL_PRUCORE_INTCTER11_RESETVAL (0x00000000u)
824 
825 /* INTCTER12 */
826 
827 #define CSL_PRUCORE_INTCTER12_ENTRY_MASK (0xFFFFFFFFu)
828 #define CSL_PRUCORE_INTCTER12_ENTRY_SHIFT (0x00000000u)
829 #define CSL_PRUCORE_INTCTER12_ENTRY_RESETVAL (0x00000000u)
830 
831 #define CSL_PRUCORE_INTCTER12_RESETVAL (0x00000000u)
832 
833 /* INTCTER13 */
834 
835 #define CSL_PRUCORE_INTCTER13_ENTRY_MASK (0xFFFFFFFFu)
836 #define CSL_PRUCORE_INTCTER13_ENTRY_SHIFT (0x00000000u)
837 #define CSL_PRUCORE_INTCTER13_ENTRY_RESETVAL (0x00000000u)
838 
839 #define CSL_PRUCORE_INTCTER13_RESETVAL (0x00000000u)
840 
841 /* INTCTER14 */
842 
843 #define CSL_PRUCORE_INTCTER14_ENTRY_MASK (0xFFFFFFFFu)
844 #define CSL_PRUCORE_INTCTER14_ENTRY_SHIFT (0x00000000u)
845 #define CSL_PRUCORE_INTCTER14_ENTRY_RESETVAL (0x00000000u)
846 
847 #define CSL_PRUCORE_INTCTER14_RESETVAL (0x00000000u)
848 
849 /* INTCTER15 */
850 
851 #define CSL_PRUCORE_INTCTER15_ENTRY_MASK (0xFFFFFFFFu)
852 #define CSL_PRUCORE_INTCTER15_ENTRY_SHIFT (0x00000000u)
853 #define CSL_PRUCORE_INTCTER15_ENTRY_RESETVAL (0x00000000u)
854 
855 #define CSL_PRUCORE_INTCTER15_RESETVAL (0x00000000u)
856 
857 /* INTCTER16 */
858 
859 #define CSL_PRUCORE_INTCTER16_ENTRY_MASK (0xFFFFFFFFu)
860 #define CSL_PRUCORE_INTCTER16_ENTRY_SHIFT (0x00000000u)
861 #define CSL_PRUCORE_INTCTER16_ENTRY_RESETVAL (0x00000000u)
862 
863 #define CSL_PRUCORE_INTCTER16_RESETVAL (0x00000000u)
864 
865 /* INTCTER17 */
866 
867 #define CSL_PRUCORE_INTCTER17_ENTRY_MASK (0xFFFFFFFFu)
868 #define CSL_PRUCORE_INTCTER17_ENTRY_SHIFT (0x00000000u)
869 #define CSL_PRUCORE_INTCTER17_ENTRY_RESETVAL (0x00000000u)
870 
871 #define CSL_PRUCORE_INTCTER17_RESETVAL (0x00000000u)
872 
873 /* INTCTER18 */
874 
875 #define CSL_PRUCORE_INTCTER18_ENTRY_MASK (0xFFFFFFFFu)
876 #define CSL_PRUCORE_INTCTER18_ENTRY_SHIFT (0x00000000u)
877 #define CSL_PRUCORE_INTCTER18_ENTRY_RESETVAL (0x00000000u)
878 
879 #define CSL_PRUCORE_INTCTER18_RESETVAL (0x00000000u)
880 
881 /* INTCTER19 */
882 
883 #define CSL_PRUCORE_INTCTER19_ENTRY_MASK (0xFFFFFFFFu)
884 #define CSL_PRUCORE_INTCTER19_ENTRY_SHIFT (0x00000000u)
885 #define CSL_PRUCORE_INTCTER19_ENTRY_RESETVAL (0x00000000u)
886 
887 #define CSL_PRUCORE_INTCTER19_RESETVAL (0x00000000u)
888 
889 /* INTCTER20 */
890 
891 #define CSL_PRUCORE_INTCTER20_ENTRY_MASK (0xFFFFFFFFu)
892 #define CSL_PRUCORE_INTCTER20_ENTRY_SHIFT (0x00000000u)
893 #define CSL_PRUCORE_INTCTER20_ENTRY_RESETVAL (0x00000000u)
894 
895 #define CSL_PRUCORE_INTCTER20_RESETVAL (0x00000000u)
896 
897 /* INTCTER21 */
898 
899 #define CSL_PRUCORE_INTCTER21_ENTRY_MASK (0xFFFFFFFFu)
900 #define CSL_PRUCORE_INTCTER21_ENTRY_SHIFT (0x00000000u)
901 #define CSL_PRUCORE_INTCTER21_ENTRY_RESETVAL (0x00000000u)
902 
903 #define CSL_PRUCORE_INTCTER21_RESETVAL (0x00000000u)
904 
905 /* INTCTER22 */
906 
907 #define CSL_PRUCORE_INTCTER22_ENTRY_MASK (0xFFFFFFFFu)
908 #define CSL_PRUCORE_INTCTER22_ENTRY_SHIFT (0x00000000u)
909 #define CSL_PRUCORE_INTCTER22_ENTRY_RESETVAL (0x00000000u)
910 
911 #define CSL_PRUCORE_INTCTER22_RESETVAL (0x00000000u)
912 
913 /* INTCTER23 */
914 
915 #define CSL_PRUCORE_INTCTER23_ENTRY_MASK (0xFFFFFFFFu)
916 #define CSL_PRUCORE_INTCTER23_ENTRY_SHIFT (0x00000000u)
917 #define CSL_PRUCORE_INTCTER23_ENTRY_RESETVAL (0x00000000u)
918 
919 #define CSL_PRUCORE_INTCTER23_RESETVAL (0x00000000u)
920 
921 /* INTCTER24 */
922 
923 #define CSL_PRUCORE_INTCTER24_ENTRY_MASK (0xFFFFFFFFu)
924 #define CSL_PRUCORE_INTCTER24_ENTRY_SHIFT (0x00000000u)
925 #define CSL_PRUCORE_INTCTER24_ENTRY_RESETVAL (0x00000000u)
926 
927 #define CSL_PRUCORE_INTCTER24_RESETVAL (0x00000000u)
928 
929 /* INTCTER25 */
930 
931 #define CSL_PRUCORE_INTCTER25_ENTRY_MASK (0xFFFFFFFFu)
932 #define CSL_PRUCORE_INTCTER25_ENTRY_SHIFT (0x00000000u)
933 #define CSL_PRUCORE_INTCTER25_ENTRY_RESETVAL (0x00000000u)
934 
935 #define CSL_PRUCORE_INTCTER25_RESETVAL (0x00000000u)
936 
937 /* INTCTER26 */
938 
939 #define CSL_PRUCORE_INTCTER26_ENTRY_MASK (0xFFFFFFFFu)
940 #define CSL_PRUCORE_INTCTER26_ENTRY_SHIFT (0x00000000u)
941 #define CSL_PRUCORE_INTCTER26_ENTRY_RESETVAL (0x00000000u)
942 
943 #define CSL_PRUCORE_INTCTER26_RESETVAL (0x00000000u)
944 
945 /* INTCTER27 */
946 
947 #define CSL_PRUCORE_INTCTER27_ENTRY_MASK (0xFFFFFFFFu)
948 #define CSL_PRUCORE_INTCTER27_ENTRY_SHIFT (0x00000000u)
949 #define CSL_PRUCORE_INTCTER27_ENTRY_RESETVAL (0x00000000u)
950 
951 #define CSL_PRUCORE_INTCTER27_RESETVAL (0x00000000u)
952 
953 /* INTCTER28 */
954 
955 #define CSL_PRUCORE_INTCTER28_ENTRY_MASK (0xFFFFFFFFu)
956 #define CSL_PRUCORE_INTCTER28_ENTRY_SHIFT (0x00000000u)
957 #define CSL_PRUCORE_INTCTER28_ENTRY_RESETVAL (0x00000000u)
958 
959 #define CSL_PRUCORE_INTCTER28_RESETVAL (0x00000000u)
960 
961 /* INTCTER29 */
962 
963 #define CSL_PRUCORE_INTCTER29_ENTRY_MASK (0xFFFFFFFFu)
964 #define CSL_PRUCORE_INTCTER29_ENTRY_SHIFT (0x00000000u)
965 #define CSL_PRUCORE_INTCTER29_ENTRY_RESETVAL (0x00000000u)
966 
967 #define CSL_PRUCORE_INTCTER29_RESETVAL (0x00000000u)
968 
969 /* INTCTER30 */
970 
971 #define CSL_PRUCORE_INTCTER30_ENTRY_MASK (0xFFFFFFFFu)
972 #define CSL_PRUCORE_INTCTER30_ENTRY_SHIFT (0x00000000u)
973 #define CSL_PRUCORE_INTCTER30_ENTRY_RESETVAL (0x00000000u)
974 
975 #define CSL_PRUCORE_INTCTER30_RESETVAL (0x00000000u)
976 
977 /* INTCTER31 */
978 
979 #define CSL_PRUCORE_INTCTER31_ENTRY_MASK (0xFFFFFFFFu)
980 #define CSL_PRUCORE_INTCTER31_ENTRY_SHIFT (0x00000000u)
981 #define CSL_PRUCORE_INTCTER31_ENTRY_RESETVAL (0x00000000u)
982 
983 #define CSL_PRUCORE_INTCTER31_RESETVAL (0x00000000u)
984 
985 /**************************************** PSC ************************************************/
986 /*******************************************************************************************/
987 
988 /**************************************************************************\
989 * Register Overlay Structure
990 \**************************************************************************/
991  typedef struct {
992  volatile u32 REVID;
993  volatile u8 RSVD0[20];
994  volatile u32 INTEVAL;
995  volatile u8 RSVD1[36];
996  volatile u32 MERRPR0;
997  volatile u8 RSVD2[12];
998  volatile u32 MERRCR0;
999  volatile u8 RSVD3[12];
1000  volatile u32 PERRPR;
1001  volatile u8 RSVD4[4];
1002  volatile u32 PERRCR;
1003  volatile u8 RSVD5[180];
1004  volatile u32 PTCMD;
1005  volatile u8 RSVD6[4];
1006  volatile u32 PTSTAT;
1007  volatile u8 RSVD7[212];
1008  volatile u32 PDSTAT0;
1009  volatile u32 PDSTAT1;
1010  volatile u8 RSVD8[248];
1011  volatile u32 PDCTL0;
1012  volatile u32 PDCTL1;
1013  volatile u8 RSVD9[248];
1014  volatile u32 PDCFG0;
1015  volatile u32 PDCFG1;
1016  volatile u8 RSVD10[1016];
1017  volatile u32 MDSTAT[32];
1018  volatile u8 RSVD11[384];
1019  volatile u32 MDCTL[32];
1020  } CSL_PscRegs;
1021 
1022 /**************************************************************************\
1023 * Overlay structure typedef definition
1024 \**************************************************************************/
1025  typedef volatile CSL_PscRegs *CSL_PscRegsOvly;
1026 
1027 /**************************************************************************\
1028 * Field Definition Macros
1029 \**************************************************************************/
1030 
1031 /* REVID */
1032 
1033 #define CSL_PSC_REVID_REV_MASK (0xFFFFFFFFu)
1034 #define CSL_PSC_REVID_REV_SHIFT (0x00000000u)
1035 #define CSL_PSC_REVID_REV_RESETVAL (0x44823A00u)
1036 
1037 #define CSL_PSC_REVID_RESETVAL (0x44823A00u)
1038 
1039 /* INTEVAL */
1040 
1041 #define CSL_PSC_INTEVAL_ALLEV_MASK (0x00000001u)
1042 #define CSL_PSC_INTEVAL_ALLEV_SHIFT (0x00000000u)
1043 #define CSL_PSC_INTEVAL_ALLEV_RESETVAL (0x00000000u)
1044 /*----ALLEV Tokens----*/
1045 #define CSL_PSC_INTEVAL_ALLEV_NO_EFFECT (0x00000000u)
1046 #define CSL_PSC_INTEVAL_ALLEV_RE_EVALUATE (0x00000001u)
1047 
1048 #define CSL_PSC_INTEVAL_RESETVAL (0x00000000u)
1049 
1050 /* MERRPR0 */
1051 
1052 #define CSL_PSC_MERRPR0_M15_MASK (0x0000C000u)
1053 #define CSL_PSC_MERRPR0_M15_SHIFT (0x0000000Eu)
1054 #define CSL_PSC_MERRPR0_M15_RESETVAL (0x00000000u)
1055 /*----M15 Tokens----*/
1056 #define CSL_PSC_MERRPR0_M15_NO_ERR (0x00000000u)
1057 #define CSL_PSC_MERRPR0_M15_ERROR (0x00000001u)
1058 
1059 #define CSL_PSC_MERRPR0_M14_MASK (0x00006000u)
1060 #define CSL_PSC_MERRPR0_M14_SHIFT (0x0000000Du)
1061 #define CSL_PSC_MERRPR0_M14_RESETVAL (0x00000000u)
1062 /*----M14 Tokens----*/
1063 #define CSL_PSC_MERRPR0_M14_NO_ERR (0x00000000u)
1064 #define CSL_PSC_MERRPR0_M14_ERROR (0x00000001u)
1065 
1066 #define CSL_PSC_MERRPR0_RESETVAL (0x00000000u)
1067 
1068 /* MERRCR0 */
1069 
1070 #define CSL_PSC_MERRCR0_M15_MASK (0x0000C000u)
1071 #define CSL_PSC_MERRCR0_M15_SHIFT (0x0000000Eu)
1072 #define CSL_PSC_MERRCR0_M15_RESETVAL (0x00000000u)
1073 /*----M15 Tokens----*/
1074 #define CSL_PSC_MERRCR0_M15_NO_EFFECT (0x00000000u)
1075 #define CSL_PSC_MERRCR0_M15_CLR_ERR (0x00000001u)
1076 
1077 #define CSL_PSC_MERRCR0_M14_MASK (0x00006000u)
1078 #define CSL_PSC_MERRCR0_M14_SHIFT (0x0000000Du)
1079 #define CSL_PSC_MERRCR0_M14_RESETVAL (0x00000000u)
1080 /*----M14 Tokens----*/
1081 #define CSL_PSC_MERRCR0_M14_NO_EFFECT (0x00000000u)
1082 #define CSL_PSC_MERRCR0_M14_CLR_ERR (0x00000001u)
1083 
1084 #define CSL_PSC_MERRCR0_RESETVAL (0x00000000u)
1085 
1086 /* PERRPR */
1087 
1088 #define CSL_PSC_PERRPR_P1_MASK (0x00000002u)
1089 #define CSL_PSC_PERRPR_P1_SHIFT (0x00000001u)
1090 #define CSL_PSC_PERRPR_P1_RESETVAL (0x00000000u)
1091 /*----P1 Tokens----*/
1092 #define CSL_PSC_PERRPR_P1_NO_ERR (0x00000000u)
1093 #define CSL_PSC_PERRPR_P1_ERROR (0x00000001u)
1094 
1095 #define CSL_PSC_PERRPR_P0_MASK (0x00000001u)
1096 #define CSL_PSC_PERRPR_P0_SHIFT (0x00000000u)
1097 #define CSL_PSC_PERRPR_P0_RESETVAL (0x00000000u)
1098 /*----P0 Tokens----*/
1099 #define CSL_PSC_PERRPR_P0_NO_ERR (0x00000000u)
1100 #define CSL_PSC_PERRPR_P0_ERROR (0x00000001u)
1101 
1102 #define CSL_PSC_PERRPR_RESETVAL (0x00000000u)
1103 
1104 /* PERRCR */
1105 
1106 #define CSL_PSC_PERRCR_P1_MASK (0x00000002u)
1107 #define CSL_PSC_PERRCR_P1_SHIFT (0x00000001u)
1108 #define CSL_PSC_PERRCR_P1_RESETVAL (0x00000000u)
1109 /*----P1 Tokens----*/
1110 #define CSL_PSC_PERRCR_P1_NO_EFFECT (0x00000000u)
1111 #define CSL_PSC_PERRCR_P1_CLR_ERR (0x00000001u)
1112 
1113 #define CSL_PSC_PERRCR_P0_MASK (0x00000001u)
1114 #define CSL_PSC_PERRCR_P0_SHIFT (0x00000000u)
1115 #define CSL_PSC_PERRCR_P0_RESETVAL (0x00000000u)
1116 /*----P0 Tokens----*/
1117 #define CSL_PSC_PERRCR_P0_NO_EFFECT (0x00000000u)
1118 #define CSL_PSC_PERRCR_P0_CLR_ERR (0x00000001u)
1119 
1120 #define CSL_PSC_PERRCR_RESETVAL (0x00000000u)
1121 
1122 /* PTCMD */
1123 
1124 #define CSL_PSC_PTCMD_GO1_MASK (0x00000002u)
1125 #define CSL_PSC_PTCMD_GO1_SHIFT (0x00000001u)
1126 #define CSL_PSC_PTCMD_GO1_RESETVAL (0x00000000u)
1127 /*----GO1 Tokens----*/
1128 #define CSL_PSC_PTCMD_GO1_NO_EFFECT (0x00000000u)
1129 #define CSL_PSC_PTCMD_GO1_SET (0x00000001u)
1130 
1131 #define CSL_PSC_PTCMD_GO0_MASK (0x00000001u)
1132 #define CSL_PSC_PTCMD_GO0_SHIFT (0x00000000u)
1133 #define CSL_PSC_PTCMD_GO0_RESETVAL (0x00000000u)
1134 /*----GO0 Tokens----*/
1135 #define CSL_PSC_PTCMD_GO0_NO_EFFECT (0x00000000u)
1136 #define CSL_PSC_PTCMD_GO0_SET (0x00000001u)
1137 
1138 #define CSL_PSC_PTCMD_RESETVAL (0x00000000u)
1139 
1140 /* PTSTAT */
1141 
1142 #define CSL_PSC_PTSTAT_GOSTAT1_MASK (0x00000002u)
1143 #define CSL_PSC_PTSTAT_GOSTAT1_SHIFT (0x00000001u)
1144 #define CSL_PSC_PTSTAT_GOSTAT1_RESETVAL (0x00000000u)
1145 /*----GOSTAT1 Tokens----*/
1146 #define CSL_PSC_PTSTAT_GOSTAT1_NO_TRANSITION (0x00000000u)
1147 #define CSL_PSC_PTSTAT_GOSTAT1_IN_TRANSITION (0x00000001u)
1148 
1149 #define CSL_PSC_PTSTAT_GOSTAT0_MASK (0x00000001u)
1150 #define CSL_PSC_PTSTAT_GOSTAT0_SHIFT (0x00000000u)
1151 #define CSL_PSC_PTSTAT_GOSTAT0_RESETVAL (0x00000000u)
1152 /*----GOSTAT0 Tokens----*/
1153 #define CSL_PSC_PTSTAT_GOSTAT0_NO_TRANSITION (0x00000000u)
1154 #define CSL_PSC_PTSTAT_GOSTAT0_IN_TRANSITION (0x00000001u)
1155 
1156 #define CSL_PSC_PTSTAT_RESETVAL (0x00000000u)
1157 
1158 /* PDSTAT0 */
1159 
1160 #define CSL_PSC_PDSTAT0_EMUIHB_MASK (0x00000800u)
1161 #define CSL_PSC_PDSTAT0_EMUIHB_SHIFT (0x0000000Bu)
1162 #define CSL_PSC_PDSTAT0_EMUIHB_RESETVAL (0x00000000u)
1163 /*----EMUIHB Tokens----*/
1164 #define CSL_PSC_PDSTAT0_EMUIHB_INHIBIT_OFF (0x00000000u)
1165 #define CSL_PSC_PDSTAT0_EMUIHB_INHIBIT_ON (0x00000001u)
1166 
1167 #define CSL_PSC_PDSTAT0_STATE_MASK (0x0000001Fu)
1168 #define CSL_PSC_PDSTAT0_STATE_SHIFT (0x00000000u)
1169 #define CSL_PSC_PDSTAT0_STATE_RESETVAL (0x00000000u)
1170 /*----STATE Tokens----*/
1171 #define CSL_PSC_PDSTAT0_STATE_OFF (0x00000000u)
1172 #define CSL_PSC_PDSTAT0_STATE_ON (0x00000001u)
1173 
1174 #define CSL_PSC_PDSTAT0_RESETVAL (0x00000000u)
1175 
1176 /* PDSTAT1 */
1177 
1178 #define CSL_PSC_PDSTAT1_EMUIHB_MASK (0x00000800u)
1179 #define CSL_PSC_PDSTAT1_EMUIHB_SHIFT (0x0000000Bu)
1180 #define CSL_PSC_PDSTAT1_EMUIHB_RESETVAL (0x00000000u)
1181 /*----EMUIHB Tokens----*/
1182 #define CSL_PSC_PDSTAT1_EMUIHB_INHIBIT_OFF (0x00000000u)
1183 #define CSL_PSC_PDSTAT1_EMUIHB_INHIBIT_ON (0x00000001u)
1184 
1185 #define CSL_PSC_PDSTAT1_STATE_MASK (0x0000001Fu)
1186 #define CSL_PSC_PDSTAT1_STATE_SHIFT (0x00000000u)
1187 #define CSL_PSC_PDSTAT1_STATE_RESETVAL (0x00000000u)
1188 /*----STATE Tokens----*/
1189 #define CSL_PSC_PDSTAT1_STATE_OFF (0x00000000u)
1190 #define CSL_PSC_PDSTAT1_STATE_ON (0x00000001u)
1191 
1192 #define CSL_PSC_PDSTAT1_RESETVAL (0x00000000u)
1193 
1194 /* PDCTL0 */
1195 
1196 #define CSL_PSC_PDCTL0_WAKECNT_MASK (0x00FF0000u)
1197 #define CSL_PSC_PDCTL0_WAKECNT_SHIFT (0x00000010u)
1198 #define CSL_PSC_PDCTL0_WAKECNT_RESETVAL (0x0000001Fu)
1199 
1200 #define CSL_PSC_PDCTL0_PDMODE_MASK (0x0000F000u)
1201 #define CSL_PSC_PDCTL0_PDMODE_SHIFT (0x0000000Cu)
1202 #define CSL_PSC_PDCTL0_PDMODE_RESETVAL (0x0000000Fu)
1203 
1204 #define CSL_PSC_PDCTL0_EMUIHBIE_MASK (0x00000200u)
1205 #define CSL_PSC_PDCTL0_EMUIHBIE_SHIFT (0x00000009u)
1206 #define CSL_PSC_PDCTL0_EMUIHBIE_RESETVAL (0x00000000u)
1207 /*----EMUIHBIE Tokens----*/
1208 #define CSL_PSC_PDCTL0_EMUIHBIE_DISABLE (0x00000000u)
1209 #define CSL_PSC_PDCTL0_EMUIHBIE_ENABLE (0x00000001u)
1210 
1211 #define CSL_PSC_PDCTL0_NEXT_MASK (0x00000001u)
1212 #define CSL_PSC_PDCTL0_NEXT_SHIFT (0x00000000u)
1213 #define CSL_PSC_PDCTL0_NEXT_RESETVAL (0x00000001u)
1214 /*----NEXT Tokens----*/
1215 #define CSL_PSC_PDCTL0_NEXT_OFF (0x00000000u)
1216 #define CSL_PSC_PDCTL0_NEXT_ON (0x00000001u)
1217 
1218 #define CSL_PSC_PDCTL0_RESETVAL (0x001FF101u)
1219 
1220 /* PDCTL1 */
1221 
1222 #define CSL_PSC_PDCTL1_WAKECNT_MASK (0x00FF0000u)
1223 #define CSL_PSC_PDCTL1_WAKECNT_SHIFT (0x00000010u)
1224 #define CSL_PSC_PDCTL1_WAKECNT_RESETVAL (0x0000001Fu)
1225 
1226 #define CSL_PSC_PDCTL1_PDMODE_MASK (0x0000F000u)
1227 #define CSL_PSC_PDCTL1_PDMODE_SHIFT (0x0000000Cu)
1228 #define CSL_PSC_PDCTL1_PDMODE_RESETVAL (0x0000000Fu)
1229 /*----PDMODE Tokens----*/
1230 #define CSL_PSC_PDCTL1_PDMODE_OFF (0x00000000u)
1231 #define CSL_PSC_PDCTL1_PDMODE_RAM_OFF (0x00000008u)
1232 #define CSL_PSC_PDCTL1_PDMODE_DEEP_SLEEP (0x00000009u)
1233 #define CSL_PSC_PDCTL1_PDMODE_LIGHT_SLEEP (0x0000000Au)
1234 #define CSL_PSC_PDCTL1_PDMODE_RETENTION (0x0000000Bu)
1235 #define CSL_PSC_PDCTL1_PDMODE_ON (0x0000000Fu)
1236 
1237 #define CSL_PSC_PDCTL1_EMUIHBIE_MASK (0x00000200u)
1238 #define CSL_PSC_PDCTL1_EMUIHBIE_SHIFT (0x00000009u)
1239 #define CSL_PSC_PDCTL1_EMUIHBIE_RESETVAL (0x00000000u)
1240 /*----EMUIHBIE Tokens----*/
1241 #define CSL_PSC_PDCTL1_EMUIHBIE_DISABLE (0x00000000u)
1242 #define CSL_PSC_PDCTL1_EMUIHBIE_ENABLE (0x00000001u)
1243 
1244 #define CSL_PSC_PDCTL1_NEXT_MASK (0x00000001u)
1245 #define CSL_PSC_PDCTL1_NEXT_SHIFT (0x00000000u)
1246 #define CSL_PSC_PDCTL1_NEXT_RESETVAL (0x00000001u)
1247 /*----NEXT Tokens----*/
1248 #define CSL_PSC_PDCTL1_NEXT_OFF (0x00000000u)
1249 #define CSL_PSC_PDCTL1_NEXT_ON (0x00000001u)
1250 
1251 #define CSL_PSC_PDCTL1_RESETVAL (0x001FF101u)
1252 
1253 /* PDCFG0 */
1254 
1255 #define CSL_PSC_PDCFG0_PDLOCK_MASK (0x00000008u)
1256 #define CSL_PSC_PDCFG0_PDLOCK_SHIFT (0x00000003u)
1257 #define CSL_PSC_PDCFG0_PDLOCK_RESETVAL (0x00000001u)
1258 /*----PD LOCK Tokens----*/
1259 #define CSL_PSC_PDCFG0_PDLOCK_YES (0x00000000u)
1260 #define CSL_PSC_PDCFG0_PDLOCK_NO (0x00000001u)
1261 
1262 #define CSL_PSC_PDCFG0_ICEPICK_MASK (0x00000004u)
1263 #define CSL_PSC_PDCFG0_ICEPICK_SHIFT (0x00000002u)
1264 #define CSL_PSC_PDCFG0_ICEPICK_RESETVAL (0x00000001u)
1265 /*----ICEPICK Tokens----*/
1266 #define CSL_PSC_PDCFG0_ICEPICK_ABSENT (0x00000000u)
1267 #define CSL_PSC_PDCFG0_ICEPICK_PRESENT (0x00000001u)
1268 
1269 #define CSL_PSC_PDCFG0_RAM_PSM_MASK (0x00000002u)
1270 #define CSL_PSC_PDCFG0_RAM_PSM_SHIFT (0x00000001u)
1271 #define CSL_PSC_PDCFG0_RAM_PSM_RESETVAL (0x00000000u)
1272 /*----RAM_PSM Tokens----*/
1273 #define CSL_PSC_PDCFG0_RAM_PSM_NO (0x00000000u)
1274 #define CSL_PSC_PDCFG0_RAM_PSM_YES (0x00000001u)
1275 
1276 #define CSL_PSC_PDCFG0_ALWAYSON_MASK (0x00000001u)
1277 #define CSL_PSC_PDCFG0_ALWAYSON_SHIFT (0x00000000u)
1278 #define CSL_PSC_PDCFG0_ALWAYSON_RESETVAL (0x00000001u)
1279 /*----ALWAYSON Tokens----*/
1280 #define CSL_PSC_PDCFG0_ALWAYSON_NO (0x00000000u)
1281 #define CSL_PSC_PDCFG0_ALWAYSON_YES (0x00000001u)
1282 
1283 #define CSL_PSC_PDCFG0_RESETVAL (0x0000000Du)
1284 
1285 /* PDCFG1 */
1286 
1287 #define CSL_PSC_PDCFG1_PDLOCK_MASK (0x00000008u)
1288 #define CSL_PSC_PDCFG1_PDLOCK_SHIFT (0x00000003u)
1289 #define CSL_PSC_PDCFG1_PDLOCK_RESETVAL (0x00000001u)
1290 /*----PD LOCK Tokens----*/
1291 #define CSL_PSC_PDCFG1_PDLOCK_YES (0x00000000u)
1292 #define CSL_PSC_PDCFG1_PDLOCK_NO (0x00000001u)
1293 
1294 #define CSL_PSC_PDCFG1_ICEPICK_MASK (0x00000004u)
1295 #define CSL_PSC_PDCFG1_ICEPICK_SHIFT (0x00000002u)
1296 #define CSL_PSC_PDCFG1_ICEPICK_RESETVAL (0x00000001u)
1297 /*----ICEPICK Tokens----*/
1298 #define CSL_PSC_PDCFG1_ICEPICK_ABSENT (0x00000000u)
1299 #define CSL_PSC_PDCFG1_ICEPICK_PRESENT (0x00000001u)
1300 
1301 #define CSL_PSC_PDCFG1_RAM_PSM_MASK (0x00000002u)
1302 #define CSL_PSC_PDCFG1_RAM_PSM_SHIFT (0x00000001u)
1303 #define CSL_PSC_PDCFG1_RAM_PSM_RESETVAL (0x00000001u)
1304 /*----RAM_PSM Tokens----*/
1305 #define CSL_PSC_PDCFG1_RAM_PSM_NO (0x00000000u)
1306 #define CSL_PSC_PDCFG1_RAM_PSM_YES (0x00000001u)
1307 
1308 #define CSL_PSC_PDCFG1_ALWAYSON_MASK (0x00000001u)
1309 #define CSL_PSC_PDCFG1_ALWAYSON_SHIFT (0x00000000u)
1310 #define CSL_PSC_PDCFG1_ALWAYSON_RESETVAL (0x00000000u)
1311 /*----ALWAYSON Tokens----*/
1312 #define CSL_PSC_PDCFG1_ALWAYSON_NO (0x00000000u)
1313 #define CSL_PSC_PDCFG1_ALWAYSON_YES (0x00000001u)
1314 
1315 #define CSL_PSC_PDCFG1_RESETVAL (0x0000000Eu)
1316 
1317 /* MDSTAT */
1318 
1319 #define CSL_PSC_MDSTAT_EMUIHB_MASK (0x00020000u)
1320 #define CSL_PSC_MDSTAT_EMUIHB_SHIFT (0x00000011u)
1321 #define CSL_PSC_MDSTAT_EMUIHB_RESETVAL (0x00000000u)
1322 /*----EMUIHB Tokens----*/
1323 #define CSL_PSC_MDSTAT_EMUIHB_DISABLE (0x00000000u)
1324 #define CSL_PSC_MDSTAT_EMUIHB_ENABLE (0x00000001u)
1325 
1326 #define CSL_PSC_MDSTAT_EMURST_MASK (0x00010000u)
1327 #define CSL_PSC_MDSTAT_EMURST_SHIFT (0x00000010u)
1328 #define CSL_PSC_MDSTAT_EMURST_RESETVAL (0x00000000u)
1329 /*----EMURST Tokens----*/
1330 #define CSL_PSC_MDSTAT_EMURST_DISABLE (0x00000000u)
1331 #define CSL_PSC_MDSTAT_EMURST_ENABLE (0x00000001u)
1332 
1333 #define CSL_PSC_MDSTAT_MCKOUT_MASK (0x00001000u)
1334 #define CSL_PSC_MDSTAT_MCKOUT_SHIFT (0x0000000Cu)
1335 #define CSL_PSC_MDSTAT_MCKOUT_RESETVAL (0x00000000u)
1336 /*----MCKOUT Tokens----*/
1337 #define CSL_PSC_MDSTAT_MCKOUT_OFF (0x00000000u)
1338 #define CSL_PSC_MDSTAT_MCKOUT_ON (0x00000001u)
1339 
1340 #define CSL_PSC_MDSTAT_MRSTDONE_MASK (0x00000800u)
1341 #define CSL_PSC_MDSTAT_MRSTDONE_SHIFT (0x0000000Bu)
1342 #define CSL_PSC_MDSTAT_MRSTDONE_RESETVAL (0x00000000u)
1343 /*----MRSTDONE Tokens----*/
1344 #define CSL_PSC_MDSTAT_MRSTDONE_COMPLETE (0x00000000u)
1345 #define CSL_PSC_MDSTAT_MRSTDONE_INCOMPLETE (0x00000001u)
1346 
1347 #define CSL_PSC_MDSTAT_MRST_MASK (0x00000400u)
1348 #define CSL_PSC_MDSTAT_MRST_SHIFT (0x0000000Au)
1349 #define CSL_PSC_MDSTAT_MRST_RESETVAL (0x00000000u)
1350 /*----MRST Tokens----*/
1351 #define CSL_PSC_MDSTAT_MRST_ASSERT (0x00000000u)
1352 #define CSL_PSC_MDSTAT_MRST_DEASSERT (0x00000001u)
1353 
1354 #define CSL_PSC_MDSTAT_LRSTDONE_MASK (0x00000200u)
1355 #define CSL_PSC_MDSTAT_LRSTDONE_SHIFT (0x00000009u)
1356 #define CSL_PSC_MDSTAT_LRSTDONE_RESETVAL (0x00000000u)
1357 /*----LRSTDONE Tokens----*/
1358 #define CSL_PSC_MDSTAT_LRSTDONE_NOTDONE (0x00000000u)
1359 #define CSL_PSC_MDSTAT_LRSTDONE_DONE (0x00000001u)
1360 
1361 #define CSL_PSC_MDSTAT_LRST_MASK (0x00000100u)
1362 #define CSL_PSC_MDSTAT_LRST_SHIFT (0x00000008u)
1363 #define CSL_PSC_MDSTAT_LRST_RESETVAL (0x00000000u)
1364 /*----LRST Tokens----*/
1365 #define CSL_PSC_MDSTAT_LRST_ASSERT (0x00000000u)
1366 #define CSL_PSC_MDSTAT_LRST_DEASSERT (0x00000001u)
1367 
1368 #define CSL_PSC_MDSTAT_STATE_MASK (0x0000003Fu)
1369 #define CSL_PSC_MDSTAT_STATE_SHIFT (0x00000000u)
1370 #define CSL_PSC_MDSTAT_STATE_RESETVAL (0x00000000u)
1371 /*----STATE Tokens----*/
1372 #define CSL_PSC_MDSTAT_STATE_SWRSTDISABLE (0x00000000u)
1373 #define CSL_PSC_MDSTAT_STATE_SYNCRST (0x00000001u)
1374 #define CSL_PSC_MDSTAT_STATE_DISABLE (0x00000002u)
1375 #define CSL_PSC_MDSTAT_STATE_ENABLE (0x00000003u)
1376 #define CSL_PSC_MDSTAT_STATE_AUTOSLEEP (0x00000004u)
1377 #define CSL_PSC_MDSTAT_STATE_AUTOWAKE (0x00000005u)
1378 
1379 #define CSL_PSC_MDSTAT_RESETVAL (0x00000000u)
1380 
1381 /* MDCTL */
1382 
1383 #define CSL_PSC_MDCTL_FORCE_MASK (0x80000000u)
1384 #define CSL_PSC_MDCTL_FORCE_SHIFT (0x0000001Fu)
1385 #define CSL_PSC_MDCTL_FORCE_RESETVAL (0x00000000u)
1386 /*----FORCE Tokens----*/
1387 #define CSL_PSC_MDCTL_FORCE_DISABLE (0x00000000u)
1388 #define CSL_PSC_MDCTL_FORCE_ENABLE (0x00000001u)
1389 
1390 #define CSL_PSC_MDCTL_EMUIHBIE_MASK (0x00000400u)
1391 #define CSL_PSC_MDCTL_EMUIHBIE_SHIFT (0x0000000Au)
1392 #define CSL_PSC_MDCTL_EMUIHBIE_RESETVAL (0x00000000u)
1393 /*----EMUIHBIE Tokens----*/
1394 #define CSL_PSC_MDCTL_EMUIHBIE_DISABLE (0x00000000u)
1395 #define CSL_PSC_MDCTL_EMUIHBIE_ENABLE (0x00000001u)
1396 
1397 #define CSL_PSC_MDCTL_EMURSTIE_MASK (0x00000200u)
1398 #define CSL_PSC_MDCTL_EMURSTIE_SHIFT (0x00000009u)
1399 #define CSL_PSC_MDCTL_EMURSTIE_RESETVAL (0x00000000u)
1400 /*----EMURSTIE Tokens----*/
1401 #define CSL_PSC_MDCTL_EMURSTIE_DISABLE (0x00000000u)
1402 #define CSL_PSC_MDCTL_EMURSTIE_ENABLE (0x00000001u)
1403 
1404 #define CSL_PSC_MDCTL_LRST_MASK (0x00000100u)
1405 #define CSL_PSC_MDCTL_LRST_SHIFT (0x00000008u)
1406 #define CSL_PSC_MDCTL_LRST_RESETVAL (0x00000000u)
1407 /*----LRST Tokens----*/
1408 #define CSL_PSC_MDCTL_LRST_ASSERT (0x00000000u)
1409 #define CSL_PSC_MDCTL_LRST_DEASSERT (0x00000001u)
1410 
1411 #define CSL_PSC_MDCTL_NEXT_MASK (0x0000001Fu)
1412 #define CSL_PSC_MDCTL_NEXT_SHIFT (0x00000000u)
1413 #define CSL_PSC_MDCTL_NEXT_RESETVAL (0x00000000u)
1414 /*----NEXT Tokens----*/
1415 #define CSL_PSC_MDCTL_NEXT_SWRSTDISABLE (0x00000000u)
1416 #define CSL_PSC_MDCTL_NEXT_SYNCRST (0x00000001u)
1417 #define CSL_PSC_MDCTL_NEXT_DISABLE (0x00000002u)
1418 #define CSL_PSC_MDCTL_NEXT_ENABLE (0x00000003u)
1419 #define CSL_PSC_MDCTL_NEXT_AUTOSLEEP (0x00000004u)
1420 #define CSL_PSC_MDCTL_NEXT_AUTOWAKE (0x00000005u)
1421 
1422 #define CSL_PSC_MDCTL_RESETVAL (0x00000000u)
1423 
1424 /********************************************************************************************/
1425 /********************************************************************************************/
1426 /********************************************************************************************/
1427 /********************************************************************************************/
1428 
1439  short pru_can_enable(void
1440  );
1451  short pru_can_disable(void
1452  );
1463  short pru_can_run(u8 u8prunum);
1474  short pru_can_psc_enable(void
1475  );
1486  short pru_can_psc_disable(void
1487  );
1501  (u32 u32offset, u32 * pu32datatowrite, u16 u16wordstowrite);
1514  short pru_can_ram_read_data
1515  (u32 u32offset, u32 * pu32datatoread, u16 u16wordstoread);
1529  (pru_can_firmware_structure * pstrfirmwaredata, u8 u8prunum);
1540  short pru_can_set_brp(u16 u16bitrateprescaler);
1553  short pru_can_set_bit_timing(can_bit_timing_consts * pstrcanbittiming);
1568  (u32 u32canbittiming, u32 u32bitrateprescaler);
1583  (can_emulation_app_hndl * pstrcanemuapphndl);
1598  (can_emulation_app_hndl * pstrcanemuapphndl);
1613  (u32 u32nodeid, can_mailbox_number ecanmailboxno);
1628  (can_emulation_app_hndl * pstrcanemuapphndl);
1643  (can_emulation_app_hndl * pstrcanemuapphndl);
1658  (can_emulation_app_hndl * pstrcanemuapphndl);
1671  short pru_can_configuration_mode_set(bool bconfigmodeenabledisableflag);
1686  (arm_pru_iomap * pstr_pru_iomap, u32 u32pruclock);
1700  (can_emulation_app_hndl * pstrcanemuapphndl);
1714  (can_emulation_app_hndl * pstrcanemuapphndl);
1727  short pru_can_emulation_exit(void
1728  );
1732  (bool btransfer_flag, can_transfer_direction ecan_trx);
1733 
1734  short pru_can_emulation_sreset(void
1735  );
1736 
1737  short pru_can_transfer(u8 u8mailboxnumber, u8 u8prunumber);
1738 
1739  short pru_can_start_or_abort_transmission(bool bcantransmitabortflag);
1740 
1741  short pru_can_check_init_status(void
1742  );
1743 
1744  short pru_can_mask_ints(u32 int_mask);
1745  int pru_can_get_error_cnt(u8 u8prunumber);
1746  int pru_can_intc_status_get(void);
1747 #ifdef __cplusplus
1748 } /* End of extern C */
1749 #endif /* #ifdef __cplusplus */
1750 #endif
short pru_can_configuration_mode_set(bool bconfigmodeenabledisableflag)
pru_can_configuration_mode_set() Sets the timing value for data transfer
unsigned char u8
can_transfer_direction
volatile u32 PDSTAT0
CSL_Psc0Peripheral
short pru_can_check_init_status(void)
can_transfer_direction ecantransferdirection
short pru_can_write_data_to_mailbox(can_emulation_app_hndl *pstrcanemuapphndl)
pru_can_write_data_to_mailbox() Updates the transmit mailboxes of PRU1 of OMAP L138.
unsigned char bool
short pru_can_emulation_open(can_emulation_app_hndl *pstrcanemuapphndl)
pru_can_emulation_open() Opens the can emulation for application to use
short pru_can_download_firmware(pru_can_firmware_structure *pstrfirmwaredata, u8 u8prunum)
pru_can_download_firmware() Download the firmware into PRU0 and PRU1 of OMAP L138.
short pru_can_ram_read_data(u32 u32offset, u32 *pu32datatoread, u16 u16wordstoread)
pru_can_ram_read_data() Download the data into data RAM of PRU0 or PRU1 of OMAP L138.
short pru_can_enable(void)
pru_can_enable() Configure and Enable PRU0 and PRU1 of OMAP L138.
short pru_can_get_mailbox_status(can_emulation_app_hndl *pstrcanemuapphndl)
pru_can_get_mailbox_status() Gets the mailbox status register value
volatile u32 MERRPR0
can_transfer_direction ecantransferdirection
can_instance_enum ecaninstance
short pru_can_psc_disable(void)
pru_can_psc_disable () Disable state transition of PRU
can_mailbox_number ecanmailboxnumber
short pru_can_disable(void)
pru_can_disable() Disable PRU0 and PRU1 of OMAP L138.
short pru_can_transfer_mode_set(bool btransfer_flag, can_transfer_direction ecan_trx)
CSL_Psc1Peripheral
short pru_can_emulation_exit(void)
pru_can_emulation_exit() Diables all the PRUs
short pru_can_psc_enable(void)
pru_can_psc_enable () Enable state transition of PRU
short pru_can_emulation_sreset(void)
volatile u32 PDSTAT1
short pru_can_get_interrupt_status(can_emulation_app_hndl *pstrcanemuapphndl)
pru_can_get_interrupt_status() Gets the interrupts status register value
short pru_can_set_bit_timing(can_bit_timing_consts *pstrcanbittiming)
pru_can_set_bit_timing() Updates the timing register of PRU0 and PRU1 of OMAP L138.
short pru_can_emulation_init(arm_pru_iomap *pstr_pru_iomap, u32 u32pruclock)
pru_can_emulation_init() Initializes the Can Emulation Parameters
short pru_can_mask_ints(u32 int_mask)
volatile u32 REVID
volatile u32 INTEVAL
volatile CSL_PscRegs * CSL_PscRegsOvly
can_mailbox_number
volatile u32 MERRCR0
short pru_can_get_data_from_mailbox(can_emulation_app_hndl *pstrcanemuapphndl)
pru_can_get_data_from_mailbox() Receive data from the receive mailboxes of PRU0 of OMAP L138...
can_mail_box_structure strcanmailbox
short pru_can_start_or_abort_transmission(bool bcantransmitabortflag)
can_transfer_direction ecantransferdirection
short pru_can_ram_write_data(u32 u32offset, u32 *pu32datatowrite, u16 u16wordstowrite)
pru_can_ram_write_data() Download the data into data RAM of PRU0 or PRU1 of OMAP L138.
short pru_can_run(u8 u8prunum)
pru_can_run () Allows the PRU0 or PRU1 of OMAP L138 to execute the code loaded into its Instruction R...
unsigned short u16
short pru_can_get_global_status(can_emulation_app_hndl *pstrcanemuapphndl)
pru_can_get_global_status() Gets the globalstatus register value
int pru_can_get_error_cnt(u8 u8prunumber)
short pru_can_set_brp(u16 u16bitrateprescaler)
pru_can_set_brp() Updates the BRP register of PRU0 and PRU1 of OMAP L138.
short pru_can_emulation_close(can_emulation_app_hndl *pstrcanemuapphndl)
pru_can_emulation_close() Closes the can emulation for other applications to use
int pru_can_intc_status_get(void)
unsigned int u32
short pru_can_transfer(u8 u8mailboxnumber, u8 u8prunumber)
short pru_can_calculatetiming(u32 u32canbittiming, u32 u32bitrateprescaler)
pru_can_calculatetiming() Updates the timing values of PRU0 and PRU1 of OMAP L138.
short pru_can_receive_id_map(u32 u32nodeid, can_mailbox_number ecanmailboxno)
pru_can_receive_id_map() Receive mailboxes ID Mapping of PRU0 of OMAP L138.