OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [ColdFire_MCF5282_Eclipse/] [RTOSDemo/] [MCF5282/] [MCF5282_GPIO.h] - Blame information for rev 578

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 jeremybenn
/* Coldfire C Header File
2
 * Copyright Freescale Semiconductor Inc
3
 * All rights reserved.
4
 *
5
 * 2007/03/19 Revision: 0.9
6
 */
7
 
8
#ifndef __MCF5282_GPIO_H__
9
#define __MCF5282_GPIO_H__
10
 
11
 
12
/*********************************************************************
13
*
14
* General Purpose I/O (GPIO)
15
*
16
*********************************************************************/
17
 
18
/* Register read/write macros */
19
#define MCF_GPIO_PORTA                       (*(vuint8 *)(&__IPSBAR[0x100000]))
20
#define MCF_GPIO_DDRA                        (*(vuint8 *)(&__IPSBAR[0x100014]))
21
#define MCF_GPIO_SETA                        (*(vuint8 *)(&__IPSBAR[0x100028]))
22
#define MCF_GPIO_CLRA                        (*(vuint8 *)(&__IPSBAR[0x10003C]))
23
 
24
#define MCF_GPIO_PORTB                       (*(vuint8 *)(&__IPSBAR[0x100001]))
25
#define MCF_GPIO_DDRB                        (*(vuint8 *)(&__IPSBAR[0x100015]))
26
#define MCF_GPIO_SETB                        (*(vuint8 *)(&__IPSBAR[0x100029]))
27
#define MCF_GPIO_CLRB                        (*(vuint8 *)(&__IPSBAR[0x10003D]))
28
 
29
#define MCF_GPIO_PORTC                       (*(vuint8 *)(&__IPSBAR[0x100002]))
30
#define MCF_GPIO_DDRC                        (*(vuint8 *)(&__IPSBAR[0x100016]))
31
#define MCF_GPIO_SETC                        (*(vuint8 *)(&__IPSBAR[0x10002A]))
32
#define MCF_GPIO_CLRC                        (*(vuint8 *)(&__IPSBAR[0x10003E]))
33
 
34
#define MCF_GPIO_PORTD                       (*(vuint8 *)(&__IPSBAR[0x100003]))
35
#define MCF_GPIO_DDRD                        (*(vuint8 *)(&__IPSBAR[0x100017]))
36
#define MCF_GPIO_SETD                        (*(vuint8 *)(&__IPSBAR[0x10002B]))
37
#define MCF_GPIO_CLRD                        (*(vuint8 *)(&__IPSBAR[0x10003F]))
38
 
39
#define MCF_GPIO_PORTE                       (*(vuint8 *)(&__IPSBAR[0x100004]))
40
#define MCF_GPIO_DDRE                        (*(vuint8 *)(&__IPSBAR[0x100018]))
41
#define MCF_GPIO_SETE                        (*(vuint8 *)(&__IPSBAR[0x10002C]))
42
#define MCF_GPIO_CLRE                        (*(vuint8 *)(&__IPSBAR[0x100040]))
43
 
44
#define MCF_GPIO_PORTF                       (*(vuint8 *)(&__IPSBAR[0x100005]))
45
#define MCF_GPIO_DDRF                        (*(vuint8 *)(&__IPSBAR[0x100019]))
46
#define MCF_GPIO_SETF                        (*(vuint8 *)(&__IPSBAR[0x10002D]))
47
#define MCF_GPIO_CLRF                        (*(vuint8 *)(&__IPSBAR[0x100041]))
48
 
49
#define MCF_GPIO_PORTG                       (*(vuint8 *)(&__IPSBAR[0x100006]))
50
#define MCF_GPIO_DDRG                        (*(vuint8 *)(&__IPSBAR[0x10001A]))
51
#define MCF_GPIO_SETG                        (*(vuint8 *)(&__IPSBAR[0x10002E]))
52
#define MCF_GPIO_CLRG                        (*(vuint8 *)(&__IPSBAR[0x100042]))
53
 
54
#define MCF_GPIO_PORTH                       (*(vuint8 *)(&__IPSBAR[0x100007]))
55
#define MCF_GPIO_DDRH                        (*(vuint8 *)(&__IPSBAR[0x10001B]))
56
#define MCF_GPIO_SETH                        (*(vuint8 *)(&__IPSBAR[0x10002F]))
57
#define MCF_GPIO_CLRH                        (*(vuint8 *)(&__IPSBAR[0x100043]))
58
 
59
#define MCF_GPIO_PORTJ                       (*(vuint8 *)(&__IPSBAR[0x100008]))
60
#define MCF_GPIO_DDRJ                        (*(vuint8 *)(&__IPSBAR[0x10001C]))
61
#define MCF_GPIO_SETJ                        (*(vuint8 *)(&__IPSBAR[0x100030]))
62
#define MCF_GPIO_CLRJ                        (*(vuint8 *)(&__IPSBAR[0x100044]))
63
 
64
#define MCF_GPIO_PORTDD                      (*(vuint8 *)(&__IPSBAR[0x100009]))
65
#define MCF_GPIO_DDRDD                       (*(vuint8 *)(&__IPSBAR[0x10001D]))
66
#define MCF_GPIO_SETDD                       (*(vuint8 *)(&__IPSBAR[0x100031]))
67
#define MCF_GPIO_CLRDD                       (*(vuint8 *)(&__IPSBAR[0x100045]))
68
 
69
#define MCF_GPIO_PORTEH                      (*(vuint8 *)(&__IPSBAR[0x10000A]))
70
#define MCF_GPIO_DDREH                       (*(vuint8 *)(&__IPSBAR[0x10001E]))
71
#define MCF_GPIO_SETEH                       (*(vuint8 *)(&__IPSBAR[0x100032]))
72
#define MCF_GPIO_CLREH                       (*(vuint8 *)(&__IPSBAR[0x100046]))
73
 
74
#define MCF_GPIO_PORTEL                      (*(vuint8 *)(&__IPSBAR[0x10000B]))
75
#define MCF_GPIO_DDREL                       (*(vuint8 *)(&__IPSBAR[0x10001F]))
76
#define MCF_GPIO_SETEL                       (*(vuint8 *)(&__IPSBAR[0x100033]))
77
#define MCF_GPIO_CLREL                       (*(vuint8 *)(&__IPSBAR[0x100047]))
78
 
79
#define MCF_GPIO_PORTAS                      (*(vuint8 *)(&__IPSBAR[0x10000C]))
80
#define MCF_GPIO_DDRAS                       (*(vuint8 *)(&__IPSBAR[0x100020]))
81
#define MCF_GPIO_SETAS                       (*(vuint8 *)(&__IPSBAR[0x100034]))
82
#define MCF_GPIO_CLRAS                       (*(vuint8 *)(&__IPSBAR[0x100048]))
83
 
84
#define MCF_GPIO_PORTQS                      (*(vuint8 *)(&__IPSBAR[0x10000D]))
85
#define MCF_GPIO_DDRQS                       (*(vuint8 *)(&__IPSBAR[0x100021]))
86
#define MCF_GPIO_SETQS                       (*(vuint8 *)(&__IPSBAR[0x100035]))
87
#define MCF_GPIO_CLRQS                       (*(vuint8 *)(&__IPSBAR[0x100049]))
88
 
89
#define MCF_GPIO_PORTSD                      (*(vuint8 *)(&__IPSBAR[0x10000E]))
90
#define MCF_GPIO_DDRSD                       (*(vuint8 *)(&__IPSBAR[0x100022]))
91
#define MCF_GPIO_SETSD                       (*(vuint8 *)(&__IPSBAR[0x100036]))
92
#define MCF_GPIO_CLRSD                       (*(vuint8 *)(&__IPSBAR[0x10004A]))
93
 
94
#define MCF_GPIO_PORTTC                      (*(vuint8 *)(&__IPSBAR[0x10000F]))
95
#define MCF_GPIO_DDRTC                       (*(vuint8 *)(&__IPSBAR[0x100023]))
96
#define MCF_GPIO_SETTC                       (*(vuint8 *)(&__IPSBAR[0x100037]))
97
#define MCF_GPIO_CLRTC                       (*(vuint8 *)(&__IPSBAR[0x10004B]))
98
 
99
#define MCF_GPIO_PORTTD                      (*(vuint8 *)(&__IPSBAR[0x100010]))
100
#define MCF_GPIO_DDRTD                       (*(vuint8 *)(&__IPSBAR[0x100024]))
101
#define MCF_GPIO_SETTD                       (*(vuint8 *)(&__IPSBAR[0x100038]))
102
#define MCF_GPIO_CLRTD                       (*(vuint8 *)(&__IPSBAR[0x10004C]))
103
 
104
#define MCF_GPIO_PORTUA                      (*(vuint8 *)(&__IPSBAR[0x100011]))
105
#define MCF_GPIO_DDRUA                       (*(vuint8 *)(&__IPSBAR[0x100025]))
106
#define MCF_GPIO_SETUA                       (*(vuint8 *)(&__IPSBAR[0x100039]))
107
#define MCF_GPIO_CLRUA                       (*(vuint8 *)(&__IPSBAR[0x10004D]))
108
 
109
 
110
 
111
/* Bit definitions and macros for MCF_GPIO_PORTA */
112
#define MCF_GPIO_PORTA_PORTA0                (0x1)
113
#define MCF_GPIO_PORTA_PORTA1                (0x2)
114
#define MCF_GPIO_PORTA_PORTA2                (0x4)
115
#define MCF_GPIO_PORTA_PORTA3                (0x8)
116
#define MCF_GPIO_PORTA_PORTA4                (0x10)
117
#define MCF_GPIO_PORTA_PORTA5                (0x20)
118
#define MCF_GPIO_PORTA_PORTA6                (0x40)
119
#define MCF_GPIO_PORTA_PORTA7                (0x80)
120
 
121
/* Bit definitions and macros for MCF_GPIO_DDRA */
122
#define MCF_GPIO_DDRA_DDRA0                  (0x1)
123
#define MCF_GPIO_DDRA_DDRA1                  (0x2)
124
#define MCF_GPIO_DDRA_DDRA2                  (0x4)
125
#define MCF_GPIO_DDRA_DDRA3                  (0x8)
126
#define MCF_GPIO_DDRA_DDRA4                  (0x10)
127
#define MCF_GPIO_DDRA_DDRA5                  (0x20)
128
#define MCF_GPIO_DDRA_DDRA6                  (0x40)
129
#define MCF_GPIO_DDRA_DDRA7                  (0x80)
130
 
131
/* Bit definitions and macros for MCF_GPIO_SETA */
132
#define MCF_GPIO_SETA_SETA0                  (0x1)
133
#define MCF_GPIO_SETA_SETA1                  (0x2)
134
#define MCF_GPIO_SETA_SETA2                  (0x4)
135
#define MCF_GPIO_SETA_SETA3                  (0x8)
136
#define MCF_GPIO_SETA_SETA4                  (0x10)
137
#define MCF_GPIO_SETA_SETA5                  (0x20)
138
#define MCF_GPIO_SETA_SETA6                  (0x40)
139
#define MCF_GPIO_SETA_SETA7                  (0x80)
140
 
141
/* Bit definitions and macros for MCF_GPIO_CLRA */
142
#define MCF_GPIO_CLRA_CLRA0                  (0x1)
143
#define MCF_GPIO_CLRA_CLRA1                  (0x2)
144
#define MCF_GPIO_CLRA_CLRA2                  (0x4)
145
#define MCF_GPIO_CLRA_CLRA3                  (0x8)
146
#define MCF_GPIO_CLRA_CLRA4                  (0x10)
147
#define MCF_GPIO_CLRA_CLRA5                  (0x20)
148
#define MCF_GPIO_CLRA_CLRA6                  (0x40)
149
#define MCF_GPIO_CLRA_CLRA7                  (0x80)
150
 
151
/* Bit definitions and macros for MCF_GPIO_PORTB */
152
#define MCF_GPIO_PORTB_PORTB0                (0x1)
153
#define MCF_GPIO_PORTB_PORTB1                (0x2)
154
#define MCF_GPIO_PORTB_PORTB2                (0x4)
155
#define MCF_GPIO_PORTB_PORTB3                (0x8)
156
#define MCF_GPIO_PORTB_PORTB4                (0x10)
157
#define MCF_GPIO_PORTB_PORTB5                (0x20)
158
#define MCF_GPIO_PORTB_PORTB6                (0x40)
159
#define MCF_GPIO_PORTB_PORTB7                (0x80)
160
 
161
/* Bit definitions and macros for MCF_GPIO_DDRB */
162
#define MCF_GPIO_DDRB_DDRB0                  (0x1)
163
#define MCF_GPIO_DDRB_DDRB1                  (0x2)
164
#define MCF_GPIO_DDRB_DDRB2                  (0x4)
165
#define MCF_GPIO_DDRB_DDRB3                  (0x8)
166
#define MCF_GPIO_DDRB_DDRB4                  (0x10)
167
#define MCF_GPIO_DDRB_DDRB5                  (0x20)
168
#define MCF_GPIO_DDRB_DDRB6                  (0x40)
169
#define MCF_GPIO_DDRB_DDRB7                  (0x80)
170
 
171
/* Bit definitions and macros for MCF_GPIO_SETB */
172
#define MCF_GPIO_SETB_SETB0                  (0x1)
173
#define MCF_GPIO_SETB_SETB1                  (0x2)
174
#define MCF_GPIO_SETB_SETB2                  (0x4)
175
#define MCF_GPIO_SETB_SETB3                  (0x8)
176
#define MCF_GPIO_SETB_SETB4                  (0x10)
177
#define MCF_GPIO_SETB_SETB5                  (0x20)
178
#define MCF_GPIO_SETB_SETB6                  (0x40)
179
#define MCF_GPIO_SETB_SETB7                  (0x80)
180
 
181
/* Bit definitions and macros for MCF_GPIO_CLRB */
182
#define MCF_GPIO_CLRB_CLRB0                  (0x1)
183
#define MCF_GPIO_CLRB_CLRB1                  (0x2)
184
#define MCF_GPIO_CLRB_CLRB2                  (0x4)
185
#define MCF_GPIO_CLRB_CLRB3                  (0x8)
186
#define MCF_GPIO_CLRB_CLRB4                  (0x10)
187
#define MCF_GPIO_CLRB_CLRB5                  (0x20)
188
#define MCF_GPIO_CLRB_CLRB6                  (0x40)
189
#define MCF_GPIO_CLRB_CLRB7                  (0x80)
190
 
191
/* Bit definitions and macros for MCF_GPIO_PORTC */
192
#define MCF_GPIO_PORTC_PORTC0                (0x1)
193
#define MCF_GPIO_PORTC_PORTC1                (0x2)
194
#define MCF_GPIO_PORTC_PORTC2                (0x4)
195
#define MCF_GPIO_PORTC_PORTC3                (0x8)
196
#define MCF_GPIO_PORTC_PORTC4                (0x10)
197
#define MCF_GPIO_PORTC_PORTC5                (0x20)
198
#define MCF_GPIO_PORTC_PORTC6                (0x40)
199
#define MCF_GPIO_PORTC_PORTC7                (0x80)
200
 
201
/* Bit definitions and macros for MCF_GPIO_DDRC */
202
#define MCF_GPIO_DDRC_DDRC0                  (0x1)
203
#define MCF_GPIO_DDRC_DDRC1                  (0x2)
204
#define MCF_GPIO_DDRC_DDRC2                  (0x4)
205
#define MCF_GPIO_DDRC_DDRC3                  (0x8)
206
#define MCF_GPIO_DDRC_DDRC4                  (0x10)
207
#define MCF_GPIO_DDRC_DDRC5                  (0x20)
208
#define MCF_GPIO_DDRC_DDRC6                  (0x40)
209
#define MCF_GPIO_DDRC_DDRC7                  (0x80)
210
 
211
/* Bit definitions and macros for MCF_GPIO_SETC */
212
#define MCF_GPIO_SETC_SETC0                  (0x1)
213
#define MCF_GPIO_SETC_SETC1                  (0x2)
214
#define MCF_GPIO_SETC_SETC2                  (0x4)
215
#define MCF_GPIO_SETC_SETC3                  (0x8)
216
#define MCF_GPIO_SETC_SETC4                  (0x10)
217
#define MCF_GPIO_SETC_SETC5                  (0x20)
218
#define MCF_GPIO_SETC_SETC6                  (0x40)
219
#define MCF_GPIO_SETC_SETC7                  (0x80)
220
 
221
/* Bit definitions and macros for MCF_GPIO_CLRC */
222
#define MCF_GPIO_CLRC_CLRC0                  (0x1)
223
#define MCF_GPIO_CLRC_CLRC1                  (0x2)
224
#define MCF_GPIO_CLRC_CLRC2                  (0x4)
225
#define MCF_GPIO_CLRC_CLRC3                  (0x8)
226
#define MCF_GPIO_CLRC_CLRC4                  (0x10)
227
#define MCF_GPIO_CLRC_CLRC5                  (0x20)
228
#define MCF_GPIO_CLRC_CLRC6                  (0x40)
229
#define MCF_GPIO_CLRC_CLRC7                  (0x80)
230
 
231
/* Bit definitions and macros for MCF_GPIO_PORTD */
232
#define MCF_GPIO_PORTD_PORTD0                (0x1)
233
#define MCF_GPIO_PORTD_PORTD1                (0x2)
234
#define MCF_GPIO_PORTD_PORTD2                (0x4)
235
#define MCF_GPIO_PORTD_PORTD3                (0x8)
236
#define MCF_GPIO_PORTD_PORTD4                (0x10)
237
#define MCF_GPIO_PORTD_PORTD5                (0x20)
238
#define MCF_GPIO_PORTD_PORTD6                (0x40)
239
#define MCF_GPIO_PORTD_PORTD7                (0x80)
240
 
241
/* Bit definitions and macros for MCF_GPIO_DDRD */
242
#define MCF_GPIO_DDRD_DDRD0                  (0x1)
243
#define MCF_GPIO_DDRD_DDRD1                  (0x2)
244
#define MCF_GPIO_DDRD_DDRD2                  (0x4)
245
#define MCF_GPIO_DDRD_DDRD3                  (0x8)
246
#define MCF_GPIO_DDRD_DDRD4                  (0x10)
247
#define MCF_GPIO_DDRD_DDRD5                  (0x20)
248
#define MCF_GPIO_DDRD_DDRD6                  (0x40)
249
#define MCF_GPIO_DDRD_DDRD7                  (0x80)
250
 
251
/* Bit definitions and macros for MCF_GPIO_SETD */
252
#define MCF_GPIO_SETD_SETD0                  (0x1)
253
#define MCF_GPIO_SETD_SETD1                  (0x2)
254
#define MCF_GPIO_SETD_SETD2                  (0x4)
255
#define MCF_GPIO_SETD_SETD3                  (0x8)
256
#define MCF_GPIO_SETD_SETD4                  (0x10)
257
#define MCF_GPIO_SETD_SETD5                  (0x20)
258
#define MCF_GPIO_SETD_SETD6                  (0x40)
259
#define MCF_GPIO_SETD_SETD7                  (0x80)
260
 
261
/* Bit definitions and macros for MCF_GPIO_CLRD */
262
#define MCF_GPIO_CLRD_CLRD0                  (0x1)
263
#define MCF_GPIO_CLRD_CLRD1                  (0x2)
264
#define MCF_GPIO_CLRD_CLRD2                  (0x4)
265
#define MCF_GPIO_CLRD_CLRD3                  (0x8)
266
#define MCF_GPIO_CLRD_CLRD4                  (0x10)
267
#define MCF_GPIO_CLRD_CLRD5                  (0x20)
268
#define MCF_GPIO_CLRD_CLRD6                  (0x40)
269
#define MCF_GPIO_CLRD_CLRD7                  (0x80)
270
 
271
/* Bit definitions and macros for MCF_GPIO_PORTE */
272
#define MCF_GPIO_PORTE_PORTE0                (0x1)
273
#define MCF_GPIO_PORTE_PORTE1                (0x2)
274
#define MCF_GPIO_PORTE_PORTE2                (0x4)
275
#define MCF_GPIO_PORTE_PORTE3                (0x8)
276
#define MCF_GPIO_PORTE_PORTE4                (0x10)
277
#define MCF_GPIO_PORTE_PORTE5                (0x20)
278
#define MCF_GPIO_PORTE_PORTE6                (0x40)
279
#define MCF_GPIO_PORTE_PORTE7                (0x80)
280
 
281
/* Bit definitions and macros for MCF_GPIO_DDRE */
282
#define MCF_GPIO_DDRE_DDRE0                  (0x1)
283
#define MCF_GPIO_DDRE_DDRE1                  (0x2)
284
#define MCF_GPIO_DDRE_DDRE2                  (0x4)
285
#define MCF_GPIO_DDRE_DDRE3                  (0x8)
286
#define MCF_GPIO_DDRE_DDRE4                  (0x10)
287
#define MCF_GPIO_DDRE_DDRE5                  (0x20)
288
#define MCF_GPIO_DDRE_DDRE6                  (0x40)
289
#define MCF_GPIO_DDRE_DDRE7                  (0x80)
290
 
291
/* Bit definitions and macros for MCF_GPIO_SETE */
292
#define MCF_GPIO_SETE_SETE0                  (0x1)
293
#define MCF_GPIO_SETE_SETE1                  (0x2)
294
#define MCF_GPIO_SETE_SETE2                  (0x4)
295
#define MCF_GPIO_SETE_SETE3                  (0x8)
296
#define MCF_GPIO_SETE_SETE4                  (0x10)
297
#define MCF_GPIO_SETE_SETE5                  (0x20)
298
#define MCF_GPIO_SETE_SETE6                  (0x40)
299
#define MCF_GPIO_SETE_SETE7                  (0x80)
300
 
301
/* Bit definitions and macros for MCF_GPIO_CLRE */
302
#define MCF_GPIO_CLRE_CLRE0                  (0x1)
303
#define MCF_GPIO_CLRE_CLRE1                  (0x2)
304
#define MCF_GPIO_CLRE_CLRE2                  (0x4)
305
#define MCF_GPIO_CLRE_CLRE3                  (0x8)
306
#define MCF_GPIO_CLRE_CLRE4                  (0x10)
307
#define MCF_GPIO_CLRE_CLRE5                  (0x20)
308
#define MCF_GPIO_CLRE_CLRE6                  (0x40)
309
#define MCF_GPIO_CLRE_CLRE7                  (0x80)
310
 
311
/* Bit definitions and macros for MCF_GPIO_PORTF */
312
#define MCF_GPIO_PORTF_PORTF0                (0x1)
313
#define MCF_GPIO_PORTF_PORTF1                (0x2)
314
#define MCF_GPIO_PORTF_PORTF2                (0x4)
315
#define MCF_GPIO_PORTF_PORTF3                (0x8)
316
#define MCF_GPIO_PORTF_PORTF4                (0x10)
317
#define MCF_GPIO_PORTF_PORTF5                (0x20)
318
#define MCF_GPIO_PORTF_PORTF6                (0x40)
319
#define MCF_GPIO_PORTF_PORTF7                (0x80)
320
 
321
/* Bit definitions and macros for MCF_GPIO_DDRF */
322
#define MCF_GPIO_DDRF_DDRF0                  (0x1)
323
#define MCF_GPIO_DDRF_DDRF1                  (0x2)
324
#define MCF_GPIO_DDRF_DDRF2                  (0x4)
325
#define MCF_GPIO_DDRF_DDRF3                  (0x8)
326
#define MCF_GPIO_DDRF_DDRF4                  (0x10)
327
#define MCF_GPIO_DDRF_DDRF5                  (0x20)
328
#define MCF_GPIO_DDRF_DDRF6                  (0x40)
329
#define MCF_GPIO_DDRF_DDRF7                  (0x80)
330
 
331
/* Bit definitions and macros for MCF_GPIO_SETF */
332
#define MCF_GPIO_SETF_SETF0                  (0x1)
333
#define MCF_GPIO_SETF_SETF1                  (0x2)
334
#define MCF_GPIO_SETF_SETF2                  (0x4)
335
#define MCF_GPIO_SETF_SETF3                  (0x8)
336
#define MCF_GPIO_SETF_SETF4                  (0x10)
337
#define MCF_GPIO_SETF_SETF5                  (0x20)
338
#define MCF_GPIO_SETF_SETF6                  (0x40)
339
#define MCF_GPIO_SETF_SETF7                  (0x80)
340
 
341
/* Bit definitions and macros for MCF_GPIO_CLRF */
342
#define MCF_GPIO_CLRF_CLRF0                  (0x1)
343
#define MCF_GPIO_CLRF_CLRF1                  (0x2)
344
#define MCF_GPIO_CLRF_CLRF2                  (0x4)
345
#define MCF_GPIO_CLRF_CLRF3                  (0x8)
346
#define MCF_GPIO_CLRF_CLRF4                  (0x10)
347
#define MCF_GPIO_CLRF_CLRF5                  (0x20)
348
#define MCF_GPIO_CLRF_CLRF6                  (0x40)
349
#define MCF_GPIO_CLRF_CLRF7                  (0x80)
350
 
351
/* Bit definitions and macros for MCF_GPIO_PORTG */
352
#define MCF_GPIO_PORTG_PORTG0                (0x1)
353
#define MCF_GPIO_PORTG_PORTG1                (0x2)
354
#define MCF_GPIO_PORTG_PORTG2                (0x4)
355
#define MCF_GPIO_PORTG_PORTG3                (0x8)
356
#define MCF_GPIO_PORTG_PORTG4                (0x10)
357
#define MCF_GPIO_PORTG_PORTG5                (0x20)
358
#define MCF_GPIO_PORTG_PORTG6                (0x40)
359
#define MCF_GPIO_PORTG_PORTG7                (0x80)
360
 
361
/* Bit definitions and macros for MCF_GPIO_DDRG */
362
#define MCF_GPIO_DDRG_DDRG0                  (0x1)
363
#define MCF_GPIO_DDRG_DDRG1                  (0x2)
364
#define MCF_GPIO_DDRG_DDRG2                  (0x4)
365
#define MCF_GPIO_DDRG_DDRG3                  (0x8)
366
#define MCF_GPIO_DDRG_DDRG4                  (0x10)
367
#define MCF_GPIO_DDRG_DDRG5                  (0x20)
368
#define MCF_GPIO_DDRG_DDRG6                  (0x40)
369
#define MCF_GPIO_DDRG_DDRG7                  (0x80)
370
 
371
/* Bit definitions and macros for MCF_GPIO_SETG */
372
#define MCF_GPIO_SETG_SETG0                  (0x1)
373
#define MCF_GPIO_SETG_SETG1                  (0x2)
374
#define MCF_GPIO_SETG_SETG2                  (0x4)
375
#define MCF_GPIO_SETG_SETG3                  (0x8)
376
#define MCF_GPIO_SETG_SETG4                  (0x10)
377
#define MCF_GPIO_SETG_SETG5                  (0x20)
378
#define MCF_GPIO_SETG_SETG6                  (0x40)
379
#define MCF_GPIO_SETG_SETG7                  (0x80)
380
 
381
/* Bit definitions and macros for MCF_GPIO_CLRG */
382
#define MCF_GPIO_CLRG_CLRG0                  (0x1)
383
#define MCF_GPIO_CLRG_CLRG1                  (0x2)
384
#define MCF_GPIO_CLRG_CLRG2                  (0x4)
385
#define MCF_GPIO_CLRG_CLRG3                  (0x8)
386
#define MCF_GPIO_CLRG_CLRG4                  (0x10)
387
#define MCF_GPIO_CLRG_CLRG5                  (0x20)
388
#define MCF_GPIO_CLRG_CLRG6                  (0x40)
389
#define MCF_GPIO_CLRG_CLRG7                  (0x80)
390
 
391
/* Bit definitions and macros for MCF_GPIO_PORTH */
392
#define MCF_GPIO_PORTH_PORTH0                (0x1)
393
#define MCF_GPIO_PORTH_PORTH1                (0x2)
394
#define MCF_GPIO_PORTH_PORTH2                (0x4)
395
#define MCF_GPIO_PORTH_PORTH3                (0x8)
396
#define MCF_GPIO_PORTH_PORTH4                (0x10)
397
#define MCF_GPIO_PORTH_PORTH5                (0x20)
398
#define MCF_GPIO_PORTH_PORTH6                (0x40)
399
#define MCF_GPIO_PORTH_PORTH7                (0x80)
400
 
401
/* Bit definitions and macros for MCF_GPIO_DDRH */
402
#define MCF_GPIO_DDRH_DDRH0                  (0x1)
403
#define MCF_GPIO_DDRH_DDRH1                  (0x2)
404
#define MCF_GPIO_DDRH_DDRH2                  (0x4)
405
#define MCF_GPIO_DDRH_DDRH3                  (0x8)
406
#define MCF_GPIO_DDRH_DDRH4                  (0x10)
407
#define MCF_GPIO_DDRH_DDRH5                  (0x20)
408
#define MCF_GPIO_DDRH_DDRH6                  (0x40)
409
#define MCF_GPIO_DDRH_DDRH7                  (0x80)
410
 
411
/* Bit definitions and macros for MCF_GPIO_SETH */
412
#define MCF_GPIO_SETH_SETH0                  (0x1)
413
#define MCF_GPIO_SETH_SETH1                  (0x2)
414
#define MCF_GPIO_SETH_SETH2                  (0x4)
415
#define MCF_GPIO_SETH_SETH3                  (0x8)
416
#define MCF_GPIO_SETH_SETH4                  (0x10)
417
#define MCF_GPIO_SETH_SETH5                  (0x20)
418
#define MCF_GPIO_SETH_SETH6                  (0x40)
419
#define MCF_GPIO_SETH_SETH7                  (0x80)
420
 
421
/* Bit definitions and macros for MCF_GPIO_CLRH */
422
#define MCF_GPIO_CLRH_CLRH0                  (0x1)
423
#define MCF_GPIO_CLRH_CLRH1                  (0x2)
424
#define MCF_GPIO_CLRH_CLRH2                  (0x4)
425
#define MCF_GPIO_CLRH_CLRH3                  (0x8)
426
#define MCF_GPIO_CLRH_CLRH4                  (0x10)
427
#define MCF_GPIO_CLRH_CLRH5                  (0x20)
428
#define MCF_GPIO_CLRH_CLRH6                  (0x40)
429
#define MCF_GPIO_CLRH_CLRH7                  (0x80)
430
 
431
/* Bit definitions and macros for MCF_GPIO_PORTJ */
432
#define MCF_GPIO_PORTJ_PORTJ0                (0x1)
433
#define MCF_GPIO_PORTJ_PORTJ1                (0x2)
434
#define MCF_GPIO_PORTJ_PORTJ2                (0x4)
435
#define MCF_GPIO_PORTJ_PORTJ3                (0x8)
436
#define MCF_GPIO_PORTJ_PORTJ4                (0x10)
437
#define MCF_GPIO_PORTJ_PORTJ5                (0x20)
438
#define MCF_GPIO_PORTJ_PORTJ6                (0x40)
439
#define MCF_GPIO_PORTJ_PORTJ7                (0x80)
440
 
441
/* Bit definitions and macros for MCF_GPIO_DDRJ */
442
#define MCF_GPIO_DDRJ_DDRJ0                  (0x1)
443
#define MCF_GPIO_DDRJ_DDRJ1                  (0x2)
444
#define MCF_GPIO_DDRJ_DDRJ2                  (0x4)
445
#define MCF_GPIO_DDRJ_DDRJ3                  (0x8)
446
#define MCF_GPIO_DDRJ_DDRJ4                  (0x10)
447
#define MCF_GPIO_DDRJ_DDRJ5                  (0x20)
448
#define MCF_GPIO_DDRJ_DDRJ6                  (0x40)
449
#define MCF_GPIO_DDRJ_DDRJ7                  (0x80)
450
 
451
/* Bit definitions and macros for MCF_GPIO_SETJ */
452
#define MCF_GPIO_SETJ_SETJ0                  (0x1)
453
#define MCF_GPIO_SETJ_SETJ1                  (0x2)
454
#define MCF_GPIO_SETJ_SETJ2                  (0x4)
455
#define MCF_GPIO_SETJ_SETJ3                  (0x8)
456
#define MCF_GPIO_SETJ_SETJ4                  (0x10)
457
#define MCF_GPIO_SETJ_SETJ5                  (0x20)
458
#define MCF_GPIO_SETJ_SETJ6                  (0x40)
459
#define MCF_GPIO_SETJ_SETJ7                  (0x80)
460
 
461
/* Bit definitions and macros for MCF_GPIO_CLRJ */
462
#define MCF_GPIO_CLRJ_CLRJ0                  (0x1)
463
#define MCF_GPIO_CLRJ_CLRJ1                  (0x2)
464
#define MCF_GPIO_CLRJ_CLRJ2                  (0x4)
465
#define MCF_GPIO_CLRJ_CLRJ3                  (0x8)
466
#define MCF_GPIO_CLRJ_CLRJ4                  (0x10)
467
#define MCF_GPIO_CLRJ_CLRJ5                  (0x20)
468
#define MCF_GPIO_CLRJ_CLRJ6                  (0x40)
469
#define MCF_GPIO_CLRJ_CLRJ7                  (0x80)
470
 
471
/* Bit definitions and macros for MCF_GPIO_PORTDD */
472
#define MCF_GPIO_PORTDD_PORTDD0              (0x1)
473
#define MCF_GPIO_PORTDD_PORTDD1              (0x2)
474
#define MCF_GPIO_PORTDD_PORTDD2              (0x4)
475
#define MCF_GPIO_PORTDD_PORTDD3              (0x8)
476
#define MCF_GPIO_PORTDD_PORTDD4              (0x10)
477
#define MCF_GPIO_PORTDD_PORTDD5              (0x20)
478
#define MCF_GPIO_PORTDD_PORTDD6              (0x40)
479
#define MCF_GPIO_PORTDD_PORTDD7              (0x80)
480
 
481
/* Bit definitions and macros for MCF_GPIO_DDRDD */
482
#define MCF_GPIO_DDRDD_DDRDD0                (0x1)
483
#define MCF_GPIO_DDRDD_DDRDD1                (0x2)
484
#define MCF_GPIO_DDRDD_DDRDD2                (0x4)
485
#define MCF_GPIO_DDRDD_DDRDD3                (0x8)
486
#define MCF_GPIO_DDRDD_DDRDD4                (0x10)
487
#define MCF_GPIO_DDRDD_DDRDD5                (0x20)
488
#define MCF_GPIO_DDRDD_DDRDD6                (0x40)
489
#define MCF_GPIO_DDRDD_DDRDD7                (0x80)
490
 
491
/* Bit definitions and macros for MCF_GPIO_SETDD */
492
#define MCF_GPIO_SETDD_SETDD0                (0x1)
493
#define MCF_GPIO_SETDD_SETDD1                (0x2)
494
#define MCF_GPIO_SETDD_SETDD2                (0x4)
495
#define MCF_GPIO_SETDD_SETDD3                (0x8)
496
#define MCF_GPIO_SETDD_SETDD4                (0x10)
497
#define MCF_GPIO_SETDD_SETDD5                (0x20)
498
#define MCF_GPIO_SETDD_SETDD6                (0x40)
499
#define MCF_GPIO_SETDD_SETDD7                (0x80)
500
 
501
/* Bit definitions and macros for MCF_GPIO_CLRDD */
502
#define MCF_GPIO_CLRDD_CLRDD0                (0x1)
503
#define MCF_GPIO_CLRDD_CLRDD1                (0x2)
504
#define MCF_GPIO_CLRDD_CLRDD2                (0x4)
505
#define MCF_GPIO_CLRDD_CLRDD3                (0x8)
506
#define MCF_GPIO_CLRDD_CLRDD4                (0x10)
507
#define MCF_GPIO_CLRDD_CLRDD5                (0x20)
508
#define MCF_GPIO_CLRDD_CLRDD6                (0x40)
509
#define MCF_GPIO_CLRDD_CLRDD7                (0x80)
510
 
511
/* Bit definitions and macros for MCF_GPIO_PORTEH */
512
#define MCF_GPIO_PORTEH_PORTEH0              (0x1)
513
#define MCF_GPIO_PORTEH_PORTEH1              (0x2)
514
#define MCF_GPIO_PORTEH_PORTEH2              (0x4)
515
#define MCF_GPIO_PORTEH_PORTEH3              (0x8)
516
#define MCF_GPIO_PORTEH_PORTEH4              (0x10)
517
#define MCF_GPIO_PORTEH_PORTEH5              (0x20)
518
#define MCF_GPIO_PORTEH_PORTEH6              (0x40)
519
#define MCF_GPIO_PORTEH_PORTEH7              (0x80)
520
 
521
/* Bit definitions and macros for MCF_GPIO_DDREH */
522
#define MCF_GPIO_DDREH_DDREH0                (0x1)
523
#define MCF_GPIO_DDREH_DDREH1                (0x2)
524
#define MCF_GPIO_DDREH_DDREH2                (0x4)
525
#define MCF_GPIO_DDREH_DDREH3                (0x8)
526
#define MCF_GPIO_DDREH_DDREH4                (0x10)
527
#define MCF_GPIO_DDREH_DDREH5                (0x20)
528
#define MCF_GPIO_DDREH_DDREH6                (0x40)
529
#define MCF_GPIO_DDREH_DDREH7                (0x80)
530
 
531
/* Bit definitions and macros for MCF_GPIO_SETEH */
532
#define MCF_GPIO_SETEH_SETEH0                (0x1)
533
#define MCF_GPIO_SETEH_SETEH1                (0x2)
534
#define MCF_GPIO_SETEH_SETEH2                (0x4)
535
#define MCF_GPIO_SETEH_SETEH3                (0x8)
536
#define MCF_GPIO_SETEH_SETEH4                (0x10)
537
#define MCF_GPIO_SETEH_SETEH5                (0x20)
538
#define MCF_GPIO_SETEH_SETEH6                (0x40)
539
#define MCF_GPIO_SETEH_SETEH7                (0x80)
540
 
541
/* Bit definitions and macros for MCF_GPIO_CLREH */
542
#define MCF_GPIO_CLREH_CLREH0                (0x1)
543
#define MCF_GPIO_CLREH_CLREH1                (0x2)
544
#define MCF_GPIO_CLREH_CLREH2                (0x4)
545
#define MCF_GPIO_CLREH_CLREH3                (0x8)
546
#define MCF_GPIO_CLREH_CLREH4                (0x10)
547
#define MCF_GPIO_CLREH_CLREH5                (0x20)
548
#define MCF_GPIO_CLREH_CLREH6                (0x40)
549
#define MCF_GPIO_CLREH_CLREH7                (0x80)
550
 
551
/* Bit definitions and macros for MCF_GPIO_PORTEL */
552
#define MCF_GPIO_PORTEL_PORTEL0              (0x1)
553
#define MCF_GPIO_PORTEL_PORTEL1              (0x2)
554
#define MCF_GPIO_PORTEL_PORTEL2              (0x4)
555
#define MCF_GPIO_PORTEL_PORTEL3              (0x8)
556
#define MCF_GPIO_PORTEL_PORTEL4              (0x10)
557
#define MCF_GPIO_PORTEL_PORTEL5              (0x20)
558
#define MCF_GPIO_PORTEL_PORTEL6              (0x40)
559
#define MCF_GPIO_PORTEL_PORTEL7              (0x80)
560
 
561
/* Bit definitions and macros for MCF_GPIO_DDREL */
562
#define MCF_GPIO_DDREL_DDREL0                (0x1)
563
#define MCF_GPIO_DDREL_DDREL1                (0x2)
564
#define MCF_GPIO_DDREL_DDREL2                (0x4)
565
#define MCF_GPIO_DDREL_DDREL3                (0x8)
566
#define MCF_GPIO_DDREL_DDREL4                (0x10)
567
#define MCF_GPIO_DDREL_DDREL5                (0x20)
568
#define MCF_GPIO_DDREL_DDREL6                (0x40)
569
#define MCF_GPIO_DDREL_DDREL7                (0x80)
570
 
571
/* Bit definitions and macros for MCF_GPIO_SETEL */
572
#define MCF_GPIO_SETEL_SETEL0                (0x1)
573
#define MCF_GPIO_SETEL_SETEL1                (0x2)
574
#define MCF_GPIO_SETEL_SETEL2                (0x4)
575
#define MCF_GPIO_SETEL_SETEL3                (0x8)
576
#define MCF_GPIO_SETEL_SETEL4                (0x10)
577
#define MCF_GPIO_SETEL_SETEL5                (0x20)
578
#define MCF_GPIO_SETEL_SETEL6                (0x40)
579
#define MCF_GPIO_SETEL_SETEL7                (0x80)
580
 
581
/* Bit definitions and macros for MCF_GPIO_CLREL */
582
#define MCF_GPIO_CLREL_CLREL0                (0x1)
583
#define MCF_GPIO_CLREL_CLREL1                (0x2)
584
#define MCF_GPIO_CLREL_CLREL2                (0x4)
585
#define MCF_GPIO_CLREL_CLREL3                (0x8)
586
#define MCF_GPIO_CLREL_CLREL4                (0x10)
587
#define MCF_GPIO_CLREL_CLREL5                (0x20)
588
#define MCF_GPIO_CLREL_CLREL6                (0x40)
589
#define MCF_GPIO_CLREL_CLREL7                (0x80)
590
 
591
/* Bit definitions and macros for MCF_GPIO_PORTAS */
592
#define MCF_GPIO_PORTAS_PORTAS0              (0x1)
593
#define MCF_GPIO_PORTAS_PORTAS1              (0x2)
594
#define MCF_GPIO_PORTAS_PORTAS2              (0x4)
595
#define MCF_GPIO_PORTAS_PORTAS3              (0x8)
596
#define MCF_GPIO_PORTAS_PORTAS4              (0x10)
597
#define MCF_GPIO_PORTAS_PORTAS5              (0x20)
598
 
599
/* Bit definitions and macros for MCF_GPIO_DDRAS */
600
#define MCF_GPIO_DDRAS_DDRAS0                (0x1)
601
#define MCF_GPIO_DDRAS_DDRAS1                (0x2)
602
#define MCF_GPIO_DDRAS_DDRAS2                (0x4)
603
#define MCF_GPIO_DDRAS_DDRAS3                (0x8)
604
#define MCF_GPIO_DDRAS_DDRAS4                (0x10)
605
#define MCF_GPIO_DDRAS_DDRAS5                (0x20)
606
 
607
/* Bit definitions and macros for MCF_GPIO_SETAS */
608
#define MCF_GPIO_SETAS_SETAS0                (0x1)
609
#define MCF_GPIO_SETAS_SETAS1                (0x2)
610
#define MCF_GPIO_SETAS_SETAS2                (0x4)
611
#define MCF_GPIO_SETAS_SETAS3                (0x8)
612
#define MCF_GPIO_SETAS_SETAS4                (0x10)
613
#define MCF_GPIO_SETAS_SETAS5                (0x20)
614
 
615
/* Bit definitions and macros for MCF_GPIO_CLRAS */
616
#define MCF_GPIO_CLRAS_CLRAS0                (0x1)
617
#define MCF_GPIO_CLRAS_CLRAS1                (0x2)
618
#define MCF_GPIO_CLRAS_CLRAS2                (0x4)
619
#define MCF_GPIO_CLRAS_CLRAS3                (0x8)
620
#define MCF_GPIO_CLRAS_CLRAS4                (0x10)
621
#define MCF_GPIO_CLRAS_CLRAS5                (0x20)
622
 
623
/* Bit definitions and macros for MCF_GPIO_PORTQS */
624
#define MCF_GPIO_PORTQS_PORTQS0              (0x1)
625
#define MCF_GPIO_PORTQS_PORTQS1              (0x2)
626
#define MCF_GPIO_PORTQS_PORTQS2              (0x4)
627
#define MCF_GPIO_PORTQS_PORTQS3              (0x8)
628
#define MCF_GPIO_PORTQS_PORTQS4              (0x10)
629
#define MCF_GPIO_PORTQS_PORTQS5              (0x20)
630
#define MCF_GPIO_PORTQS_PORTQS6              (0x40)
631
 
632
/* Bit definitions and macros for MCF_GPIO_DDRQS */
633
#define MCF_GPIO_DDRQS_DDRQS0                (0x1)
634
#define MCF_GPIO_DDRQS_DDRQS1                (0x2)
635
#define MCF_GPIO_DDRQS_DDRQS2                (0x4)
636
#define MCF_GPIO_DDRQS_DDRQS3                (0x8)
637
#define MCF_GPIO_DDRQS_DDRQS4                (0x10)
638
#define MCF_GPIO_DDRQS_DDRQS5                (0x20)
639
#define MCF_GPIO_DDRQS_DDRQS6                (0x40)
640
 
641
/* Bit definitions and macros for MCF_GPIO_SETQS */
642
#define MCF_GPIO_SETQS_SETQS0                (0x1)
643
#define MCF_GPIO_SETQS_SETQS1                (0x2)
644
#define MCF_GPIO_SETQS_SETQS2                (0x4)
645
#define MCF_GPIO_SETQS_SETQS3                (0x8)
646
#define MCF_GPIO_SETQS_SETQS4                (0x10)
647
#define MCF_GPIO_SETQS_SETQS5                (0x20)
648
#define MCF_GPIO_SETQS_SETQS6                (0x40)
649
 
650
/* Bit definitions and macros for MCF_GPIO_CLRQS */
651
#define MCF_GPIO_CLRQS_CLRQS0                (0x1)
652
#define MCF_GPIO_CLRQS_CLRQS1                (0x2)
653
#define MCF_GPIO_CLRQS_CLRQS2                (0x4)
654
#define MCF_GPIO_CLRQS_CLRQS3                (0x8)
655
#define MCF_GPIO_CLRQS_CLRQS4                (0x10)
656
#define MCF_GPIO_CLRQS_CLRQS5                (0x20)
657
#define MCF_GPIO_CLRQS_CLRQS6                (0x40)
658
 
659
/* Bit definitions and macros for MCF_GPIO_PORTSD */
660
#define MCF_GPIO_PORTSD_PORTSD0              (0x1)
661
#define MCF_GPIO_PORTSD_PORTSD1              (0x2)
662
#define MCF_GPIO_PORTSD_PORTSD2              (0x4)
663
#define MCF_GPIO_PORTSD_PORTSD3              (0x8)
664
#define MCF_GPIO_PORTSD_PORTSD4              (0x10)
665
#define MCF_GPIO_PORTSD_PORTSD5              (0x20)
666
 
667
/* Bit definitions and macros for MCF_GPIO_DDRSD */
668
#define MCF_GPIO_DDRSD_DDRSD0                (0x1)
669
#define MCF_GPIO_DDRSD_DDRSD1                (0x2)
670
#define MCF_GPIO_DDRSD_DDRSD2                (0x4)
671
#define MCF_GPIO_DDRSD_DDRSD3                (0x8)
672
#define MCF_GPIO_DDRSD_DDRSD4                (0x10)
673
#define MCF_GPIO_DDRSD_DDRSD5                (0x20)
674
 
675
/* Bit definitions and macros for MCF_GPIO_SETSD */
676
#define MCF_GPIO_SETSD_SETSD0                (0x1)
677
#define MCF_GPIO_SETSD_SETSD1                (0x2)
678
#define MCF_GPIO_SETSD_SETSD2                (0x4)
679
#define MCF_GPIO_SETSD_SETSD3                (0x8)
680
#define MCF_GPIO_SETSD_SETSD4                (0x10)
681
#define MCF_GPIO_SETSD_SETSD5                (0x20)
682
 
683
/* Bit definitions and macros for MCF_GPIO_CLRSD */
684
#define MCF_GPIO_CLRSD_CLRSD0                (0x1)
685
#define MCF_GPIO_CLRSD_CLRSD1                (0x2)
686
#define MCF_GPIO_CLRSD_CLRSD2                (0x4)
687
#define MCF_GPIO_CLRSD_CLRSD3                (0x8)
688
#define MCF_GPIO_CLRSD_CLRSD4                (0x10)
689
#define MCF_GPIO_CLRSD_CLRSD5                (0x20)
690
 
691
/* Bit definitions and macros for MCF_GPIO_PORTTC */
692
#define MCF_GPIO_PORTTC_PORTTC0              (0x1)
693
#define MCF_GPIO_PORTTC_PORTTC1              (0x2)
694
#define MCF_GPIO_PORTTC_PORTTC2              (0x4)
695
#define MCF_GPIO_PORTTC_PORTTC3              (0x8)
696
 
697
/* Bit definitions and macros for MCF_GPIO_DDRTC */
698
#define MCF_GPIO_DDRTC_DDRTC0                (0x1)
699
#define MCF_GPIO_DDRTC_DDRTC1                (0x2)
700
#define MCF_GPIO_DDRTC_DDRTC2                (0x4)
701
#define MCF_GPIO_DDRTC_DDRTC3                (0x8)
702
 
703
/* Bit definitions and macros for MCF_GPIO_SETTC */
704
#define MCF_GPIO_SETTC_SETTC0                (0x1)
705
#define MCF_GPIO_SETTC_SETTC1                (0x2)
706
#define MCF_GPIO_SETTC_SETTC2                (0x4)
707
#define MCF_GPIO_SETTC_SETTC3                (0x8)
708
 
709
/* Bit definitions and macros for MCF_GPIO_CLRTC */
710
#define MCF_GPIO_CLRTC_CLRTC0                (0x1)
711
#define MCF_GPIO_CLRTC_CLRTC1                (0x2)
712
#define MCF_GPIO_CLRTC_CLRTC2                (0x4)
713
#define MCF_GPIO_CLRTC_CLRTC3                (0x8)
714
 
715
/* Bit definitions and macros for MCF_GPIO_PORTTD */
716
#define MCF_GPIO_PORTTD_PORTTD0              (0x1)
717
#define MCF_GPIO_PORTTD_PORTTD1              (0x2)
718
#define MCF_GPIO_PORTTD_PORTTD2              (0x4)
719
#define MCF_GPIO_PORTTD_PORTTD3              (0x8)
720
 
721
/* Bit definitions and macros for MCF_GPIO_DDRTD */
722
#define MCF_GPIO_DDRTD_DDRTD0                (0x1)
723
#define MCF_GPIO_DDRTD_DDRTD1                (0x2)
724
#define MCF_GPIO_DDRTD_DDRTD2                (0x4)
725
#define MCF_GPIO_DDRTD_DDRTD3                (0x8)
726
 
727
/* Bit definitions and macros for MCF_GPIO_SETTD */
728
#define MCF_GPIO_SETTD_SETTD0                (0x1)
729
#define MCF_GPIO_SETTD_SETTD1                (0x2)
730
#define MCF_GPIO_SETTD_SETTD2                (0x4)
731
#define MCF_GPIO_SETTD_SETTD3                (0x8)
732
 
733
/* Bit definitions and macros for MCF_GPIO_CLRTD */
734
#define MCF_GPIO_CLRTD_CLRTD0                (0x1)
735
#define MCF_GPIO_CLRTD_CLRTD1                (0x2)
736
#define MCF_GPIO_CLRTD_CLRTD2                (0x4)
737
#define MCF_GPIO_CLRTD_CLRTD3                (0x8)
738
 
739
/* Bit definitions and macros for MCF_GPIO_PORTUA */
740
#define MCF_GPIO_PORTUA_PORTUA0              (0x1)
741
#define MCF_GPIO_PORTUA_PORTUA1              (0x2)
742
#define MCF_GPIO_PORTUA_PORTUA2              (0x4)
743
#define MCF_GPIO_PORTUA_PORTUA3              (0x8)
744
 
745
/* Bit definitions and macros for MCF_GPIO_DDRUA */
746
#define MCF_GPIO_DDRUA_DDRUA0                (0x1)
747
#define MCF_GPIO_DDRUA_DDRUA1                (0x2)
748
#define MCF_GPIO_DDRUA_DDRUA2                (0x4)
749
#define MCF_GPIO_DDRUA_DDRUA3                (0x8)
750
 
751
/* Bit definitions and macros for MCF_GPIO_SETUA */
752
#define MCF_GPIO_SETUA_SETUA0                (0x1)
753
#define MCF_GPIO_SETUA_SETUA1                (0x2)
754
#define MCF_GPIO_SETUA_SETUA2                (0x4)
755
#define MCF_GPIO_SETUA_SETUA3                (0x8)
756
 
757
/* Bit definitions and macros for MCF_GPIO_CLRUA */
758
#define MCF_GPIO_CLRUA_CLRUA0                (0x1)
759
#define MCF_GPIO_CLRUA_CLRUA1                (0x2)
760
#define MCF_GPIO_CLRUA_CLRUA2                (0x4)
761
#define MCF_GPIO_CLRUA_CLRUA3                (0x8)
762
 
763
 
764
#endif /* __MCF5282_GPIO_H__ */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.