diff options
-rw-r--r-- | firmware/export/mcf5249.h | 406 |
1 files changed, 203 insertions, 203 deletions
diff --git a/firmware/export/mcf5249.h b/firmware/export/mcf5249.h index bde737f2c7..537b3c386a 100644 --- a/firmware/export/mcf5249.h +++ b/firmware/export/mcf5249.h | |||
@@ -22,208 +22,208 @@ | |||
22 | #define MBAR 0x40000000 | 22 | #define MBAR 0x40000000 |
23 | #define MBAR2 0x80000000 | 23 | #define MBAR2 0x80000000 |
24 | 24 | ||
25 | #define SYSTEM_CTRL (*(unsigned char *)(MBAR + 0x000)) | 25 | #define SYSTEM_CTRL (*(volatile unsigned char *)(MBAR + 0x000)) |
26 | #define BUSMASTER_CTRL (*(unsigned char *)(MBAR + 0x00c)) | 26 | #define BUSMASTER_CTRL (*(volatile unsigned char *)(MBAR + 0x00c)) |
27 | 27 | ||
28 | #define IPR (*(unsigned long *)(MBAR + 0x040)) | 28 | #define IPR (*(volatile unsigned long *)(MBAR + 0x040)) |
29 | #define IMR (*(unsigned long *)(MBAR + 0x044)) | 29 | #define IMR (*(volatile unsigned long *)(MBAR + 0x044)) |
30 | #define ICR0 (*(unsigned long *)(MBAR + 0x04c)) | 30 | #define ICR0 (*(volatile unsigned long *)(MBAR + 0x04c)) |
31 | #define ICR4 (*(unsigned long *)(MBAR + 0x050)) | 31 | #define ICR4 (*(volatile unsigned long *)(MBAR + 0x050)) |
32 | #define ICR8 (*(unsigned long *)(MBAR + 0x054)) | 32 | #define ICR8 (*(volatile unsigned long *)(MBAR + 0x054)) |
33 | 33 | ||
34 | #define CSAR0 (*(unsigned long *)(MBAR + 0x080)) | 34 | #define CSAR0 (*(volatile unsigned long *)(MBAR + 0x080)) |
35 | #define CSMR0 (*(unsigned long *)(MBAR + 0x084)) | 35 | #define CSMR0 (*(volatile unsigned long *)(MBAR + 0x084)) |
36 | #define CSCR0 (*(unsigned long *)(MBAR + 0x088)) | 36 | #define CSCR0 (*(volatile unsigned long *)(MBAR + 0x088)) |
37 | #define CSAR1 (*(unsigned long *)(MBAR + 0x08c)) | 37 | #define CSAR1 (*(volatile unsigned long *)(MBAR + 0x08c)) |
38 | #define CSMR1 (*(unsigned long *)(MBAR + 0x090)) | 38 | #define CSMR1 (*(volatile unsigned long *)(MBAR + 0x090)) |
39 | #define CSCR1 (*(unsigned long *)(MBAR + 0x094)) | 39 | #define CSCR1 (*(volatile unsigned long *)(MBAR + 0x094)) |
40 | #define CSAR2 (*(unsigned long *)(MBAR + 0x098)) | 40 | #define CSAR2 (*(volatile unsigned long *)(MBAR + 0x098)) |
41 | #define CSMR2 (*(unsigned long *)(MBAR + 0x09c)) | 41 | #define CSMR2 (*(volatile unsigned long *)(MBAR + 0x09c)) |
42 | #define CSCR2 (*(unsigned long *)(MBAR + 0x0a0)) | 42 | #define CSCR2 (*(volatile unsigned long *)(MBAR + 0x0a0)) |
43 | #define CSAR3 (*(unsigned long *)(MBAR + 0x0a4)) | 43 | #define CSAR3 (*(volatile unsigned long *)(MBAR + 0x0a4)) |
44 | #define CSMR3 (*(unsigned long *)(MBAR + 0x0a8)) | 44 | #define CSMR3 (*(volatile unsigned long *)(MBAR + 0x0a8)) |
45 | #define CSCR3 (*(unsigned long *)(MBAR + 0x0ac)) | 45 | #define CSCR3 (*(volatile unsigned long *)(MBAR + 0x0ac)) |
46 | 46 | ||
47 | #define DCR (*(unsigned long *)(MBAR + 0x100)) | 47 | #define DCR (*(volatile unsigned long *)(MBAR + 0x100)) |
48 | #define DACR0 (*(unsigned long *)(MBAR + 0x108)) | 48 | #define DACR0 (*(volatile unsigned long *)(MBAR + 0x108)) |
49 | #define DMR0 (*(unsigned long *)(MBAR + 0x10c)) | 49 | #define DMR0 (*(volatile unsigned long *)(MBAR + 0x10c)) |
50 | #define DACR1 (*(unsigned long *)(MBAR + 0x110)) | 50 | #define DACR1 (*(volatile unsigned long *)(MBAR + 0x110)) |
51 | #define DMR1 (*(unsigned long *)(MBAR + 0x114)) | 51 | #define DMR1 (*(volatile unsigned long *)(MBAR + 0x114)) |
52 | #define TMR0 (*(unsigned short *)(MBAR + 0x140)) | 52 | #define TMR0 (*(volatile unsigned short *)(MBAR + 0x140)) |
53 | #define TRR0 (*(unsigned short *)(MBAR + 0x144)) | 53 | #define TRR0 (*(volatile unsigned short *)(MBAR + 0x144)) |
54 | #define TCR0 (*(unsigned short *)(MBAR + 0x148)) | 54 | #define TCR0 (*(volatile unsigned short *)(MBAR + 0x148)) |
55 | #define TCN0 (*(unsigned short *)(MBAR + 0x14c)) | 55 | #define TCN0 (*(volatile unsigned short *)(MBAR + 0x14c)) |
56 | #define TER0 (*(unsigned short *)(MBAR + 0x150)) | 56 | #define TER0 (*(volatile unsigned short *)(MBAR + 0x150)) |
57 | #define TMR1 (*(unsigned short *)(MBAR + 0x180)) | 57 | #define TMR1 (*(volatile unsigned short *)(MBAR + 0x180)) |
58 | #define TRR1 (*(unsigned short *)(MBAR + 0x184)) | 58 | #define TRR1 (*(volatile unsigned short *)(MBAR + 0x184)) |
59 | #define TCR1 (*(unsigned short *)(MBAR + 0x188)) | 59 | #define TCR1 (*(volatile unsigned short *)(MBAR + 0x188)) |
60 | #define TCN1 (*(unsigned short *)(MBAR + 0x18c)) | 60 | #define TCN1 (*(volatile unsigned short *)(MBAR + 0x18c)) |
61 | #define TER1 (*(unsigned short *)(MBAR + 0x190)) | 61 | #define TER1 (*(volatile unsigned short *)(MBAR + 0x190)) |
62 | 62 | ||
63 | #define UMR10 (*(unsigned char *)(MBAR + 0x1c0)) | 63 | #define UMR10 (*(volatile unsigned char *)(MBAR + 0x1c0)) |
64 | #define UMR20 (*(unsigned char *)(MBAR + 0x1c0)) | 64 | #define UMR20 (*(volatile unsigned char *)(MBAR + 0x1c0)) |
65 | #define USR0 (*(unsigned char *)(MBAR + 0x1c4)) | 65 | #define USR0 (*(volatile unsigned char *)(MBAR + 0x1c4)) |
66 | #define UCSR0 (*(unsigned char *)(MBAR + 0x1c4)) | 66 | #define UCSR0 (*(volatile unsigned char *)(MBAR + 0x1c4)) |
67 | #define UCR0 (*(unsigned char *)(MBAR + 0x1c8)) | 67 | #define UCR0 (*(volatile unsigned char *)(MBAR + 0x1c8)) |
68 | #define URB0 (*(unsigned char *)(MBAR + 0x1cc)) | 68 | #define URB0 (*(volatile unsigned char *)(MBAR + 0x1cc)) |
69 | #define UTB0 (*(unsigned char *)(MBAR + 0x1cc)) | 69 | #define UTB0 (*(volatile unsigned char *)(MBAR + 0x1cc)) |
70 | #define UIPCR0 (*(unsigned char *)(MBAR + 0x1d0)) | 70 | #define UIPCR0 (*(volatile unsigned char *)(MBAR + 0x1d0)) |
71 | #define UACR0 (*(unsigned char *)(MBAR + 0x1d0)) | 71 | #define UACR0 (*(volatile unsigned char *)(MBAR + 0x1d0)) |
72 | #define UISR0 (*(unsigned char *)(MBAR + 0x1d4)) | 72 | #define UISR0 (*(volatile unsigned char *)(MBAR + 0x1d4)) |
73 | #define UIMR0 (*(unsigned char *)(MBAR + 0x1d4)) | 73 | #define UIMR0 (*(volatile unsigned char *)(MBAR + 0x1d4)) |
74 | #define UBG10 (*(unsigned char *)(MBAR + 0x1d8)) | 74 | #define UBG10 (*(volatile unsigned char *)(MBAR + 0x1d8)) |
75 | #define UBG20 (*(unsigned char *)(MBAR + 0x1dc)) | 75 | #define UBG20 (*(volatile unsigned char *)(MBAR + 0x1dc)) |
76 | #define UIVR0 (*(unsigned char *)(MBAR + 0x1f0)) | 76 | #define UIVR0 (*(volatile unsigned char *)(MBAR + 0x1f0)) |
77 | #define UIP0 (*(unsigned char *)(MBAR + 0x1f4)) | 77 | #define UIP0 (*(volatile unsigned char *)(MBAR + 0x1f4)) |
78 | #define UOP10 (*(unsigned char *)(MBAR + 0x1f8)) | 78 | #define UOP10 (*(volatile unsigned char *)(MBAR + 0x1f8)) |
79 | #define UOP00 (*(unsigned char *)(MBAR + 0x1fc)) | 79 | #define UOP00 (*(volatile unsigned char *)(MBAR + 0x1fc)) |
80 | 80 | ||
81 | #define UMR11 (*(unsigned char *)(MBAR + 0x200)) | 81 | #define UMR11 (*(volatile unsigned char *)(MBAR + 0x200)) |
82 | #define UMR21 (*(unsigned char *)(MBAR + 0x200)) | 82 | #define UMR21 (*(volatile unsigned char *)(MBAR + 0x200)) |
83 | #define USR1 (*(unsigned char *)(MBAR + 0x204)) | 83 | #define USR1 (*(volatile unsigned char *)(MBAR + 0x204)) |
84 | #define UCSR1 (*(unsigned char *)(MBAR + 0x204)) | 84 | #define UCSR1 (*(volatile unsigned char *)(MBAR + 0x204)) |
85 | #define UCR1 (*(unsigned char *)(MBAR + 0x208)) | 85 | #define UCR1 (*(volatile unsigned char *)(MBAR + 0x208)) |
86 | #define URB1 (*(unsigned char *)(MBAR + 0x20c)) | 86 | #define URB1 (*(volatile unsigned char *)(MBAR + 0x20c)) |
87 | #define UTB1 (*(unsigned char *)(MBAR + 0x20c)) | 87 | #define UTB1 (*(volatile unsigned char *)(MBAR + 0x20c)) |
88 | #define UIPCR1 (*(unsigned char *)(MBAR + 0x210)) | 88 | #define UIPCR1 (*(volatile unsigned char *)(MBAR + 0x210)) |
89 | #define UACR1 (*(unsigned char *)(MBAR + 0x210)) | 89 | #define UACR1 (*(volatile unsigned char *)(MBAR + 0x210)) |
90 | #define UISR1 (*(unsigned char *)(MBAR + 0x214)) | 90 | #define UISR1 (*(volatile unsigned char *)(MBAR + 0x214)) |
91 | #define UIMR1 (*(unsigned char *)(MBAR + 0x214)) | 91 | #define UIMR1 (*(volatile unsigned char *)(MBAR + 0x214)) |
92 | #define UBG11 (*(unsigned char *)(MBAR + 0x218)) | 92 | #define UBG11 (*(volatile unsigned char *)(MBAR + 0x218)) |
93 | #define UBG21 (*(unsigned char *)(MBAR + 0x21c)) | 93 | #define UBG21 (*(volatile unsigned char *)(MBAR + 0x21c)) |
94 | #define UIVR1 (*(unsigned char *)(MBAR + 0x230)) | 94 | #define UIVR1 (*(volatile unsigned char *)(MBAR + 0x230)) |
95 | #define UIP1 (*(unsigned char *)(MBAR + 0x234)) | 95 | #define UIP1 (*(volatile unsigned char *)(MBAR + 0x234)) |
96 | #define UOP11 (*(unsigned char *)(MBAR + 0x238)) | 96 | #define UOP11 (*(volatile unsigned char *)(MBAR + 0x238)) |
97 | #define UOP01 (*(unsigned char *)(MBAR + 0x23c)) | 97 | #define UOP01 (*(volatile unsigned char *)(MBAR + 0x23c)) |
98 | 98 | ||
99 | #define MADR (*(unsigned char *)(MBAR + 0x280)) | 99 | #define MADR (*(volatile unsigned char *)(MBAR + 0x280)) |
100 | #define MFDR (*(unsigned char *)(MBAR + 0x284)) | 100 | #define MFDR (*(volatile unsigned char *)(MBAR + 0x284)) |
101 | #define MBCR (*(unsigned char *)(MBAR + 0x288)) | 101 | #define MBCR (*(volatile unsigned char *)(MBAR + 0x288)) |
102 | #define MBSR (*(unsigned char *)(MBAR + 0x28c)) | 102 | #define MBSR (*(volatile unsigned char *)(MBAR + 0x28c)) |
103 | #define MBDR (*(unsigned char *)(MBAR + 0x290)) | 103 | #define MBDR (*(volatile unsigned char *)(MBAR + 0x290)) |
104 | 104 | ||
105 | #define SAR0 (*(unsigned long *)(MBAR + 0x300)) | 105 | #define SAR0 (*(volatile unsigned long *)(MBAR + 0x300)) |
106 | #define DAR0 (*(unsigned long *)(MBAR + 0x304)) | 106 | #define DAR0 (*(volatile unsigned long *)(MBAR + 0x304)) |
107 | #define DCR0 (*(unsigned short *)(MBAR + 0x308)) | 107 | #define DCR0 (*(volatile unsigned short *)(MBAR + 0x308)) |
108 | #define BCR0 (*(unsigned short *)(MBAR + 0x30c)) | 108 | #define BCR0 (*(volatile unsigned short *)(MBAR + 0x30c)) |
109 | #define DSR0 (*(unsigned char *)(MBAR + 0x310)) | 109 | #define DSR0 (*(volatile unsigned char *)(MBAR + 0x310)) |
110 | #define DIVR0 (*(unsigned char *)(MBAR + 0x314)) | 110 | #define DIVR0 (*(volatile unsigned char *)(MBAR + 0x314)) |
111 | 111 | ||
112 | #define SAR1 (*(unsigned long *)(MBAR + 0x340)) | 112 | #define SAR1 (*(volatile unsigned long *)(MBAR + 0x340)) |
113 | #define DAR1 (*(unsigned long *)(MBAR + 0x344)) | 113 | #define DAR1 (*(volatile unsigned long *)(MBAR + 0x344)) |
114 | #define DCR1 (*(unsigned short *)(MBAR + 0x348)) | 114 | #define DCR1 (*(volatile unsigned short *)(MBAR + 0x348)) |
115 | #define BCR1 (*(unsigned short *)(MBAR + 0x34c)) | 115 | #define BCR1 (*(volatile unsigned short *)(MBAR + 0x34c)) |
116 | #define DSR1 (*(unsigned char *)(MBAR + 0x350)) | 116 | #define DSR1 (*(volatile unsigned char *)(MBAR + 0x350)) |
117 | #define DIVR1 (*(unsigned char *)(MBAR + 0x354)) | 117 | #define DIVR1 (*(volatile unsigned char *)(MBAR + 0x354)) |
118 | 118 | ||
119 | #define SAR2 (*(unsigned long *)(MBAR + 0x380)) | 119 | #define SAR2 (*(volatile unsigned long *)(MBAR + 0x380)) |
120 | #define DAR2 (*(unsigned long *)(MBAR + 0x384)) | 120 | #define DAR2 (*(volatile unsigned long *)(MBAR + 0x384)) |
121 | #define DCR2 (*(unsigned short *)(MBAR + 0x388)) | 121 | #define DCR2 (*(volatile unsigned short *)(MBAR + 0x388)) |
122 | #define BCR2 (*(unsigned short *)(MBAR + 0x38c)) | 122 | #define BCR2 (*(volatile unsigned short *)(MBAR + 0x38c)) |
123 | #define DSR2 (*(unsigned char *)(MBAR + 0x390)) | 123 | #define DSR2 (*(volatile unsigned char *)(MBAR + 0x390)) |
124 | #define DIVR2 (*(unsigned char *)(MBAR + 0x394)) | 124 | #define DIVR2 (*(volatile unsigned char *)(MBAR + 0x394)) |
125 | 125 | ||
126 | #define SAR3 (*(unsigned long *)(MBAR + 0x3c0)) | 126 | #define SAR3 (*(volatile unsigned long *)(MBAR + 0x3c0)) |
127 | #define DAR3 (*(unsigned long *)(MBAR + 0x3c4)) | 127 | #define DAR3 (*(volatile unsigned long *)(MBAR + 0x3c4)) |
128 | #define DCR3 (*(unsigned short *)(MBAR + 0x3c8)) | 128 | #define DCR3 (*(volatile unsigned short *)(MBAR + 0x3c8)) |
129 | #define BCR3 (*(unsigned short *)(MBAR + 0x3cc)) | 129 | #define BCR3 (*(volatile unsigned short *)(MBAR + 0x3cc)) |
130 | #define DSR3 (*(unsigned char *)(MBAR + 0x3d0)) | 130 | #define DSR3 (*(volatile unsigned char *)(MBAR + 0x3d0)) |
131 | #define DIVR3 (*(unsigned char *)(MBAR + 0x3d4)) | 131 | #define DIVR3 (*(volatile unsigned char *)(MBAR + 0x3d4)) |
132 | 132 | ||
133 | #define QSPIMR (*(unsigned short *)(MBAR + 0x400)) | 133 | #define QSPIMR (*(volatile unsigned short *)(MBAR + 0x400)) |
134 | #define QSPIQDLYR (*(unsigned short *)(MBAR + 0x404)) | 134 | #define QSPIQDLYR (*(volatile unsigned short *)(MBAR + 0x404)) |
135 | #define QSPIQWR (*(unsigned short *)(MBAR + 0x408)) | 135 | #define QSPIQWR (*(volatile unsigned short *)(MBAR + 0x408)) |
136 | #define QSPIQIR (*(unsigned short *)(MBAR + 0x40c)) | 136 | #define QSPIQIR (*(volatile unsigned short *)(MBAR + 0x40c)) |
137 | #define QSPIQAR (*(unsigned short *)(MBAR + 0x410)) | 137 | #define QSPIQAR (*(volatile unsigned short *)(MBAR + 0x410)) |
138 | #define QIR (*(unsigned short *)(MBAR + 0x414)) | 138 | #define QIR (*(volatile unsigned short *)(MBAR + 0x414)) |
139 | 139 | ||
140 | #define GPIO_READ (*(unsigned long *)(MBAR2 + 0x000)) | 140 | #define GPIO_READ (*(volatile unsigned long *)(MBAR2 + 0x000)) |
141 | #define GPIO_OUT (*(unsigned long *)(MBAR2 + 0x004)) | 141 | #define GPIO_OUT (*(volatile unsigned long *)(MBAR2 + 0x004)) |
142 | #define GPIO_ENABLE (*(unsigned long *)(MBAR2 + 0x008)) | 142 | #define GPIO_ENABLE (*(volatile unsigned long *)(MBAR2 + 0x008)) |
143 | #define GPIO_FUNCTION (*(unsigned long *)(MBAR2 + 0x00c)) | 143 | #define GPIO_FUNCTION (*(volatile unsigned long *)(MBAR2 + 0x00c)) |
144 | 144 | ||
145 | #define IIS1CONFIG (*(unsigned long *)(MBAR2 + 0x010)) | 145 | #define IIS1CONFIG (*(volatile unsigned long *)(MBAR2 + 0x010)) |
146 | #define IIS2CONFIG (*(unsigned long *)(MBAR2 + 0x014)) | 146 | #define IIS2CONFIG (*(volatile unsigned long *)(MBAR2 + 0x014)) |
147 | #define IIS3CONFIG (*(unsigned long *)(MBAR2 + 0x018)) | 147 | #define IIS3CONFIG (*(volatile unsigned long *)(MBAR2 + 0x018)) |
148 | #define IIS4CONFIG (*(unsigned long *)(MBAR2 + 0x01c)) | 148 | #define IIS4CONFIG (*(volatile unsigned long *)(MBAR2 + 0x01c)) |
149 | #define EBU1CONFIG (*(unsigned long *)(MBAR2 + 0x020)) | 149 | #define EBU1CONFIG (*(volatile unsigned long *)(MBAR2 + 0x020)) |
150 | #define EBU1RCVCCHANNEL1 (*(unsigned long *)(MBAR2 + 0x024)) | 150 | #define EBU1RCVCCHANNEL1 (*(volatile unsigned long *)(MBAR2 + 0x024)) |
151 | #define EBUTXCCHANNEL1 (*(unsigned long *)(MBAR2 + 0x028)) | 151 | #define EBUTXCCHANNEL1 (*(volatile unsigned long *)(MBAR2 + 0x028)) |
152 | #define EBUTXCCHANNEL2 (*(unsigned long *)(MBAR2 + 0x02c)) | 152 | #define EBUTXCCHANNEL2 (*(volatile unsigned long *)(MBAR2 + 0x02c)) |
153 | #define DATAINCONTROL (*(unsigned long *)(MBAR2 + 0x030)) | 153 | #define DATAINCONTROL (*(volatile unsigned long *)(MBAR2 + 0x030)) |
154 | #define PDIR1_L (*(unsigned long *)(MBAR2 + 0x034)) | 154 | #define PDIR1_L (*(volatile unsigned long *)(MBAR2 + 0x034)) |
155 | #define PDIR3_L (*(unsigned long *)(MBAR2 + 0x044)) | 155 | #define PDIR3_L (*(volatile unsigned long *)(MBAR2 + 0x044)) |
156 | #define PDIR1_R (*(unsigned long *)(MBAR2 + 0x054)) | 156 | #define PDIR1_R (*(volatile unsigned long *)(MBAR2 + 0x054)) |
157 | #define PDIR3_R (*(unsigned long *)(MBAR2 + 0x064)) | 157 | #define PDIR3_R (*(volatile unsigned long *)(MBAR2 + 0x064)) |
158 | #define PDOR1_L (*(unsigned long *)(MBAR2 + 0x034)) | 158 | #define PDOR1_L (*(volatile unsigned long *)(MBAR2 + 0x034)) |
159 | #define PDOR1_R (*(unsigned long *)(MBAR2 + 0x044)) | 159 | #define PDOR1_R (*(volatile unsigned long *)(MBAR2 + 0x044)) |
160 | #define PDOR2_L (*(unsigned long *)(MBAR2 + 0x054)) | 160 | #define PDOR2_L (*(volatile unsigned long *)(MBAR2 + 0x054)) |
161 | #define PDOR2_R (*(unsigned long *)(MBAR2 + 0x064)) | 161 | #define PDOR2_R (*(volatile unsigned long *)(MBAR2 + 0x064)) |
162 | #define PDIR3 (*(unsigned long *)(MBAR2 + 0x074)) | 162 | #define PDIR3 (*(volatile unsigned long *)(MBAR2 + 0x074)) |
163 | #define PDOR3 (*(unsigned long *)(MBAR2 + 0x074)) | 163 | #define PDOR3 (*(volatile unsigned long *)(MBAR2 + 0x074)) |
164 | #define UCHANNELTRANSMIT (*(unsigned long *)(MBAR2 + 0x084)) | 164 | #define UCHANNELTRANSMIT (*(volatile unsigned long *)(MBAR2 + 0x084)) |
165 | #define U1CHANNELRECEIVE (*(unsigned long *)(MBAR2 + 0x088)) | 165 | #define U1CHANNELRECEIVE (*(volatile unsigned long *)(MBAR2 + 0x088)) |
166 | #define Q1CHANNELRECEIVE (*(unsigned long *)(MBAR2 + 0x08c)) | 166 | #define Q1CHANNELRECEIVE (*(volatile unsigned long *)(MBAR2 + 0x08c)) |
167 | #define CD_TEXT_CONTROL (*(unsigned char *)(MBAR2 + 0x092)) | 167 | #define CD_TEXT_CONTROL (*(volatile unsigned char *)(MBAR2 + 0x092)) |
168 | #define INTERRUPTEN (*(unsigned long *)(MBAR2 + 0x094)) | 168 | #define INTERRUPTEN (*(volatile unsigned long *)(MBAR2 + 0x094)) |
169 | #define INTERRUPTCLEAR (*(unsigned long *)(MBAR2 + 0x098)) | 169 | #define INTERRUPTCLEAR (*(volatile unsigned long *)(MBAR2 + 0x098)) |
170 | #define INTERRUPTSTAT (*(unsigned long *)(MBAR2 + 0x098)) | 170 | #define INTERRUPTSTAT (*(volatile unsigned long *)(MBAR2 + 0x098)) |
171 | #define DMACONFIG (*(unsigned char *)(MBAR2 + 0x09f)) | 171 | #define DMACONFIG (*(volatile unsigned char *)(MBAR2 + 0x09f)) |
172 | #define PHASECONFIG (*(unsigned char *)(MBAR2 + 0x0a3)) | 172 | #define PHASECONFIG (*(volatile unsigned char *)(MBAR2 + 0x0a3)) |
173 | #define XTRIM (*(unsigned short *)(MBAR2 + 0x0a6)) | 173 | #define XTRIM (*(volatile unsigned short *)(MBAR2 + 0x0a6)) |
174 | #define FREQMEAS (*(unsigned long *)(MBAR2 + 0x0a8)) | 174 | #define FREQMEAS (*(volatile unsigned long *)(MBAR2 + 0x0a8)) |
175 | #define BLOCKCONTROL (*(unsigned short *)(MBAR2 + 0x0ca)) | 175 | #define BLOCKCONTROL (*(volatile unsigned short *)(MBAR2 + 0x0ca)) |
176 | #define AUDIOGLOB (*(unsigned short *)(MBAR2 + 0x0ce)) | 176 | #define AUDIOGLOB (*(volatile unsigned short *)(MBAR2 + 0x0ce)) |
177 | #define EBU2CONFIG (*(unsigned long *)(MBAR2 + 0x0d0)) | 177 | #define EBU2CONFIG (*(volatile unsigned long *)(MBAR2 + 0x0d0)) |
178 | #define EBU2RCVCCHANNEL1 (*(unsigned short *)(MBAR2 + 0x0d4)) | 178 | #define EBU2RCVCCHANNEL1 (*(volatile unsigned short *)(MBAR2 + 0x0d4)) |
179 | #define U2CHANNELRECEIVE (*(unsigned long *)(MBAR2 + 0x0d8)) | 179 | #define U2CHANNELRECEIVE (*(volatile unsigned long *)(MBAR2 + 0x0d8)) |
180 | #define Q2CHANNELRECEIVE (*(unsigned long *)(MBAR2 + 0x0dc)) | 180 | #define Q2CHANNELRECEIVE (*(volatile unsigned long *)(MBAR2 + 0x0dc)) |
181 | 181 | ||
182 | #define GPIO1_READ (*(unsigned long *)(MBAR2 + 0x0b0)) | 182 | #define GPIO1_READ (*(volatile unsigned long *)(MBAR2 + 0x0b0)) |
183 | #define GPIO1_OUT (*(unsigned long *)(MBAR2 + 0x0b4)) | 183 | #define GPIO1_OUT (*(volatile unsigned long *)(MBAR2 + 0x0b4)) |
184 | #define GPIO1_ENABLE (*(unsigned long *)(MBAR2 + 0x0b8)) | 184 | #define GPIO1_ENABLE (*(volatile unsigned long *)(MBAR2 + 0x0b8)) |
185 | #define GPIO1_FUNCTION (*(unsigned long *)(MBAR2 + 0x0bc)) | 185 | #define GPIO1_FUNCTION (*(volatile unsigned long *)(MBAR2 + 0x0bc)) |
186 | #define GPIO_INT_STAT (*(unsigned long *)(MBAR2 + 0x0c0)) | 186 | #define GPIO_INT_STAT (*(volatile unsigned long *)(MBAR2 + 0x0c0)) |
187 | #define GPIO_INT_CLEAR (*(unsigned long *)(MBAR2 + 0x0c0)) | 187 | #define GPIO_INT_CLEAR (*(volatile unsigned long *)(MBAR2 + 0x0c0)) |
188 | #define GPIO_INT_EN (*(unsigned long *)(MBAR2 + 0x0c4)) | 188 | #define GPIO_INT_EN (*(volatile unsigned long *)(MBAR2 + 0x0c4)) |
189 | #define INTERRUPTSTAT3 (*(unsigned long *)(MBAR2 + 0x0e0)) | 189 | #define INTERRUPTSTAT3 (*(volatile unsigned long *)(MBAR2 + 0x0e0)) |
190 | #define INTERRUPTCLEAR3 (*(unsigned long *)(MBAR2 + 0x0e0)) | 190 | #define INTERRUPTCLEAR3 (*(volatile unsigned long *)(MBAR2 + 0x0e0)) |
191 | #define INTERRUPTEN3 (*(unsigned long *)(MBAR2 + 0x0e4)) | 191 | #define INTERRUPTEN3 (*(volatile unsigned long *)(MBAR2 + 0x0e4)) |
192 | #define INTPRI1 (*(unsigned long *)(MBAR2 + 0x140)) | 192 | #define INTPRI1 (*(volatile unsigned long *)(MBAR2 + 0x140)) |
193 | #define INTPRI2 (*(unsigned long *)(MBAR2 + 0x144)) | 193 | #define INTPRI2 (*(volatile unsigned long *)(MBAR2 + 0x144)) |
194 | #define INTPRI3 (*(unsigned long *)(MBAR2 + 0x148)) | 194 | #define INTPRI3 (*(volatile unsigned long *)(MBAR2 + 0x148)) |
195 | #define INTPRI4 (*(unsigned long *)(MBAR2 + 0x14c)) | 195 | #define INTPRI4 (*(volatile unsigned long *)(MBAR2 + 0x14c)) |
196 | #define INTPRI5 (*(unsigned long *)(MBAR2 + 0x150)) | 196 | #define INTPRI5 (*(volatile unsigned long *)(MBAR2 + 0x150)) |
197 | #define INTPRI6 (*(unsigned long *)(MBAR2 + 0x154)) | 197 | #define INTPRI6 (*(volatile unsigned long *)(MBAR2 + 0x154)) |
198 | #define INTPRI7 (*(unsigned long *)(MBAR2 + 0x158)) | 198 | #define INTPRI7 (*(volatile unsigned long *)(MBAR2 + 0x158)) |
199 | #define INTPRI8 (*(unsigned long *)(MBAR2 + 0x15c)) | 199 | #define INTPRI8 (*(volatile unsigned long *)(MBAR2 + 0x15c)) |
200 | #define SPURVEC (*(unsigned char *)(MBAR2 + 0x167)) | 200 | #define SPURVEC (*(volatile unsigned char *)(MBAR2 + 0x167)) |
201 | #define INTBASE (*(unsigned char *)(MBAR2 + 0x16b)) | 201 | #define INTBASE (*(volatile unsigned char *)(MBAR2 + 0x16b)) |
202 | #define PLLCONTROL (*(unsigned long *)(MBAR2 + 0x180)) | 202 | #define PLLCR (*(volatile unsigned long *)(MBAR2 + 0x180)) |
203 | #define DMAROUTE (*(unsigned long *)(MBAR2 + 0x188)) | 203 | #define DMAROUTE (*(volatile unsigned long *)(MBAR2 + 0x188)) |
204 | #define IDECONFIG1 (*(unsigned long *)(MBAR2 + 0x18c)) | 204 | #define IDECONFIG1 (*(volatile unsigned long *)(MBAR2 + 0x18c)) |
205 | #define IDECONFIG2 (*(unsigned long *)(MBAR2 + 0x190)) | 205 | #define IDECONFIG2 (*(volatile unsigned long *)(MBAR2 + 0x190)) |
206 | #define IPERRORADR (*(unsigned long *)(MBAR2 + 0x194)) | 206 | #define IPERRORADR (*(volatile unsigned long *)(MBAR2 + 0x194)) |
207 | #define EXTRAINT (*(unsigned long *)(MBAR2 + 0x198)) | 207 | #define EXTRAINT (*(volatile unsigned long *)(MBAR2 + 0x198)) |
208 | 208 | ||
209 | #define ADCONFIG (*(unsigned short *)(MBAR2 + 0x402)) | 209 | #define ADCONFIG (*(volatile unsigned short *)(MBAR2 + 0x402)) |
210 | #define ADVALUE (*(unsigned short *)(MBAR2 + 0x406)) | 210 | #define ADVALUE (*(volatile unsigned short *)(MBAR2 + 0x406)) |
211 | #define MADR2 (*(unsigned char *)(MBAR2 + 0x440)) | 211 | #define MADR2 (*(volatile unsigned char *)(MBAR2 + 0x440)) |
212 | #define MFDR2 (*(unsigned char *)(MBAR2 + 0x444)) | 212 | #define MFDR2 (*(volatile unsigned char *)(MBAR2 + 0x444)) |
213 | #define MBCR2 (*(unsigned char *)(MBAR2 + 0x448)) | 213 | #define MBCR2 (*(volatile unsigned char *)(MBAR2 + 0x448)) |
214 | #define MBSR2 (*(unsigned char *)(MBAR2 + 0x44c)) | 214 | #define MBSR2 (*(volatile unsigned char *)(MBAR2 + 0x44c)) |
215 | #define MBDR2 (*(unsigned char *)(MBAR2 + 0x450)) | 215 | #define MBDR2 (*(volatile unsigned char *)(MBAR2 + 0x450)) |
216 | 216 | ||
217 | #define FLASHMEDIACONFIG (*(unsigned long *)(MBAR2 + 0x460)) | 217 | #define FLASHMEDIACONFIG (*(volatile unsigned long *)(MBAR2 + 0x460)) |
218 | #define FLASHMEDIACMD1 (*(unsigned long *)(MBAR2 + 0x464)) | 218 | #define FLASHMEDIACMD1 (*(volatile unsigned long *)(MBAR2 + 0x464)) |
219 | #define FLASHMEDIACMD2 (*(unsigned long *)(MBAR2 + 0x468)) | 219 | #define FLASHMEDIACMD2 (*(volatile unsigned long *)(MBAR2 + 0x468)) |
220 | #define FLASHMEDIADATA1 (*(unsigned long *)(MBAR2 + 0x46c)) | 220 | #define FLASHMEDIADATA1 (*(volatile unsigned long *)(MBAR2 + 0x46c)) |
221 | #define FLASHMEDIADATA2 (*(unsigned long *)(MBAR2 + 0x470)) | 221 | #define FLASHMEDIADATA2 (*(volatile unsigned long *)(MBAR2 + 0x470)) |
222 | #define FLASHMEDIASTATUS (*(unsigned long *)(MBAR2 + 0x474)) | 222 | #define FLASHMEDIASTATUS (*(volatile unsigned long *)(MBAR2 + 0x474)) |
223 | #define FLASHMEDIAINTEN (*(unsigned long *)(MBAR2 + 0x478)) | 223 | #define FLASHMEDIAINTEN (*(volatile unsigned long *)(MBAR2 + 0x478)) |
224 | #define FLASHMEDIAINTSTAT (*(unsigned long *)(MBAR2 + 0x47c)) | 224 | #define FLASHMEDIAINTSTAT (*(volatile unsigned long *)(MBAR2 + 0x47c)) |
225 | #define FLASHMEDIAINTCLEAR (*(unsigned long *)(MBAR2 + 0x47c)) | 225 | #define FLASHMEDIAINTCLEAR (*(volatile unsigned long *)(MBAR2 + 0x47c)) |
226 | 226 | ||
227 | #define DEVICE_ID (*(unsigned long *)(MBAR2 + 0x0ac)) | 227 | #define DEVICE_ID (*(volatile unsigned long *)(MBAR2 + 0x0ac)) |
228 | 228 | ||
229 | #endif | 229 | #endif |