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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [ColdFire_MCF52221_CodeWarrior/] [headers/] [MCF52221_PAD.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
 * 2008/05/23 Revision: 0.95
6
 *
7
 * (c) Copyright UNIS, a.s. 1997-2008
8
 * UNIS, a.s.
9
 * Jundrovska 33
10
 * 624 00 Brno
11
 * Czech Republic
12
 * http      : www.processorexpert.com
13
 * mail      : info@processorexpert.com
14
 */
15
 
16
#ifndef __MCF52221_PAD_H__
17
#define __MCF52221_PAD_H__
18
 
19
 
20
/*********************************************************************
21
*
22
* Common GPIO
23
*
24
*********************************************************************/
25
 
26
/* Register read/write macros */
27
#define MCF_PAD_PSRR                         (*(vuint32*)(0x40100078))
28
#define MCF_PAD_PDSR                         (*(vuint32*)(0x4010007C))
29
 
30
 
31
/* Bit definitions and macros for MCF_PAD_PSRR */
32
#define MCF_PAD_PSRR_PSRR0                   (0x1)
33
#define MCF_PAD_PSRR_PSRR1                   (0x2)
34
#define MCF_PAD_PSRR_PSRR2                   (0x4)
35
#define MCF_PAD_PSRR_PSRR3                   (0x8)
36
#define MCF_PAD_PSRR_PSRR4                   (0x10)
37
#define MCF_PAD_PSRR_PSRR5                   (0x20)
38
#define MCF_PAD_PSRR_PSRR6                   (0x40)
39
#define MCF_PAD_PSRR_PSRR7                   (0x80)
40
#define MCF_PAD_PSRR_PSRR8                   (0x100)
41
#define MCF_PAD_PSRR_PSRR9                   (0x200)
42
#define MCF_PAD_PSRR_PSRR10                  (0x400)
43
#define MCF_PAD_PSRR_PSRR11                  (0x800)
44
#define MCF_PAD_PSRR_PSRR12                  (0x1000)
45
#define MCF_PAD_PSRR_PSRR13                  (0x2000)
46
#define MCF_PAD_PSRR_PSRR14                  (0x4000)
47
#define MCF_PAD_PSRR_PSRR15                  (0x8000)
48
#define MCF_PAD_PSRR_PSRR16                  (0x10000)
49
#define MCF_PAD_PSRR_PSRR17                  (0x20000)
50
#define MCF_PAD_PSRR_PSRR18                  (0x40000)
51
#define MCF_PAD_PSRR_PSRR19                  (0x80000)
52
#define MCF_PAD_PSRR_PSRR20                  (0x100000)
53
#define MCF_PAD_PSRR_PSRR21                  (0x200000)
54
#define MCF_PAD_PSRR_PSRR22                  (0x400000)
55
#define MCF_PAD_PSRR_PSRR23                  (0x800000)
56
#define MCF_PAD_PSRR_PSRR24                  (0x1000000)
57
#define MCF_PAD_PSRR_PSRR25                  (0x2000000)
58
#define MCF_PAD_PSRR_PSRR26                  (0x4000000)
59
#define MCF_PAD_PSRR_PSRR27                  (0x8000000)
60
 
61
/* Bit definitions and macros for MCF_PAD_PDSR */
62
#define MCF_PAD_PDSR_PDSR0                   (0x1)
63
#define MCF_PAD_PDSR_PDSR1                   (0x2)
64
#define MCF_PAD_PDSR_PDSR2                   (0x4)
65
#define MCF_PAD_PDSR_PDSR3                   (0x8)
66
#define MCF_PAD_PDSR_PDSR4                   (0x10)
67
#define MCF_PAD_PDSR_PDSR5                   (0x20)
68
#define MCF_PAD_PDSR_PDSR6                   (0x40)
69
#define MCF_PAD_PDSR_PDSR7                   (0x80)
70
#define MCF_PAD_PDSR_PDSR8                   (0x100)
71
#define MCF_PAD_PDSR_PDSR9                   (0x200)
72
#define MCF_PAD_PDSR_PDSR10                  (0x400)
73
#define MCF_PAD_PDSR_PDSR11                  (0x800)
74
#define MCF_PAD_PDSR_PDSR12                  (0x1000)
75
#define MCF_PAD_PDSR_PDSR13                  (0x2000)
76
#define MCF_PAD_PDSR_PDSR14                  (0x4000)
77
#define MCF_PAD_PDSR_PDSR15                  (0x8000)
78
#define MCF_PAD_PDSR_PDSR16                  (0x10000)
79
#define MCF_PAD_PDSR_PDSR17                  (0x20000)
80
#define MCF_PAD_PDSR_PDSR18                  (0x40000)
81
#define MCF_PAD_PDSR_PDSR19                  (0x80000)
82
#define MCF_PAD_PDSR_PDSR20                  (0x100000)
83
#define MCF_PAD_PDSR_PDSR21                  (0x200000)
84
#define MCF_PAD_PDSR_PDSR22                  (0x400000)
85
#define MCF_PAD_PDSR_PDSR23                  (0x800000)
86
#define MCF_PAD_PDSR_PDSR24                  (0x1000000)
87
#define MCF_PAD_PDSR_PDSR25                  (0x2000000)
88
#define MCF_PAD_PDSR_PDSR26                  (0x4000000)
89
#define MCF_PAD_PDSR_PDSR27                  (0x8000000)
90
 
91
 
92
#endif /* __MCF52221_PAD_H__ */

powered by: WebSVN 2.1.0

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