1 |
786 |
skrzyp |
#ifndef CYGONCE_V850_COMMON_H
|
2 |
|
|
#define CYGONCE_V850_COMMON_H
|
3 |
|
|
|
4 |
|
|
/*=============================================================================
|
5 |
|
|
//
|
6 |
|
|
// v850_common.h
|
7 |
|
|
//
|
8 |
|
|
// NEC/V850 common definitions
|
9 |
|
|
//
|
10 |
|
|
//=============================================================================
|
11 |
|
|
// ####ECOSGPLCOPYRIGHTBEGIN####
|
12 |
|
|
// -------------------------------------------
|
13 |
|
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
14 |
|
|
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
|
15 |
|
|
//
|
16 |
|
|
// eCos is free software; you can redistribute it and/or modify it under
|
17 |
|
|
// the terms of the GNU General Public License as published by the Free
|
18 |
|
|
// Software Foundation; either version 2 or (at your option) any later
|
19 |
|
|
// version.
|
20 |
|
|
//
|
21 |
|
|
// eCos is distributed in the hope that it will be useful, but WITHOUT
|
22 |
|
|
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
23 |
|
|
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
24 |
|
|
// for more details.
|
25 |
|
|
//
|
26 |
|
|
// You should have received a copy of the GNU General Public License
|
27 |
|
|
// along with eCos; if not, write to the Free Software Foundation, Inc.,
|
28 |
|
|
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
29 |
|
|
//
|
30 |
|
|
// As a special exception, if other files instantiate templates or use
|
31 |
|
|
// macros or inline functions from this file, or you compile this file
|
32 |
|
|
// and link it with other works to produce a work based on this file,
|
33 |
|
|
// this file does not by itself cause the resulting work to be covered by
|
34 |
|
|
// the GNU General Public License. However the source code for this file
|
35 |
|
|
// must still be made available in accordance with section (3) of the GNU
|
36 |
|
|
// General Public License v2.
|
37 |
|
|
//
|
38 |
|
|
// This exception does not invalidate any other reasons why a work based
|
39 |
|
|
// on this file might be covered by the GNU General Public License.
|
40 |
|
|
// -------------------------------------------
|
41 |
|
|
// ####ECOSGPLCOPYRIGHTEND####
|
42 |
|
|
//=============================================================================
|
43 |
|
|
//#####DESCRIPTIONBEGIN####
|
44 |
|
|
//
|
45 |
|
|
// Author(s): gthomas, jlarmour
|
46 |
|
|
// Contributors: gthomas, jlarmour
|
47 |
|
|
// Date: 2000-03-10
|
48 |
|
|
// Purpose: NEC/V850 CPU family hardware description
|
49 |
|
|
// Description:
|
50 |
|
|
// Usage: #include <cyg/hal/v850_common.h>
|
51 |
|
|
//
|
52 |
|
|
//####DESCRIPTIONEND####
|
53 |
|
|
//
|
54 |
|
|
//===========================================================================*/
|
55 |
|
|
|
56 |
|
|
// Note: these defintions match the documentation, thus no attempt is made
|
57 |
|
|
// to sanitise (mangle) the names. Also, care should be taken to keep this
|
58 |
|
|
// clean for use in assembly code (no "C" constructs).
|
59 |
|
|
|
60 |
|
|
#include <pkgconf/hal.h>
|
61 |
|
|
|
62 |
|
|
// These definitions are for the NEC V850/SA1 (70301x)
|
63 |
|
|
|
64 |
|
|
#if CYGINT_HAL_V850_VARIANT_SA1
|
65 |
|
|
|
66 |
|
|
#define V850_REGS 0xFFFFF000
|
67 |
|
|
|
68 |
|
|
#define V850_REG_P0 0xFFFFF000
|
69 |
|
|
#define V850_REG_P1 0xFFFFF002
|
70 |
|
|
#define V850_REG_P2 0xFFFFF004
|
71 |
|
|
#define V850_REG_P3 0xFFFFF006
|
72 |
|
|
#define V850_REG_P4 0xFFFFF008
|
73 |
|
|
#define V850_REG_P5 0xFFFFF00A
|
74 |
|
|
#define V850_REG_P6 0xFFFFF00C
|
75 |
|
|
#define V850_REG_P7 0xFFFFF00E
|
76 |
|
|
#define V850_REG_P8 0xFFFFF010
|
77 |
|
|
#define V850_REG_P9 0xFFFFF012
|
78 |
|
|
#define V850_REG_P10 0xFFFFF014
|
79 |
|
|
#define V850_REG_P11 0xFFFFF016
|
80 |
|
|
#define V850_REG_P12 0xFFFFF018
|
81 |
|
|
|
82 |
|
|
#define V850_REG_PM0 0xFFFFF020
|
83 |
|
|
#define V850_REG_PM1 0xFFFFF022
|
84 |
|
|
#define V850_REG_PM2 0xFFFFF024
|
85 |
|
|
#define V850_REG_PM3 0xFFFFF026
|
86 |
|
|
#define V850_REG_PM4 0xFFFFF028
|
87 |
|
|
#define V850_REG_PM5 0xFFFFF02A
|
88 |
|
|
#define V850_REG_PM6 0xFFFFF02C
|
89 |
|
|
#define V850_REG_PM9 0xFFFFF032
|
90 |
|
|
#define V850_REG_PM10 0xFFFFF034
|
91 |
|
|
#define V850_REG_PM11 0xFFFFF036
|
92 |
|
|
#define V850_REG_PM12 0xFFFFF038
|
93 |
|
|
|
94 |
|
|
#define V850_REG_MM 0xFFFFF04C
|
95 |
|
|
|
96 |
|
|
#define V850_REG_PMC12 0xFFFFF058
|
97 |
|
|
|
98 |
|
|
#define V850_REG_DWC 0xFFFFF060
|
99 |
|
|
#define V850_REG_BCC 0xFFFFF062
|
100 |
|
|
#define V850_REG_SYC 0xFFFFF064
|
101 |
|
|
#define V850_REG_MAM 0xFFFFF068
|
102 |
|
|
|
103 |
|
|
#define V850_REG_PSC 0xFFFFF070
|
104 |
|
|
#define V850_REG_PCC 0xFFFFF074
|
105 |
|
|
#define V850_REG_SYS 0xFFFFF078
|
106 |
|
|
|
107 |
|
|
#define V850_REG_PU0 0xFFFFF080
|
108 |
|
|
#define V850_REG_PU1 0xFFFFF082
|
109 |
|
|
#define V850_REG_PU2 0xFFFFF084
|
110 |
|
|
#define V850_REG_PU3 0xFFFFF086
|
111 |
|
|
#define V850_REG_PU10 0xFFFFF094
|
112 |
|
|
#define V850_REG_PU11 0xFFFFF096
|
113 |
|
|
|
114 |
|
|
#define V850_REG_PF1 0xFFFFF0A2
|
115 |
|
|
#define V850_REG_PF2 0xFFFFF0A4
|
116 |
|
|
#define V850_REG_PF10 0xFFFFF0B4
|
117 |
|
|
|
118 |
|
|
#define V850_REG_EGP0 0xFFFFF0C0
|
119 |
|
|
#define V850_REG_EGN0 0xFFFFF0C2
|
120 |
|
|
|
121 |
|
|
#define V850_REG_WDTIC 0xFFFFF100
|
122 |
|
|
#define V850_REG_PIC0 0xFFFFF102
|
123 |
|
|
#define V850_REG_PIC1 0xFFFFF104
|
124 |
|
|
#define V850_REG_PIC2 0xFFFFF106
|
125 |
|
|
#define V850_REG_PIC3 0xFFFFF108
|
126 |
|
|
#define V850_REG_PIC4 0xFFFFF10A
|
127 |
|
|
#define V850_REG_PIC5 0xFFFFF10C
|
128 |
|
|
#define V850_REG_PIC6 0xFFFFF10E
|
129 |
|
|
#define V850_REG_WTIIC 0xFFFFF110
|
130 |
|
|
#define V850_REG_WTNIIC 0xFFFFF110
|
131 |
|
|
#define V850_REG_TMIC00 0xFFFFF112
|
132 |
|
|
#define V850_REG_TMIC01 0xFFFFF114
|
133 |
|
|
#define V850_REG_TMIC10 0xFFFFF116
|
134 |
|
|
#define V850_REG_TMIC11 0xFFFFF118
|
135 |
|
|
#define V850_REG_TMIC2 0xFFFFF11A
|
136 |
|
|
#define V850_REG_TMIC3 0xFFFFF11C
|
137 |
|
|
#define V850_REG_TMIC4 0xFFFFF11E
|
138 |
|
|
#define V850_REG_TMIC5 0xFFFFF120
|
139 |
|
|
#define V850_REG_CSIC0 0xFFFFF122
|
140 |
|
|
#define V850_REG_SERIC0 0xFFFFF124
|
141 |
|
|
#define V850_REG_CSIC1 0xFFFFF126
|
142 |
|
|
#define V850_REG_SRIC0 0xFFFFF126
|
143 |
|
|
#define V850_REG_STIC0 0xFFFFF128
|
144 |
|
|
#define V850_REG_CSIC2 0xFFFFF12A
|
145 |
|
|
#define V850_REG_SRIC2 0xFFFFF12A
|
146 |
|
|
#define V850_REG_SERIC1 0xFFFFF12C
|
147 |
|
|
#define V850_REG_SRIC1 0xFFFFF12E
|
148 |
|
|
#define V850_REG_STIC1 0xFFFFF130
|
149 |
|
|
#define V850_REG_ADIC 0xFFFFF132
|
150 |
|
|
#define V850_REG_DMAIC0 0xFFFFF134
|
151 |
|
|
#define V850_REG_DMAIC1 0xFFFFF136
|
152 |
|
|
#define V850_REG_DMAIC2 0xFFFFF138
|
153 |
|
|
#define V850_REG_WTIC 0xFFFFF13A
|
154 |
|
|
#define V850_REG_WTNIC 0xFFFFF13A
|
155 |
|
|
|
156 |
|
|
#define V850_REG_ISPR 0xFFFFF166
|
157 |
|
|
#define V850_REG_PRCMD 0xFFFFF170
|
158 |
|
|
|
159 |
|
|
#define V850_REG_DIOA0 0xFFFFF180
|
160 |
|
|
#define V850_REG_DRA0 0xFFFFF182
|
161 |
|
|
#define V850_REG_DBC0 0xFFFFF184
|
162 |
|
|
#define V850_REG_DCHC0 0xFFFFF186
|
163 |
|
|
|
164 |
|
|
#define V850_REG_DIOA1 0xFFFFF190
|
165 |
|
|
#define V850_REG_DRA1 0xFFFFF192
|
166 |
|
|
#define V850_REG_DBC1 0xFFFFF194
|
167 |
|
|
#define V850_REG_DCHC1 0xFFFFF196
|
168 |
|
|
|
169 |
|
|
#define V850_REG_DIOA2 0xFFFFF1A0
|
170 |
|
|
#define V850_REG_DRA2 0xFFFFF1A2
|
171 |
|
|
#define V850_REG_DBC2 0xFFFFF1A4
|
172 |
|
|
#define V850_REG_DCHC2 0xFFFFF1A6
|
173 |
|
|
|
174 |
|
|
#define V850_REG_TM0 0xFFFFF200
|
175 |
|
|
#define V850_REG_CR00 0xFFFFF202
|
176 |
|
|
#define V850_REG_CR01 0xFFFFF204
|
177 |
|
|
#define V850_REG_PRM0 0xFFFFF206
|
178 |
|
|
#define V850_REG_PRM00 0xFFFFF206
|
179 |
|
|
#define V850_REG_TMC0 0xFFFFF208
|
180 |
|
|
#define V850_REG_CRC0 0xFFFFF20A
|
181 |
|
|
#define V850_REG_TOC0 0xFFFFF20C
|
182 |
|
|
#define V850_REG_PRM01 0xFFFFF20E
|
183 |
|
|
|
184 |
|
|
#define V850_REG_TM1 0xFFFFF210
|
185 |
|
|
#define V850_REG_CR10 0xFFFFF212
|
186 |
|
|
#define V850_REG_CR11 0xFFFFF214
|
187 |
|
|
#define V850_REG_PRM1 0xFFFFF216
|
188 |
|
|
#define V850_REG_PRM10 0xFFFFF216
|
189 |
|
|
#define V850_REG_TMC1 0xFFFFF218
|
190 |
|
|
#define V850_REG_CRC1 0xFFFFF21A
|
191 |
|
|
#define V850_REG_TOC1 0xFFFFF21C
|
192 |
|
|
#define V850_REG_PRM11 0xFFFFF21E
|
193 |
|
|
|
194 |
|
|
#define V850_REG_TM2 0xFFFFF240
|
195 |
|
|
#define V850_REG_CR20 0xFFFFF242
|
196 |
|
|
#define V850_REG_TCL2 0xFFFFF244
|
197 |
|
|
#define V850_REG_TMC2 0xFFFFF246
|
198 |
|
|
#define V850_REG_TM23 0xFFFFF24A
|
199 |
|
|
#define V850_REG_CR23 0xFFFFF24C
|
200 |
|
|
#define V850_REG_TCL21 0xFFFFF24E
|
201 |
|
|
|
202 |
|
|
#define V850_REG_TM3 0xFFFFF250
|
203 |
|
|
#define V850_REG_CR30 0xFFFFF252
|
204 |
|
|
#define V850_REG_TCL3 0xFFFFF254
|
205 |
|
|
#define V850_REG_TMC3 0xFFFFF256
|
206 |
|
|
#define V850_REG_TCL31 0xFFFFF25E
|
207 |
|
|
|
208 |
|
|
#define V850_REG_TM4 0xFFFFF260
|
209 |
|
|
#define V850_REG_CR40 0xFFFFF262
|
210 |
|
|
#define V850_REG_TCL4 0xFFFFF264
|
211 |
|
|
#define V850_REG_TMC4 0xFFFFF266
|
212 |
|
|
#define V850_REG_TM45 0xFFFFF26A
|
213 |
|
|
#define V850_REG_CR45 0xFFFFF26C
|
214 |
|
|
#define V850_REG_TCL41 0xFFFFF26E
|
215 |
|
|
|
216 |
|
|
#define V850_REG_TM5 0xFFFFF270
|
217 |
|
|
#define V850_REG_CR50 0xFFFFF272
|
218 |
|
|
#define V850_REG_TCL5 0xFFFFF274
|
219 |
|
|
#define V850_REG_TMC5 0xFFFFF276
|
220 |
|
|
#define V850_REG_TCL51 0xFFFFF27E
|
221 |
|
|
|
222 |
|
|
#define V850_REG_SIO0 0xFFFFF2A0
|
223 |
|
|
#define V850_REG_CSIM0 0xFFFFF2A2
|
224 |
|
|
#define V850_REG_CSIS0 0xFFFFF2A4
|
225 |
|
|
|
226 |
|
|
#define V850_REG_SIO1 0xFFFFF2B0
|
227 |
|
|
#define V850_REG_CSIM1 0xFFFFF2B2
|
228 |
|
|
#define V850_REG_CSIS1 0xFFFFF2B4
|
229 |
|
|
|
230 |
|
|
#define V850_REG_SIO2 0xFFFFF2C0
|
231 |
|
|
#define V850_REG_CSIM2 0xFFFFF2C2
|
232 |
|
|
#define V850_REG_CSIS2 0xFFFFF2C4
|
233 |
|
|
|
234 |
|
|
#define V850_REG_ASIM0 0xFFFFF300
|
235 |
|
|
#define V850_REG_ASIS0 0xFFFFF302
|
236 |
|
|
#define V850_REG_BRGC0 0xFFFFF304
|
237 |
|
|
#define V850_REG_TXS0 0xFFFFF306
|
238 |
|
|
#define V850_REG_RXB0 0xFFFFF308
|
239 |
|
|
#define V850_REG_BRGMC0 0xFFFFF30E
|
240 |
|
|
#define V850_REG_BRGMC00 0xFFFFF30E
|
241 |
|
|
|
242 |
|
|
#define V850_REG_ASIM1 0xFFFFF310
|
243 |
|
|
#define V850_REG_ASIS1 0xFFFFF312
|
244 |
|
|
#define V850_REG_BRGC1 0xFFFFF314
|
245 |
|
|
#define V850_REG_TXS1 0xFFFFF316
|
246 |
|
|
#define V850_REG_RXB1 0xFFFFF318
|
247 |
|
|
#define V850_REG_BRGMC1 0xFFFFF31E
|
248 |
|
|
#define V850_REG_BRGMC10 0xFFFFF31E
|
249 |
|
|
#define V850_REG_BRGMC01 0xFFFFF320
|
250 |
|
|
|
251 |
|
|
#define V850_REG_IICC0 0xFFFFF340
|
252 |
|
|
#define V850_REG_IICS0 0xFFFFF342
|
253 |
|
|
#define V850_REG_IICCL0 0xFFFFF344
|
254 |
|
|
#define V850_REG_SVA0 0xFFFFF346
|
255 |
|
|
#define V850_REG_IIC0 0xFFFFF348
|
256 |
|
|
#define V850_REG_IICX0 0xFFFFF34A
|
257 |
|
|
|
258 |
|
|
#define V850_REG_WTM 0xFFFFF360
|
259 |
|
|
#define V850_REG_OSTS 0xFFFFF380
|
260 |
|
|
#define V850_REG_WDCS 0xFFFFF382
|
261 |
|
|
#define V850_REG_WDTM 0xFFFFF384
|
262 |
|
|
|
263 |
|
|
#define V850_REG_RTBL 0xFFFFF3A0
|
264 |
|
|
#define V850_REG_RTBH 0xFFFFF3A2
|
265 |
|
|
#define V850_REG_RTPM 0xFFFFF3A4
|
266 |
|
|
#define V850_REG_RTPC 0xFFFFF3A6
|
267 |
|
|
|
268 |
|
|
#define V850_REG_ADM 0xFFFFF3C0
|
269 |
|
|
#define V850_REG_ADS 0xFFFFF3C2
|
270 |
|
|
#define V850_REG_ADCR 0xFFFFF3C4
|
271 |
|
|
#define V850_REG_ADCRH 0xFFFFF3C6
|
272 |
|
|
|
273 |
|
|
/*---------------------------------------------------------------------------*/
|
274 |
|
|
|
275 |
|
|
// These definitions are for the NEC V850/SB1 (70303x)
|
276 |
|
|
|
277 |
|
|
#elif CYGINT_HAL_V850_VARIANT_SB1
|
278 |
|
|
|
279 |
|
|
#define V850_REGS 0xFFFFF000
|
280 |
|
|
|
281 |
|
|
#define V850_REG_P0 0xFFFFF000
|
282 |
|
|
#define V850_REG_P1 0xFFFFF002
|
283 |
|
|
#define V850_REG_P2 0xFFFFF004
|
284 |
|
|
#define V850_REG_P3 0xFFFFF006
|
285 |
|
|
#define V850_REG_P4 0xFFFFF008
|
286 |
|
|
#define V850_REG_P5 0xFFFFF00A
|
287 |
|
|
#define V850_REG_P6 0xFFFFF00C
|
288 |
|
|
#define V850_REG_P7 0xFFFFF00E
|
289 |
|
|
#define V850_REG_P8 0xFFFFF010
|
290 |
|
|
#define V850_REG_P9 0xFFFFF012
|
291 |
|
|
#define V850_REG_P10 0xFFFFF014
|
292 |
|
|
#define V850_REG_P11 0xFFFFF016
|
293 |
|
|
|
294 |
|
|
#define V850_REG_PM0 0xFFFFF020
|
295 |
|
|
#define V850_REG_PM1 0xFFFFF022
|
296 |
|
|
#define V850_REG_PM2 0xFFFFF024
|
297 |
|
|
#define V850_REG_PM3 0xFFFFF026
|
298 |
|
|
#define V850_REG_PM4 0xFFFFF028
|
299 |
|
|
#define V850_REG_PM5 0xFFFFF02A
|
300 |
|
|
#define V850_REG_PM6 0xFFFFF02C
|
301 |
|
|
#define V850_REG_PM9 0xFFFFF032
|
302 |
|
|
#define V850_REG_PM10 0xFFFFF034
|
303 |
|
|
#define V850_REG_PM11 0xFFFFF036
|
304 |
|
|
|
305 |
|
|
#define V850_REG_PAC 0xFFFFF040
|
306 |
|
|
#define V850_REG_MM 0xFFFFF04C
|
307 |
|
|
|
308 |
|
|
#define V850_REG_DWC 0xFFFFF060
|
309 |
|
|
#define V850_REG_BCC 0xFFFFF062
|
310 |
|
|
#define V850_REG_SYC 0xFFFFF064
|
311 |
|
|
#define V850_REG_MAM 0xFFFFF068
|
312 |
|
|
|
313 |
|
|
#define V850_REG_PSC 0xFFFFF070
|
314 |
|
|
#define V850_REG_PCC 0xFFFFF074
|
315 |
|
|
#define V850_REG_SYS 0xFFFFF078
|
316 |
|
|
|
317 |
|
|
#define V850_REG_PU0 0xFFFFF080
|
318 |
|
|
#define V850_REG_PU1 0xFFFFF082
|
319 |
|
|
#define V850_REG_PU2 0xFFFFF084
|
320 |
|
|
#define V850_REG_PU3 0xFFFFF086
|
321 |
|
|
#define V850_REG_PU10 0xFFFFF094
|
322 |
|
|
#define V850_REG_PU11 0xFFFFF096
|
323 |
|
|
|
324 |
|
|
#define V850_REG_PF1 0xFFFFF0A2
|
325 |
|
|
#define V850_REG_PF2 0xFFFFF0A4
|
326 |
|
|
#define V850_REG_PF3 0xFFFFF0A6
|
327 |
|
|
#define V850_REG_PF10 0xFFFFF0B4
|
328 |
|
|
|
329 |
|
|
#define V850_REG_EGP0 0xFFFFF0C0
|
330 |
|
|
#define V850_REG_EGN0 0xFFFFF0C2
|
331 |
|
|
|
332 |
|
|
#define V850_REG_WDTIC 0xFFFFF100
|
333 |
|
|
#define V850_REG_PIC0 0xFFFFF102
|
334 |
|
|
#define V850_REG_PIC1 0xFFFFF104
|
335 |
|
|
#define V850_REG_PIC2 0xFFFFF106
|
336 |
|
|
#define V850_REG_PIC3 0xFFFFF108
|
337 |
|
|
#define V850_REG_PIC4 0xFFFFF10A
|
338 |
|
|
#define V850_REG_PIC5 0xFFFFF10C
|
339 |
|
|
#define V850_REG_PIC6 0xFFFFF10E
|
340 |
|
|
#define V850_REG_WTNIIC 0xFFFFF118
|
341 |
|
|
#define V850_REG_TMIC00 0xFFFFF11A
|
342 |
|
|
#define V850_REG_TMIC01 0xFFFFF11C
|
343 |
|
|
#define V850_REG_TMIC10 0xFFFFF11E
|
344 |
|
|
#define V850_REG_TMIC11 0xFFFFF120
|
345 |
|
|
#define V850_REG_TMIC2 0xFFFFF122
|
346 |
|
|
#define V850_REG_TMIC3 0xFFFFF124
|
347 |
|
|
#define V850_REG_TMIC4 0xFFFFF126
|
348 |
|
|
#define V850_REG_TMIC5 0xFFFFF128
|
349 |
|
|
#define V850_REG_TMIC6 0xFFFFF12A
|
350 |
|
|
#define V850_REG_TMIC7 0xFFFFF12C
|
351 |
|
|
#define V850_REG_CSIC0 0xFFFFF12E
|
352 |
|
|
#define V850_REG_SERIC0 0xFFFFF130
|
353 |
|
|
#define V850_REG_CSIC1 0xFFFFF132
|
354 |
|
|
#define V850_REG_SRIC0 0xFFFFF132
|
355 |
|
|
#define V850_REG_STIC0 0xFFFFF134
|
356 |
|
|
#define V850_REG_CSIC2 0xFFFFF136
|
357 |
|
|
#define V850_REG_SRIC2 0xFFFFF136
|
358 |
|
|
#define V850_REG_IICIC1 0xFFFFF138
|
359 |
|
|
#define V850_REG_SERIC1 0xFFFFF13A
|
360 |
|
|
#define V850_REG_CSIC3 0xFFFFF13C
|
361 |
|
|
#define V850_REG_SRIC3 0xFFFFF13C
|
362 |
|
|
#define V850_REG_STIC1 0xFFFFF13E
|
363 |
|
|
#define V850_REG_CSIC4 0xFFFFF140
|
364 |
|
|
#define V850_REG_SRIC4 0xFFFFF140
|
365 |
|
|
#define V850_REG_IEBIC1 0xFFFFF142
|
366 |
|
|
#define V850_REG_IEBIC2 0xFFFFF144
|
367 |
|
|
#define V850_REG_ADIC 0xFFFFF146
|
368 |
|
|
#define V850_REG_DMAIC0 0xFFFFF148
|
369 |
|
|
#define V850_REG_DMAIC1 0xFFFFF14A
|
370 |
|
|
#define V850_REG_DMAIC2 0xFFFFF14C
|
371 |
|
|
#define V850_REG_DMAIC3 0xFFFFF14E
|
372 |
|
|
#define V850_REG_DMAIC4 0xFFFFF150
|
373 |
|
|
#define V850_REG_DMAIC5 0xFFFFF152
|
374 |
|
|
#define V850_REG_WTNIC 0xFFFFF154
|
375 |
|
|
#define V850_REG_KRIC 0xFFFFF156
|
376 |
|
|
|
377 |
|
|
#define V850_REG_ISPR 0xFFFFF166
|
378 |
|
|
#define V850_REG_PRCMD 0xFFFFF170
|
379 |
|
|
|
380 |
|
|
#define V850_REG_DIOA0 0xFFFFF180
|
381 |
|
|
#define V850_REG_DRA0 0xFFFFF182
|
382 |
|
|
#define V850_REG_DBC0 0xFFFFF184
|
383 |
|
|
#define V850_REG_DCHC0 0xFFFFF186
|
384 |
|
|
|
385 |
|
|
#define V850_REG_DIOA1 0xFFFFF190
|
386 |
|
|
#define V850_REG_DRA1 0xFFFFF192
|
387 |
|
|
#define V850_REG_DBC1 0xFFFFF194
|
388 |
|
|
#define V850_REG_DCHC1 0xFFFFF196
|
389 |
|
|
|
390 |
|
|
#define V850_REG_DIOA2 0xFFFFF1A0
|
391 |
|
|
#define V850_REG_DRA2 0xFFFFF1A2
|
392 |
|
|
#define V850_REG_DBC2 0xFFFFF1A4
|
393 |
|
|
#define V850_REG_DCHC2 0xFFFFF1A6
|
394 |
|
|
|
395 |
|
|
#define V850_REG_DIOA3 0xFFFFF1B0
|
396 |
|
|
#define V850_REG_DRA3 0xFFFFF1B2
|
397 |
|
|
#define V850_REG_DBC3 0xFFFFF1B4
|
398 |
|
|
#define V850_REG_DCHC3 0xFFFFF1B6
|
399 |
|
|
|
400 |
|
|
#define V850_REG_DIOA4 0xFFFFF1C0
|
401 |
|
|
#define V850_REG_DRA4 0xFFFFF1C2
|
402 |
|
|
#define V850_REG_DBC4 0xFFFFF1C4
|
403 |
|
|
#define V850_REG_DCHC4 0xFFFFF1C6
|
404 |
|
|
|
405 |
|
|
#define V850_REG_DIOA5 0xFFFFF1D0
|
406 |
|
|
#define V850_REG_DRA5 0xFFFFF1D2
|
407 |
|
|
#define V850_REG_DBC5 0xFFFFF1D4
|
408 |
|
|
#define V850_REG_DCHC5 0xFFFFF1D6
|
409 |
|
|
|
410 |
|
|
#define V850_REG_TM0 0xFFFFF200
|
411 |
|
|
#define V850_REG_CR00 0xFFFFF202
|
412 |
|
|
#define V850_REG_CR01 0xFFFFF204
|
413 |
|
|
#define V850_REG_PRM00 0xFFFFF206
|
414 |
|
|
#define V850_REG_TMC0 0xFFFFF208
|
415 |
|
|
#define V850_REG_CRC0 0xFFFFF20A
|
416 |
|
|
#define V850_REG_TOC0 0xFFFFF20C
|
417 |
|
|
#define V850_REG_PRM01 0xFFFFF20E
|
418 |
|
|
|
419 |
|
|
#define V850_REG_TM1 0xFFFFF210
|
420 |
|
|
#define V850_REG_CR10 0xFFFFF212
|
421 |
|
|
#define V850_REG_CR11 0xFFFFF214
|
422 |
|
|
#define V850_REG_PRM10 0xFFFFF216
|
423 |
|
|
#define V850_REG_TMC1 0xFFFFF218
|
424 |
|
|
#define V850_REG_CRC1 0xFFFFF21A
|
425 |
|
|
#define V850_REG_TOC1 0xFFFFF21C
|
426 |
|
|
#define V850_REG_PRM11 0xFFFFF21E
|
427 |
|
|
|
428 |
|
|
#define V850_REG_TM2 0xFFFFF240
|
429 |
|
|
#define V850_REG_CR20 0xFFFFF242
|
430 |
|
|
#define V850_REG_TCL20 0xFFFFF244
|
431 |
|
|
#define V850_REG_TMC2 0xFFFFF246
|
432 |
|
|
#define V850_REG_TM23 0xFFFFF24A
|
433 |
|
|
#define V850_REG_CR23 0xFFFFF24C
|
434 |
|
|
#define V850_REG_TCL21 0xFFFFF24E
|
435 |
|
|
|
436 |
|
|
#define V850_REG_TM3 0xFFFFF250
|
437 |
|
|
#define V850_REG_CR30 0xFFFFF252
|
438 |
|
|
#define V850_REG_TCL30 0xFFFFF254
|
439 |
|
|
#define V850_REG_TMC3 0xFFFFF256
|
440 |
|
|
#define V850_REG_TCL31 0xFFFFF25E
|
441 |
|
|
|
442 |
|
|
#define V850_REG_TM4 0xFFFFF260
|
443 |
|
|
#define V850_REG_CR40 0xFFFFF262
|
444 |
|
|
#define V850_REG_TCL40 0xFFFFF264
|
445 |
|
|
#define V850_REG_TMC4 0xFFFFF266
|
446 |
|
|
#define V850_REG_TM45 0xFFFFF26A
|
447 |
|
|
#define V850_REG_CR45 0xFFFFF26C
|
448 |
|
|
#define V850_REG_TCL41 0xFFFFF26E
|
449 |
|
|
|
450 |
|
|
#define V850_REG_TM5 0xFFFFF270
|
451 |
|
|
#define V850_REG_CR50 0xFFFFF272
|
452 |
|
|
#define V850_REG_TCL50 0xFFFFF274
|
453 |
|
|
#define V850_REG_TMC5 0xFFFFF276
|
454 |
|
|
#define V850_REG_TCL51 0xFFFFF27E
|
455 |
|
|
|
456 |
|
|
#define V850_REG_TM6 0xFFFFF280
|
457 |
|
|
#define V850_REG_CR60 0xFFFFF282
|
458 |
|
|
#define V850_REG_TCL60 0xFFFFF284
|
459 |
|
|
#define V850_REG_TMC6 0xFFFFF286
|
460 |
|
|
#define V850_REG_TM67 0xFFFFF28A
|
461 |
|
|
#define V850_REG_CR67 0xFFFFF28C
|
462 |
|
|
#define V850_REG_TCL61 0xFFFFF28E
|
463 |
|
|
|
464 |
|
|
#define V850_REG_TM7 0xFFFFF290
|
465 |
|
|
#define V850_REG_CR70 0xFFFFF292
|
466 |
|
|
#define V850_REG_TCL70 0xFFFFF294
|
467 |
|
|
#define V850_REG_TMC7 0xFFFFF296
|
468 |
|
|
#define V850_REG_TCL71 0xFFFFF29E
|
469 |
|
|
|
470 |
|
|
#define V850_REG_SIO0 0xFFFFF2A0
|
471 |
|
|
#define V850_REG_CSIM0 0xFFFFF2A2
|
472 |
|
|
#define V850_REG_CSIS0 0xFFFFF2A4
|
473 |
|
|
|
474 |
|
|
#define V850_REG_SIO1 0xFFFFF2B0
|
475 |
|
|
#define V850_REG_CSIM1 0xFFFFF2B2
|
476 |
|
|
#define V850_REG_CSIS1 0xFFFFF2B4
|
477 |
|
|
|
478 |
|
|
#define V850_REG_SIO2 0xFFFFF2C0
|
479 |
|
|
#define V850_REG_CSIM2 0xFFFFF2C2
|
480 |
|
|
#define V850_REG_CSIS2 0xFFFFF2C4
|
481 |
|
|
|
482 |
|
|
#define V850_REG_SIO3 0xFFFFF2D0
|
483 |
|
|
#define V850_REG_CSIM3 0xFFFFF2D2
|
484 |
|
|
#define V850_REG_CSIS3 0xFFFFF2D4
|
485 |
|
|
|
486 |
|
|
#define V850_REG_SIO4 0xFFFFF2E0
|
487 |
|
|
#define V850_REG_CSIM4 0xFFFFF2E2
|
488 |
|
|
#define V850_REG_CSIB4 0xFFFFF2E4
|
489 |
|
|
#define V850_REG_BRGCN4 0xFFFFF2E6
|
490 |
|
|
#define V850_REG_BRGCK4 0xFFFFF2E8
|
491 |
|
|
|
492 |
|
|
#define V850_REG_ASIM0 0xFFFFF300
|
493 |
|
|
#define V850_REG_ASIS0 0xFFFFF302
|
494 |
|
|
#define V850_REG_BRGC0 0xFFFFF304
|
495 |
|
|
#define V850_REG_TXS0 0xFFFFF306
|
496 |
|
|
#define V850_REG_RXB0 0xFFFFF308
|
497 |
|
|
#define V850_REG_BRGMC00 0xFFFFF30E
|
498 |
|
|
|
499 |
|
|
#define V850_REG_ASIM1 0xFFFFF310
|
500 |
|
|
#define V850_REG_ASIS1 0xFFFFF312
|
501 |
|
|
#define V850_REG_BRGC1 0xFFFFF314
|
502 |
|
|
#define V850_REG_TXS1 0xFFFFF316
|
503 |
|
|
#define V850_REG_RXB1 0xFFFFF318
|
504 |
|
|
#define V850_REG_BRGMC10 0xFFFFF31E
|
505 |
|
|
#define V850_REG_BRGMC01 0xFFFFF320
|
506 |
|
|
#define V850_REG_BRGMC11 0xFFFFF322
|
507 |
|
|
|
508 |
|
|
#define V850_REG_IICC0 0xFFFFF340
|
509 |
|
|
#define V850_REG_IICS0 0xFFFFF342
|
510 |
|
|
#define V850_REG_IICCL0 0xFFFFF344
|
511 |
|
|
#define V850_REG_SVA0 0xFFFFF346
|
512 |
|
|
#define V850_REG_IIC0 0xFFFFF348
|
513 |
|
|
#define V850_REG_IICX0 0xFFFFF34A
|
514 |
|
|
#define V850_REG_IICCE0 0xFFFFF34C
|
515 |
|
|
|
516 |
|
|
#define V850_REG_IICC1 0xFFFFF350
|
517 |
|
|
#define V850_REG_IICS1 0xFFFFF352
|
518 |
|
|
#define V850_REG_IICCL1 0xFFFFF354
|
519 |
|
|
#define V850_REG_SVA1 0xFFFFF356
|
520 |
|
|
#define V850_REG_IIC1 0xFFFFF358
|
521 |
|
|
#define V850_REG_IICX1 0xFFFFF35A
|
522 |
|
|
#define V850_REG_IICCE1 0xFFFFF35C
|
523 |
|
|
|
524 |
|
|
#define V850_REG_WTNM 0xFFFFF360
|
525 |
|
|
#define V850_REG_WTNCS 0xFFFFF364
|
526 |
|
|
|
527 |
|
|
#define V850_REG_CORCN 0xFFFFF36C
|
528 |
|
|
#define V850_REG_CORRQ 0xFFFFF36E
|
529 |
|
|
#define V850_REG_CORAD0 0xFFFFF370
|
530 |
|
|
#define V850_REG_CORAD1 0xFFFFF374
|
531 |
|
|
#define V850_REG_CORAD2 0xFFFFF378
|
532 |
|
|
#define V850_REG_CORAD3 0xFFFFF37C
|
533 |
|
|
|
534 |
|
|
#define V850_REG_OSTS 0xFFFFF380
|
535 |
|
|
#define V850_REG_WDCS 0xFFFFF382
|
536 |
|
|
#define V850_REG_WDTM 0xFFFFF384
|
537 |
|
|
#define V850_REG_DMAS 0xFFFFF38E
|
538 |
|
|
|
539 |
|
|
#define V850_REG_RTBL 0xFFFFF3A0
|
540 |
|
|
#define V850_REG_RTBH 0xFFFFF3A2
|
541 |
|
|
#define V850_REG_RTPM 0xFFFFF3A4
|
542 |
|
|
#define V850_REG_RTPC 0xFFFFF3A6
|
543 |
|
|
|
544 |
|
|
#define V850_REG_ADM1 0xFFFFF3C0
|
545 |
|
|
#define V850_REG_ADS 0xFFFFF3C2
|
546 |
|
|
#define V850_REG_ADCR 0xFFFFF3C4
|
547 |
|
|
#define V850_REG_ADCRH 0xFFFFF3C6
|
548 |
|
|
#define V850_REG_ADM2 0xFFFFF3C8
|
549 |
|
|
|
550 |
|
|
#define V850_REG_KRM 0xFFFFF3D0
|
551 |
|
|
|
552 |
|
|
#define V850_REG_NCC 0xFFFFF3D4
|
553 |
|
|
|
554 |
|
|
#else // elif CYGINT_HAL_V850_VARIANT_SB1
|
555 |
|
|
# error No v850 variant defined
|
556 |
|
|
#endif
|
557 |
|
|
|
558 |
|
|
|
559 |
|
|
/*---------------------------------------------------------------------------*/
|
560 |
|
|
/* end of v850_common.h */
|
561 |
|
|
#endif /* CYGONCE_V850_COMMON_H */
|