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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [H8S/] [RTOSDemo/] [2329S.h] - Blame information for rev 600

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 588 jeremybenn
#ifndef INC_2329_H
2
#define INC_2329_H
3
 
4
/* DATA TYPES MIGHT NOT BE CORRECT. */
5
 
6
#define BASE2329 0xFF0000
7
 
8
/* Definitions for GPIO. */
9
 
10
#define P1DDR   ( *( ( volatile unsigned char * ) 0xFFFEB0 ) )
11
#define P1DR    ( *( ( volatile unsigned char * ) 0xFFFF60 ) )
12
#define PORT1   ( *( ( volatile unsigned char * ) 0xFFFF50 ) )
13
#define P2DDR   ( *( ( volatile unsigned char * ) 0xFFFEB1 ) )
14
#define P2DR    ( *( ( volatile unsigned char * ) 0xFFFF61 ) )
15
#define PORT2   ( *( ( volatile unsigned char * ) 0xFFFF51 ) )
16
#define P3DDR   ( *( ( volatile unsigned char * ) 0xFFFEB2 ) )
17
#define P3DR    ( *( ( volatile unsigned char * ) 0xFFFF62 ) )
18
#define PORT3   ( *( ( volatile unsigned char * ) 0xFFFF52 ) )
19
#define P3ODR   ( *( ( volatile unsigned char * ) 0xFFFF76 ) )
20
#define PORT4   ( *( ( volatile unsigned char * ) 0xFFFF53 ) )
21
#define P5DDR   ( *( ( volatile unsigned char * ) 0xFFFEB4 ) )
22
#define P5DR    ( *( ( volatile unsigned char * ) 0xFFFF64 ) )
23
#define PORT5   ( *( ( volatile unsigned char * ) 0xFFFF54 ) )
24
#define PFCR2   ( *( ( volatile unsigned char * ) 0xFFFFAC ) )
25
#define SYSCR   ( *( ( volatile unsigned char * ) 0xFFFF39 ) )
26
#define P6DDR   ( *( ( volatile unsigned char * ) 0xFFFEB5 ) )
27
#define P6DR    ( *( ( volatile unsigned char * ) 0xFFFF65 ) )
28
#define PORT6   ( *( ( volatile unsigned char * ) 0xFFFF55 ) )
29
#define PFCR2   ( *( ( volatile unsigned char * ) 0xFFFFAC ) )
30
#define PADDR   ( *( ( volatile unsigned char * ) 0xFFFEB9 ) )
31
#define PADR    ( *( ( volatile unsigned char * ) 0xFFFF69 ) )
32
#define PORTA   ( *( ( volatile unsigned char * ) 0xFFFF59 ) )
33
#define PAPCR   ( *( ( volatile unsigned char * ) 0xFFFF70 ) )
34
#define PAODR   ( *( ( volatile unsigned char * ) 0xFFFF77 ) )
35
#define PFCR1   ( *( ( volatile unsigned char * ) 0xFFFF45 ) )
36
#define PBDDR   ( *( ( volatile unsigned char * ) 0xFFFEBA ) )
37
#define PBDR    ( *( ( volatile unsigned char * ) 0xFFFF6A ) )
38
#define PORTB   ( *( ( volatile unsigned char * ) 0xFFFF5A ) )
39
#define PBPCR   ( *( ( volatile unsigned char * ) 0xFFFF71 ) )
40
#define PCDDR   ( *( ( volatile unsigned char * ) 0xFFFEBB ) )
41
#define PCDR    ( *( ( volatile unsigned char * ) 0xFFFF6B ) )
42
#define PORTC   ( *( ( volatile unsigned char * ) 0xFFFF5B ) )
43
#define PCPCR   ( *( ( volatile unsigned char * ) 0xFFFF72 ) )
44
#define PDDDR   ( *( ( volatile unsigned char * ) 0xFFFEBC ) )
45
#define PDDR    ( *( ( volatile unsigned char * ) 0xFFFF6C ) )
46
#define PORTD   ( *( ( volatile unsigned char * ) 0xFFFF5C ) )
47
#define PDPCR   ( *( ( volatile unsigned char * ) 0xFFFF73 ) )
48
#define PEDDR   ( *( ( volatile unsigned char * ) 0xFFFEBD ) )
49
#define PEDR    ( *( ( volatile unsigned char * ) 0xFFFF6D ) )
50
#define PORTE   ( *( ( volatile unsigned char * ) 0xFFFF5D ) )
51
#define PEPCR   ( *( ( volatile unsigned char * ) 0xFFFF74 ) )
52
#define PFDDR   ( *( ( volatile unsigned char * ) 0xFFFEBE ) )
53
#define PFDR    ( *( ( volatile unsigned char * ) 0xFFFF6E ) )
54
#define PORTF   ( *( ( volatile unsigned char * ) 0xFFFF5E ) )
55
#define PFCR2   ( *( ( volatile unsigned char * ) 0xFFFFAC ) )
56
#define SYSCR   ( *( ( volatile unsigned char * ) 0xFFFF39 ) )
57
#define PGDDR   ( *( ( volatile unsigned char * ) 0xFFFEBF ) )
58
#define PGDR    ( *( ( volatile unsigned char * ) 0xFFFF6F ) )
59
#define PORTG   ( *( ( volatile unsigned char * ) 0xFFFF5F ) )
60
#define PFCR2   ( *( ( volatile unsigned char * ) 0xFFFFAC ) )
61
 
62
 
63
/* Definitions for TPU. */
64
 
65
#define TCR0    ( *( ( volatile unsigned char * ) 0xFFFFD0 ) )
66
#define TMDR0   ( *( ( volatile unsigned char * ) 0xFFFFD1 ) )
67
#define TIOR0H  ( *( ( volatile unsigned char * ) 0xFFFFD2 ) )
68
#define TIOR0L  ( *( ( volatile unsigned char * ) 0xFFFFD3 ) )
69
#define TIER0   ( *( ( volatile unsigned char * ) 0xFFFFD4 ) )
70
#define TSR0    ( *( ( volatile unsigned char * ) 0xFFFFD5 ) )
71
#define TCNT0   ( *( ( volatile unsigned short * ) 0xFFFFD6 ) )
72
#define TGR0A   ( *( ( volatile unsigned short * ) 0xFFFFD8 ) )
73
#define TGR0B   ( *( ( volatile unsigned short * ) 0xFFFFDA ) )
74
#define TGR0C   ( *( ( volatile unsigned short * ) 0xFFFFDC ) )
75
#define TGR0D   ( *( ( volatile unsigned short * ) 0xFFFFDE ) )
76
#define TCR1    ( *( ( volatile unsigned char * ) 0xFFFFE0 ) )
77
#define TMDR1   ( *( ( volatile unsigned char * ) 0xFFFFE1 ) )
78
#define TIOR1   ( *( ( volatile unsigned char * ) 0xFFFFE2 ) )
79
#define TIER1   ( *( ( volatile unsigned char * ) 0xFFFFE4 ) )
80
#define TSR1    ( *( ( volatile unsigned char * ) 0xFFFFE5 ) )
81
#define TCNT1   ( *( ( volatile unsigned short * ) 0xFFFFE6 ) )
82
#define TGR1A   ( *( ( volatile unsigned short * ) 0xFFFFE8 ) )
83
#define TGR1B   ( *( ( volatile unsigned short * ) 0xFFFFEA ) )
84
#define TCR2    ( *( ( volatile unsigned char * ) 0xFFFFF0 ) )
85
#define TMDR2   ( *( ( volatile unsigned char * ) 0xFFFFF1 ) )
86
#define TIOR2   ( *( ( volatile unsigned char * ) 0xFFFFF2 ) )
87
#define TIER2   ( *( ( volatile unsigned char * ) 0xFFFFF4 ) )
88
#define TSR2    ( *( ( volatile unsigned char * ) 0xFFFFF5 ) )
89
#define TCNT2   ( *( ( volatile unsigned short * ) 0xFFFFF6 ) )
90
#define TGR2A   ( *( ( volatile unsigned short * ) 0xFFFFF8 ) )
91
#define TGR2B   ( *( ( volatile unsigned short * ) 0xFFFFFA ) )
92
#define TCR3    ( *( ( volatile unsigned char * ) 0xFFFE80 ) )
93
#define TMDR3   ( *( ( volatile unsigned char * ) 0xFFFE81 ) )
94
#define TIOR3H  ( *( ( volatile unsigned char * ) 0xFFFE82 ) )
95
#define TIOR3L  ( *( ( volatile unsigned char * ) 0xFFFE83 ) )
96
#define TIER3   ( *( ( volatile unsigned char * ) 0xFFFE84 ) )
97
#define TSR3    ( *( ( volatile unsigned char * ) 0xFFFE85 ) )
98
#define TCNT3   ( *( ( volatile unsigned short * ) 0xFFFE86 ) )
99
#define TGR3A   ( *( ( volatile unsigned short * ) 0xFFFE88 ) )
100
#define TGR3B   ( *( ( volatile unsigned short * ) 0xFFFE8A ) )
101
#define TGR3C   ( *( ( volatile unsigned short * ) 0xFFFE8C ) )
102
#define TGR3D   ( *( ( volatile unsigned short * ) 0xFFFE8E ) )
103
#define TCR4    ( *( ( volatile unsigned char * ) 0xFFFE90 ) )
104
#define TMDR4   ( *( ( volatile unsigned char * ) 0xFFFE91 ) )
105
#define TIOR4   ( *( ( volatile unsigned char * ) 0xFFFE92 ) )
106
#define TIER4   ( *( ( volatile unsigned char * ) 0xFFFE94 ) )
107
#define TSR4    ( *( ( volatile unsigned char * ) 0xFFFE95 ) )
108
#define TCNT4   ( *( ( volatile unsigned short * ) 0xFFFE96 ) )
109
#define TGR4A   ( *( ( volatile unsigned short * ) 0xFFFE98 ) )
110
#define TGR4B   ( *( ( volatile unsigned short * ) 0xFFFE9A ) )
111
#define TCR5    ( *( ( volatile unsigned char * ) 0xFFFEA0 ) )
112
#define TMDR5   ( *( ( volatile unsigned char * ) 0xFFFEA1 ) )
113
#define TIOR5   ( *( ( volatile unsigned char * ) 0xFFFEA2 ) )
114
#define TIER5   ( *( ( volatile unsigned char * ) 0xFFFEA4 ) )
115
#define TSR5    ( *( ( volatile unsigned char * ) 0xFFFEA5 ) )
116
#define TCNT5   ( *( ( volatile unsigned short * ) 0xFFFEA6 ) )
117
#define TGR5A   ( *( ( volatile unsigned short * ) 0xFFFEA8 ) )
118
#define TGR5B   ( *( ( volatile unsigned short * ) 0xFFFEAA ) )
119
#define TSTR    ( *( ( volatile unsigned char * ) 0xFFFFC0 ) )
120
#define TSYR    ( *( ( volatile unsigned char * ) 0xFFFFC1 ) )
121
 
122
 
123
#define MSTPCR  ( *( ( volatile unsigned short * ) 0xFFFF3C ) )
124
#define SCKCR   ( *( ( volatile unsigned short * ) 0xFFFF3A ) )
125
 
126
/* Serial port. */
127
 
128
#define SMR0    ( *( ( volatile unsigned char * ) 0xFFFF78 ) )
129
#define BRR0    ( *( ( volatile unsigned char * ) 0xFFFF79 ) )
130
#define SCR0    ( *( ( volatile unsigned char * ) 0xFFFF7A ) )
131
#define TDR0    ( *( ( volatile unsigned char * ) 0xFFFF7B ) )
132
#define SSR0    ( *( ( volatile unsigned char * ) 0xFFFF7C ) )
133
#define RDR0    ( *( ( volatile unsigned char * ) 0xFFFF7D ) )
134
#define SCMR0   ( *( ( volatile unsigned char * ) 0xFFFF7E ) )
135
#define SMR1    ( *( ( volatile unsigned char * ) 0xFFFF80 ) )
136
#define BRR1    ( *( ( volatile unsigned char * ) 0xFFFF81 ) )
137
#define SCR1    ( *( ( volatile unsigned char * ) 0xFFFF82 ) )
138
#define TDR1    ( *( ( volatile unsigned char * ) 0xFFFF83 ) )
139
#define SSR1    ( *( ( volatile unsigned char * ) 0xFFFF84 ) )
140
#define RDR1    ( *( ( volatile unsigned char * ) 0xFFFF85 ) )
141
 
142
#endif

powered by: WebSVN 2.1.0

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