hw_cpu_scs.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2018-2020, Texas Instruments Incorporated
3  * All rights reserved.
4  *
5  * Redistribution and use in source and binary forms, with or without
6  * modification, are permitted provided that the following conditions
7  * are met:
8  *
9  * * Redistributions of source code must retain the above copyright
10  * notice, this list of conditions and the following disclaimer.
11  *
12  * * Redistributions in binary form must reproduce the above copyright
13  * notice, this list of conditions and the following disclaimer in the
14  * documentation and/or other materials provided with the distribution.
15  *
16  * * Neither the name of Texas Instruments Incorporated nor the names of
17  * its contributors may be used to endorse or promote products derived
18  * from this software without specific prior written permission.
19  *
20  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
22  * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
23  * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
24  * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
25  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
26  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
27  * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
28  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
29  * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
30  * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31  */
32 
33 
34 #ifndef __HW_CPU_SCS_H__
35 #define __HW_CPU_SCS_H__
36 
37 //*****************************************************************************
38 //
39 // This section defines the register offsets of
40 // CPU_SCS component
41 //
42 //*****************************************************************************
43 // Interrupt Control Type
44 #define CPU_SCS_O_ICTR 0x00000004
45 
46 // Auxiliary Control
47 #define CPU_SCS_O_ACTLR 0x00000008
48 
49 // SysTick Control and Status
50 #define CPU_SCS_O_STCSR 0x00000010
51 
52 // SysTick Reload Value
53 #define CPU_SCS_O_STRVR 0x00000014
54 
55 // SysTick Current Value
56 #define CPU_SCS_O_STCVR 0x00000018
57 
58 // SysTick Calibration Value
59 #define CPU_SCS_O_STCR 0x0000001C
60 
61 // Irq 0 to 31 Set Enable
62 #define CPU_SCS_O_NVIC_ISER0 0x00000100
63 
64 // Irq 32 to 63 Set Enable
65 #define CPU_SCS_O_NVIC_ISER1 0x00000104
66 
67 // Irq 0 to 31 Clear Enable
68 #define CPU_SCS_O_NVIC_ICER0 0x00000180
69 
70 // Irq 32 to 63 Clear Enable
71 #define CPU_SCS_O_NVIC_ICER1 0x00000184
72 
73 // Irq 0 to 31 Set Pending
74 #define CPU_SCS_O_NVIC_ISPR0 0x00000200
75 
76 // Irq 32 to 63 Set Pending
77 #define CPU_SCS_O_NVIC_ISPR1 0x00000204
78 
79 // Irq 0 to 31 Clear Pending
80 #define CPU_SCS_O_NVIC_ICPR0 0x00000280
81 
82 // Irq 32 to 63 Clear Pending
83 #define CPU_SCS_O_NVIC_ICPR1 0x00000284
84 
85 // Irq 0 to 31 Active Bit
86 #define CPU_SCS_O_NVIC_IABR0 0x00000300
87 
88 // Irq 32 to 63 Active Bit
89 #define CPU_SCS_O_NVIC_IABR1 0x00000304
90 
91 // Irq 0 to 3 Priority
92 #define CPU_SCS_O_NVIC_IPR0 0x00000400
93 
94 // Irq 4 to 7 Priority
95 #define CPU_SCS_O_NVIC_IPR1 0x00000404
96 
97 // Irq 8 to 11 Priority
98 #define CPU_SCS_O_NVIC_IPR2 0x00000408
99 
100 // Irq 12 to 15 Priority
101 #define CPU_SCS_O_NVIC_IPR3 0x0000040C
102 
103 // Irq 16 to 19 Priority
104 #define CPU_SCS_O_NVIC_IPR4 0x00000410
105 
106 // Irq 20 to 23 Priority
107 #define CPU_SCS_O_NVIC_IPR5 0x00000414
108 
109 // Irq 24 to 27 Priority
110 #define CPU_SCS_O_NVIC_IPR6 0x00000418
111 
112 // Irq 28 to 31 Priority
113 #define CPU_SCS_O_NVIC_IPR7 0x0000041C
114 
115 // Irq 32 to 35 Priority
116 #define CPU_SCS_O_NVIC_IPR8 0x00000420
117 
118 // Irq 32 to 35 Priority
119 #define CPU_SCS_O_NVIC_IPR9 0x00000424
120 
121 // CPUID Base
122 #define CPU_SCS_O_CPUID 0x00000D00
123 
124 // Interrupt Control State
125 #define CPU_SCS_O_ICSR 0x00000D04
126 
127 // Vector Table Offset
128 #define CPU_SCS_O_VTOR 0x00000D08
129 
130 // Application Interrupt/Reset Control
131 #define CPU_SCS_O_AIRCR 0x00000D0C
132 
133 // System Control
134 #define CPU_SCS_O_SCR 0x00000D10
135 
136 // Configuration Control
137 #define CPU_SCS_O_CCR 0x00000D14
138 
139 // System Handlers 4-7 Priority
140 #define CPU_SCS_O_SHPR1 0x00000D18
141 
142 // System Handlers 8-11 Priority
143 #define CPU_SCS_O_SHPR2 0x00000D1C
144 
145 // System Handlers 12-15 Priority
146 #define CPU_SCS_O_SHPR3 0x00000D20
147 
148 // System Handler Control and State
149 #define CPU_SCS_O_SHCSR 0x00000D24
150 
151 // Configurable Fault Status
152 #define CPU_SCS_O_CFSR 0x00000D28
153 
154 // Hard Fault Status
155 #define CPU_SCS_O_HFSR 0x00000D2C
156 
157 // Debug Fault Status
158 #define CPU_SCS_O_DFSR 0x00000D30
159 
160 // Mem Manage Fault Address
161 #define CPU_SCS_O_MMFAR 0x00000D34
162 
163 // Bus Fault Address
164 #define CPU_SCS_O_BFAR 0x00000D38
165 
166 // Auxiliary Fault Status
167 #define CPU_SCS_O_AFSR 0x00000D3C
168 
169 // Processor Feature 0
170 #define CPU_SCS_O_ID_PFR0 0x00000D40
171 
172 // Processor Feature 1
173 #define CPU_SCS_O_ID_PFR1 0x00000D44
174 
175 // Debug Feature 0
176 #define CPU_SCS_O_ID_DFR0 0x00000D48
177 
178 // Auxiliary Feature 0
179 #define CPU_SCS_O_ID_AFR0 0x00000D4C
180 
181 // Memory Model Feature 0
182 #define CPU_SCS_O_ID_MMFR0 0x00000D50
183 
184 // Memory Model Feature 1
185 #define CPU_SCS_O_ID_MMFR1 0x00000D54
186 
187 // Memory Model Feature 2
188 #define CPU_SCS_O_ID_MMFR2 0x00000D58
189 
190 // Memory Model Feature 3
191 #define CPU_SCS_O_ID_MMFR3 0x00000D5C
192 
193 // ISA Feature 0
194 #define CPU_SCS_O_ID_ISAR0 0x00000D60
195 
196 // ISA Feature 1
197 #define CPU_SCS_O_ID_ISAR1 0x00000D64
198 
199 // ISA Feature 2
200 #define CPU_SCS_O_ID_ISAR2 0x00000D68
201 
202 // ISA Feature 3
203 #define CPU_SCS_O_ID_ISAR3 0x00000D6C
204 
205 // ISA Feature 4
206 #define CPU_SCS_O_ID_ISAR4 0x00000D70
207 
208 // Coprocessor Access Control
209 #define CPU_SCS_O_CPACR 0x00000D88
210 
211 // MPU Type
212 #define CPU_SCS_O_MPU_TYPE 0x00000D90
213 
214 // MPU Control
215 #define CPU_SCS_O_MPU_CTRL 0x00000D94
216 
217 // MPU Region Number
218 #define CPU_SCS_O_MPU_RNR 0x00000D98
219 
220 // MPU Region Base Address
221 #define CPU_SCS_O_MPU_RBAR 0x00000D9C
222 
223 // MPU Region Attribute and Size
224 #define CPU_SCS_O_MPU_RASR 0x00000DA0
225 
226 // MPU Alias 1 Region Base Address
227 #define CPU_SCS_O_MPU_RBAR_A1 0x00000DA4
228 
229 // MPU Alias 1 Region Attribute and Size
230 #define CPU_SCS_O_MPU_RASR_A1 0x00000DA8
231 
232 // MPU Alias 2 Region Base Address
233 #define CPU_SCS_O_MPU_RBAR_A2 0x00000DAC
234 
235 // MPU Alias 2 Region Attribute and Size
236 #define CPU_SCS_O_MPU_RASR_A2 0x00000DB0
237 
238 // MPU Alias 3 Region Base Address
239 #define CPU_SCS_O_MPU_RBAR_A3 0x00000DB4
240 
241 // MPU Alias 3 Region Attribute and Size
242 #define CPU_SCS_O_MPU_RASR_A3 0x00000DB8
243 
244 // Debug Halting Control and Status
245 #define CPU_SCS_O_DHCSR 0x00000DF0
246 
247 // Deubg Core Register Selector
248 #define CPU_SCS_O_DCRSR 0x00000DF4
249 
250 // Debug Core Register Data
251 #define CPU_SCS_O_DCRDR 0x00000DF8
252 
253 // Debug Exception and Monitor Control
254 #define CPU_SCS_O_DEMCR 0x00000DFC
255 
256 // Software Trigger Interrupt
257 #define CPU_SCS_O_STIR 0x00000F00
258 
259 // Floating Point Context Control
260 #define CPU_SCS_O_FPCCR 0x00000F34
261 
262 // Floating-Point Context Address
263 #define CPU_SCS_O_FPCAR 0x00000F38
264 
265 // Floating Point Default Status Control
266 #define CPU_SCS_O_FPDSCR 0x00000F3C
267 
268 // Media and FP Feature 0
269 #define CPU_SCS_O_MVFR0 0x00000F40
270 
271 // Media and FP Feature 1
272 #define CPU_SCS_O_MVFR1 0x00000F44
273 
274 //*****************************************************************************
275 //
276 // Register: CPU_SCS_O_ICTR
277 //
278 //*****************************************************************************
279 // Field: [2:0] INTLINESNUM
280 //
281 // Total number of interrupt lines in groups of 32.
282 //
283 // 0: 0...32
284 // 1: 33...64
285 // 2: 65...96
286 // 3: 97...128
287 // 4: 129...160
288 // 5: 161...192
289 // 6: 193...224
290 // 7: 225...256
291 #define CPU_SCS_ICTR_INTLINESNUM_W 3
292 #define CPU_SCS_ICTR_INTLINESNUM_M 0x00000007
293 #define CPU_SCS_ICTR_INTLINESNUM_S 0
294 
295 //*****************************************************************************
296 //
297 // Register: CPU_SCS_O_ACTLR
298 //
299 //*****************************************************************************
300 // Field: [9] DISOOFP
301 //
302 // Disables floating point instructions completing out of order with respect to
303 // integer instructions.
304 #define CPU_SCS_ACTLR_DISOOFP 0x00000200
305 #define CPU_SCS_ACTLR_DISOOFP_BITN 9
306 #define CPU_SCS_ACTLR_DISOOFP_M 0x00000200
307 #define CPU_SCS_ACTLR_DISOOFP_S 9
308 
309 // Field: [8] DISFPCA
310 //
311 // Disable automatic update of CONTROL.FPCA
312 #define CPU_SCS_ACTLR_DISFPCA 0x00000100
313 #define CPU_SCS_ACTLR_DISFPCA_BITN 8
314 #define CPU_SCS_ACTLR_DISFPCA_M 0x00000100
315 #define CPU_SCS_ACTLR_DISFPCA_S 8
316 
317 // Field: [2] DISFOLD
318 //
319 // Disables folding of IT instruction.
320 #define CPU_SCS_ACTLR_DISFOLD 0x00000004
321 #define CPU_SCS_ACTLR_DISFOLD_BITN 2
322 #define CPU_SCS_ACTLR_DISFOLD_M 0x00000004
323 #define CPU_SCS_ACTLR_DISFOLD_S 2
324 
325 // Field: [1] DISDEFWBUF
326 //
327 // Disables write buffer use during default memory map accesses. This causes
328 // all bus faults to be precise bus faults but decreases the performance of the
329 // processor because the stores to memory have to complete before the next
330 // instruction can be executed.
331 #define CPU_SCS_ACTLR_DISDEFWBUF 0x00000002
332 #define CPU_SCS_ACTLR_DISDEFWBUF_BITN 1
333 #define CPU_SCS_ACTLR_DISDEFWBUF_M 0x00000002
334 #define CPU_SCS_ACTLR_DISDEFWBUF_S 1
335 
336 // Field: [0] DISMCYCINT
337 //
338 // Disables interruption of multi-cycle instructions. This increases the
339 // interrupt latency of the processor becuase LDM/STM completes before
340 // interrupt stacking occurs.
341 #define CPU_SCS_ACTLR_DISMCYCINT 0x00000001
342 #define CPU_SCS_ACTLR_DISMCYCINT_BITN 0
343 #define CPU_SCS_ACTLR_DISMCYCINT_M 0x00000001
344 #define CPU_SCS_ACTLR_DISMCYCINT_S 0
345 
346 //*****************************************************************************
347 //
348 // Register: CPU_SCS_O_STCSR
349 //
350 //*****************************************************************************
351 // Field: [16] COUNTFLAG
352 //
353 // Returns 1 if timer counted to 0 since last time this was read. Clears on
354 // read by application of any part of the SysTick Control and Status Register.
355 // If read by the debugger using the DAP, this bit is cleared on read-only if
356 // the MasterType bit in the **AHB-AP** Control Register is set to 0.
357 // Otherwise, COUNTFLAG is not changed by the debugger read.
358 #define CPU_SCS_STCSR_COUNTFLAG 0x00010000
359 #define CPU_SCS_STCSR_COUNTFLAG_BITN 16
360 #define CPU_SCS_STCSR_COUNTFLAG_M 0x00010000
361 #define CPU_SCS_STCSR_COUNTFLAG_S 16
362 
363 // Field: [2] CLKSOURCE
364 //
365 // Clock source:
366 //
367 // 0: External reference clock.
368 // 1: Core clock
369 //
370 // External clock is not available in this device. Writes to this field will be
371 // ignored.
372 #define CPU_SCS_STCSR_CLKSOURCE 0x00000004
373 #define CPU_SCS_STCSR_CLKSOURCE_BITN 2
374 #define CPU_SCS_STCSR_CLKSOURCE_M 0x00000004
375 #define CPU_SCS_STCSR_CLKSOURCE_S 2
376 
377 // Field: [1] TICKINT
378 //
379 // 0: Counting down to zero does not pend the SysTick handler. Software can use
380 // COUNTFLAG to determine if the SysTick handler has ever counted to zero.
381 // 1: Counting down to zero pends the SysTick handler.
382 #define CPU_SCS_STCSR_TICKINT 0x00000002
383 #define CPU_SCS_STCSR_TICKINT_BITN 1
384 #define CPU_SCS_STCSR_TICKINT_M 0x00000002
385 #define CPU_SCS_STCSR_TICKINT_S 1
386 
387 // Field: [0] ENABLE
388 //
389 // Enable SysTick counter
390 //
391 // 0: Counter disabled
392 // 1: Counter operates in a multi-shot way. That is, counter loads with the
393 // Reload value STRVR.RELOAD and then begins counting down. On reaching 0, it
394 // sets COUNTFLAG to 1 and optionally pends the SysTick handler, based on
395 // TICKINT. It then loads STRVR.RELOAD again, and begins counting.
396 #define CPU_SCS_STCSR_ENABLE 0x00000001
397 #define CPU_SCS_STCSR_ENABLE_BITN 0
398 #define CPU_SCS_STCSR_ENABLE_M 0x00000001
399 #define CPU_SCS_STCSR_ENABLE_S 0
400 
401 //*****************************************************************************
402 //
403 // Register: CPU_SCS_O_STRVR
404 //
405 //*****************************************************************************
406 // Field: [23:0] RELOAD
407 //
408 // Value to load into the SysTick Current Value Register STCVR.CURRENT when the
409 // counter reaches 0.
410 #define CPU_SCS_STRVR_RELOAD_W 24
411 #define CPU_SCS_STRVR_RELOAD_M 0x00FFFFFF
412 #define CPU_SCS_STRVR_RELOAD_S 0
413 
414 //*****************************************************************************
415 //
416 // Register: CPU_SCS_O_STCVR
417 //
418 //*****************************************************************************
419 // Field: [23:0] CURRENT
420 //
421 // Current value at the time the register is accessed. No read-modify-write
422 // protection is provided, so change with care. Writing to it with any value
423 // clears the register to 0. Clearing this register also clears
424 // STCSR.COUNTFLAG.
425 #define CPU_SCS_STCVR_CURRENT_W 24
426 #define CPU_SCS_STCVR_CURRENT_M 0x00FFFFFF
427 #define CPU_SCS_STCVR_CURRENT_S 0
428 
429 //*****************************************************************************
430 //
431 // Register: CPU_SCS_O_STCR
432 //
433 //*****************************************************************************
434 // Field: [31] NOREF
435 //
436 // Reads as one. Indicates that no separate reference clock is provided.
437 #define CPU_SCS_STCR_NOREF 0x80000000
438 #define CPU_SCS_STCR_NOREF_BITN 31
439 #define CPU_SCS_STCR_NOREF_M 0x80000000
440 #define CPU_SCS_STCR_NOREF_S 31
441 
442 // Field: [30] SKEW
443 //
444 // Reads as one. The calibration value is not exactly 10ms because of clock
445 // frequency. This could affect its suitability as a software real time clock.
446 #define CPU_SCS_STCR_SKEW 0x40000000
447 #define CPU_SCS_STCR_SKEW_BITN 30
448 #define CPU_SCS_STCR_SKEW_M 0x40000000
449 #define CPU_SCS_STCR_SKEW_S 30
450 
451 // Field: [23:0] TENMS
452 //
453 // An optional Reload value to be used for 10ms (100Hz) timing, subject to
454 // system clock skew errors. The value read is valid only when core clock is at
455 // 48MHz.
456 #define CPU_SCS_STCR_TENMS_W 24
457 #define CPU_SCS_STCR_TENMS_M 0x00FFFFFF
458 #define CPU_SCS_STCR_TENMS_S 0
459 
460 //*****************************************************************************
461 //
462 // Register: CPU_SCS_O_NVIC_ISER0
463 //
464 //*****************************************************************************
465 // Field: [31] SETENA31
466 //
467 // Writing 0 to this bit has no effect, writing 1 to this bit enables the
468 // interrupt number 31 (See EVENT:CPUIRQSEL31.EV for details). Reading the bit
469 // returns its current enable state.
470 #define CPU_SCS_NVIC_ISER0_SETENA31 0x80000000
471 #define CPU_SCS_NVIC_ISER0_SETENA31_BITN 31
472 #define CPU_SCS_NVIC_ISER0_SETENA31_M 0x80000000
473 #define CPU_SCS_NVIC_ISER0_SETENA31_S 31
474 
475 // Field: [30] SETENA30
476 //
477 // Writing 0 to this bit has no effect, writing 1 to this bit enables the
478 // interrupt number 30 (See EVENT:CPUIRQSEL30.EV for details). Reading the bit
479 // returns its current enable state.
480 #define CPU_SCS_NVIC_ISER0_SETENA30 0x40000000
481 #define CPU_SCS_NVIC_ISER0_SETENA30_BITN 30
482 #define CPU_SCS_NVIC_ISER0_SETENA30_M 0x40000000
483 #define CPU_SCS_NVIC_ISER0_SETENA30_S 30
484 
485 // Field: [29] SETENA29
486 //
487 // Writing 0 to this bit has no effect, writing 1 to this bit enables the
488 // interrupt number 29 (See EVENT:CPUIRQSEL29.EV for details). Reading the bit
489 // returns its current enable state.
490 #define CPU_SCS_NVIC_ISER0_SETENA29 0x20000000
491 #define CPU_SCS_NVIC_ISER0_SETENA29_BITN 29
492 #define CPU_SCS_NVIC_ISER0_SETENA29_M 0x20000000
493 #define CPU_SCS_NVIC_ISER0_SETENA29_S 29
494 
495 // Field: [28] SETENA28
496 //
497 // Writing 0 to this bit has no effect, writing 1 to this bit enables the
498 // interrupt number 28 (See EVENT:CPUIRQSEL28.EV for details). Reading the bit
499 // returns its current enable state.
500 #define CPU_SCS_NVIC_ISER0_SETENA28 0x10000000
501 #define CPU_SCS_NVIC_ISER0_SETENA28_BITN 28
502 #define CPU_SCS_NVIC_ISER0_SETENA28_M 0x10000000
503 #define CPU_SCS_NVIC_ISER0_SETENA28_S 28
504 
505 // Field: [27] SETENA27
506 //
507 // Writing 0 to this bit has no effect, writing 1 to this bit enables the
508 // interrupt number 27 (See EVENT:CPUIRQSEL27.EV for details). Reading the bit
509 // returns its current enable state.
510 #define CPU_SCS_NVIC_ISER0_SETENA27 0x08000000
511 #define CPU_SCS_NVIC_ISER0_SETENA27_BITN 27
512 #define CPU_SCS_NVIC_ISER0_SETENA27_M 0x08000000
513 #define CPU_SCS_NVIC_ISER0_SETENA27_S 27
514 
515 // Field: [26] SETENA26
516 //
517 // Writing 0 to this bit has no effect, writing 1 to this bit enables the
518 // interrupt number 26 (See EVENT:CPUIRQSEL26.EV for details). Reading the bit
519 // returns its current enable state.
520 #define CPU_SCS_NVIC_ISER0_SETENA26 0x04000000
521 #define CPU_SCS_NVIC_ISER0_SETENA26_BITN 26
522 #define CPU_SCS_NVIC_ISER0_SETENA26_M 0x04000000
523 #define CPU_SCS_NVIC_ISER0_SETENA26_S 26
524 
525 // Field: [25] SETENA25
526 //
527 // Writing 0 to this bit has no effect, writing 1 to this bit enables the
528 // interrupt number 25 (See EVENT:CPUIRQSEL25.EV for details). Reading the bit
529 // returns its current enable state.
530 #define CPU_SCS_NVIC_ISER0_SETENA25 0x02000000
531 #define CPU_SCS_NVIC_ISER0_SETENA25_BITN 25
532 #define CPU_SCS_NVIC_ISER0_SETENA25_M 0x02000000
533 #define CPU_SCS_NVIC_ISER0_SETENA25_S 25
534 
535 // Field: [24] SETENA24
536 //
537 // Writing 0 to this bit has no effect, writing 1 to this bit enables the
538 // interrupt number 24 (See EVENT:CPUIRQSEL24.EV for details). Reading the bit
539 // returns its current enable state.
540 #define CPU_SCS_NVIC_ISER0_SETENA24 0x01000000
541 #define CPU_SCS_NVIC_ISER0_SETENA24_BITN 24
542 #define CPU_SCS_NVIC_ISER0_SETENA24_M 0x01000000
543 #define CPU_SCS_NVIC_ISER0_SETENA24_S 24
544 
545 // Field: [23] SETENA23
546 //
547 // Writing 0 to this bit has no effect, writing 1 to this bit enables the
548 // interrupt number 23 (See EVENT:CPUIRQSEL23.EV for details). Reading the bit
549 // returns its current enable state.
550 #define CPU_SCS_NVIC_ISER0_SETENA23 0x00800000
551 #define CPU_SCS_NVIC_ISER0_SETENA23_BITN 23
552 #define CPU_SCS_NVIC_ISER0_SETENA23_M 0x00800000
553 #define CPU_SCS_NVIC_ISER0_SETENA23_S 23
554 
555 // Field: [22] SETENA22
556 //
557 // Writing 0 to this bit has no effect, writing 1 to this bit enables the
558 // interrupt number 22 (See EVENT:CPUIRQSEL22.EV for details). Reading the bit
559 // returns its current enable state.
560 #define CPU_SCS_NVIC_ISER0_SETENA22 0x00400000
561 #define CPU_SCS_NVIC_ISER0_SETENA22_BITN 22
562 #define CPU_SCS_NVIC_ISER0_SETENA22_M 0x00400000
563 #define CPU_SCS_NVIC_ISER0_SETENA22_S 22
564 
565 // Field: [21] SETENA21
566 //
567 // Writing 0 to this bit has no effect, writing 1 to this bit enables the
568 // interrupt number 21 (See EVENT:CPUIRQSEL21.EV for details). Reading the bit
569 // returns its current enable state.
570 #define CPU_SCS_NVIC_ISER0_SETENA21 0x00200000
571 #define CPU_SCS_NVIC_ISER0_SETENA21_BITN 21
572 #define CPU_SCS_NVIC_ISER0_SETENA21_M 0x00200000
573 #define CPU_SCS_NVIC_ISER0_SETENA21_S 21
574 
575 // Field: [20] SETENA20
576 //
577 // Writing 0 to this bit has no effect, writing 1 to this bit enables the
578 // interrupt number 20 (See EVENT:CPUIRQSEL20.EV for details). Reading the bit
579 // returns its current enable state.
580 #define CPU_SCS_NVIC_ISER0_SETENA20 0x00100000
581 #define CPU_SCS_NVIC_ISER0_SETENA20_BITN 20
582 #define CPU_SCS_NVIC_ISER0_SETENA20_M 0x00100000
583 #define CPU_SCS_NVIC_ISER0_SETENA20_S 20
584 
585 // Field: [19] SETENA19
586 //
587 // Writing 0 to this bit has no effect, writing 1 to this bit enables the
588 // interrupt number 19 (See EVENT:CPUIRQSEL19.EV for details). Reading the bit
589 // returns its current enable state.
590 #define CPU_SCS_NVIC_ISER0_SETENA19 0x00080000
591 #define CPU_SCS_NVIC_ISER0_SETENA19_BITN 19
592 #define CPU_SCS_NVIC_ISER0_SETENA19_M 0x00080000
593 #define CPU_SCS_NVIC_ISER0_SETENA19_S 19
594 
595 // Field: [18] SETENA18
596 //
597 // Writing 0 to this bit has no effect, writing 1 to this bit enables the
598 // interrupt number 18 (See EVENT:CPUIRQSEL18.EV for details). Reading the bit
599 // returns its current enable state.
600 #define CPU_SCS_NVIC_ISER0_SETENA18 0x00040000
601 #define CPU_SCS_NVIC_ISER0_SETENA18_BITN 18
602 #define CPU_SCS_NVIC_ISER0_SETENA18_M 0x00040000
603 #define CPU_SCS_NVIC_ISER0_SETENA18_S 18
604 
605 // Field: [17] SETENA17
606 //
607 // Writing 0 to this bit has no effect, writing 1 to this bit enables the
608 // interrupt number 17 (See EVENT:CPUIRQSEL17.EV for details). Reading the bit
609 // returns its current enable state.
610 #define CPU_SCS_NVIC_ISER0_SETENA17 0x00020000
611 #define CPU_SCS_NVIC_ISER0_SETENA17_BITN 17
612 #define CPU_SCS_NVIC_ISER0_SETENA17_M 0x00020000
613 #define CPU_SCS_NVIC_ISER0_SETENA17_S 17
614 
615 // Field: [16] SETENA16
616 //
617 // Writing 0 to this bit has no effect, writing 1 to this bit enables the
618 // interrupt number 16 (See EVENT:CPUIRQSEL16.EV for details). Reading the bit
619 // returns its current enable state.
620 #define CPU_SCS_NVIC_ISER0_SETENA16 0x00010000
621 #define CPU_SCS_NVIC_ISER0_SETENA16_BITN 16
622 #define CPU_SCS_NVIC_ISER0_SETENA16_M 0x00010000
623 #define CPU_SCS_NVIC_ISER0_SETENA16_S 16
624 
625 // Field: [15] SETENA15
626 //
627 // Writing 0 to this bit has no effect, writing 1 to this bit enables the
628 // interrupt number 15 (See EVENT:CPUIRQSEL15.EV for details). Reading the bit
629 // returns its current enable state.
630 #define CPU_SCS_NVIC_ISER0_SETENA15 0x00008000
631 #define CPU_SCS_NVIC_ISER0_SETENA15_BITN 15
632 #define CPU_SCS_NVIC_ISER0_SETENA15_M 0x00008000
633 #define CPU_SCS_NVIC_ISER0_SETENA15_S 15
634 
635 // Field: [14] SETENA14
636 //
637 // Writing 0 to this bit has no effect, writing 1 to this bit enables the
638 // interrupt number 14 (See EVENT:CPUIRQSEL14.EV for details). Reading the bit
639 // returns its current enable state.
640 #define CPU_SCS_NVIC_ISER0_SETENA14 0x00004000
641 #define CPU_SCS_NVIC_ISER0_SETENA14_BITN 14
642 #define CPU_SCS_NVIC_ISER0_SETENA14_M 0x00004000
643 #define CPU_SCS_NVIC_ISER0_SETENA14_S 14
644 
645 // Field: [13] SETENA13
646 //
647 // Writing 0 to this bit has no effect, writing 1 to this bit enables the
648 // interrupt number 13 (See EVENT:CPUIRQSEL13.EV for details). Reading the bit
649 // returns its current enable state.
650 #define CPU_SCS_NVIC_ISER0_SETENA13 0x00002000
651 #define CPU_SCS_NVIC_ISER0_SETENA13_BITN 13
652 #define CPU_SCS_NVIC_ISER0_SETENA13_M 0x00002000
653 #define CPU_SCS_NVIC_ISER0_SETENA13_S 13
654 
655 // Field: [12] SETENA12
656 //
657 // Writing 0 to this bit has no effect, writing 1 to this bit enables the
658 // interrupt number 12 (See EVENT:CPUIRQSEL12.EV for details). Reading the bit
659 // returns its current enable state.
660 #define CPU_SCS_NVIC_ISER0_SETENA12 0x00001000
661 #define CPU_SCS_NVIC_ISER0_SETENA12_BITN 12
662 #define CPU_SCS_NVIC_ISER0_SETENA12_M 0x00001000
663 #define CPU_SCS_NVIC_ISER0_SETENA12_S 12
664 
665 // Field: [11] SETENA11
666 //
667 // Writing 0 to this bit has no effect, writing 1 to this bit enables the
668 // interrupt number 11 (See EVENT:CPUIRQSEL11.EV for details). Reading the bit
669 // returns its current enable state.
670 #define CPU_SCS_NVIC_ISER0_SETENA11 0x00000800
671 #define CPU_SCS_NVIC_ISER0_SETENA11_BITN 11
672 #define CPU_SCS_NVIC_ISER0_SETENA11_M 0x00000800
673 #define CPU_SCS_NVIC_ISER0_SETENA11_S 11
674 
675 // Field: [10] SETENA10
676 //
677 // Writing 0 to this bit has no effect, writing 1 to this bit enables the
678 // interrupt number 10 (See EVENT:CPUIRQSEL10.EV for details). Reading the bit
679 // returns its current enable state.
680 #define CPU_SCS_NVIC_ISER0_SETENA10 0x00000400
681 #define CPU_SCS_NVIC_ISER0_SETENA10_BITN 10
682 #define CPU_SCS_NVIC_ISER0_SETENA10_M 0x00000400
683 #define CPU_SCS_NVIC_ISER0_SETENA10_S 10
684 
685 // Field: [9] SETENA9
686 //
687 // Writing 0 to this bit has no effect, writing 1 to this bit enables the
688 // interrupt number 9 (See EVENT:CPUIRQSEL9.EV for details). Reading the bit
689 // returns its current enable state.
690 #define CPU_SCS_NVIC_ISER0_SETENA9 0x00000200
691 #define CPU_SCS_NVIC_ISER0_SETENA9_BITN 9
692 #define CPU_SCS_NVIC_ISER0_SETENA9_M 0x00000200
693 #define CPU_SCS_NVIC_ISER0_SETENA9_S 9
694 
695 // Field: [8] SETENA8
696 //
697 // Writing 0 to this bit has no effect, writing 1 to this bit enables the
698 // interrupt number 8 (See EVENT:CPUIRQSEL8.EV for details). Reading the bit
699 // returns its current enable state.
700 #define CPU_SCS_NVIC_ISER0_SETENA8 0x00000100
701 #define CPU_SCS_NVIC_ISER0_SETENA8_BITN 8
702 #define CPU_SCS_NVIC_ISER0_SETENA8_M 0x00000100
703 #define CPU_SCS_NVIC_ISER0_SETENA8_S 8
704 
705 // Field: [7] SETENA7
706 //
707 // Writing 0 to this bit has no effect, writing 1 to this bit enables the
708 // interrupt number 7 (See EVENT:CPUIRQSEL7.EV for details). Reading the bit
709 // returns its current enable state.
710 #define CPU_SCS_NVIC_ISER0_SETENA7 0x00000080
711 #define CPU_SCS_NVIC_ISER0_SETENA7_BITN 7
712 #define CPU_SCS_NVIC_ISER0_SETENA7_M 0x00000080
713 #define CPU_SCS_NVIC_ISER0_SETENA7_S 7
714 
715 // Field: [6] SETENA6
716 //
717 // Writing 0 to this bit has no effect, writing 1 to this bit enables the
718 // interrupt number 6 (See EVENT:CPUIRQSEL6.EV for details). Reading the bit
719 // returns its current enable state.
720 #define CPU_SCS_NVIC_ISER0_SETENA6 0x00000040
721 #define CPU_SCS_NVIC_ISER0_SETENA6_BITN 6
722 #define CPU_SCS_NVIC_ISER0_SETENA6_M 0x00000040
723 #define CPU_SCS_NVIC_ISER0_SETENA6_S 6
724 
725 // Field: [5] SETENA5
726 //
727 // Writing 0 to this bit has no effect, writing 1 to this bit enables the
728 // interrupt number 5 (See EVENT:CPUIRQSEL5.EV for details). Reading the bit
729 // returns its current enable state.
730 #define CPU_SCS_NVIC_ISER0_SETENA5 0x00000020
731 #define CPU_SCS_NVIC_ISER0_SETENA5_BITN 5
732 #define CPU_SCS_NVIC_ISER0_SETENA5_M 0x00000020
733 #define CPU_SCS_NVIC_ISER0_SETENA5_S 5
734 
735 // Field: [4] SETENA4
736 //
737 // Writing 0 to this bit has no effect, writing 1 to this bit enables the
738 // interrupt number 4 (See EVENT:CPUIRQSEL4.EV for details). Reading the bit
739 // returns its current enable state.
740 #define CPU_SCS_NVIC_ISER0_SETENA4 0x00000010
741 #define CPU_SCS_NVIC_ISER0_SETENA4_BITN 4
742 #define CPU_SCS_NVIC_ISER0_SETENA4_M 0x00000010
743 #define CPU_SCS_NVIC_ISER0_SETENA4_S 4
744 
745 // Field: [3] SETENA3
746 //
747 // Writing 0 to this bit has no effect, writing 1 to this bit enables the
748 // interrupt number 3 (See EVENT:CPUIRQSEL3.EV for details). Reading the bit
749 // returns its current enable state.
750 #define CPU_SCS_NVIC_ISER0_SETENA3 0x00000008
751 #define CPU_SCS_NVIC_ISER0_SETENA3_BITN 3
752 #define CPU_SCS_NVIC_ISER0_SETENA3_M 0x00000008
753 #define CPU_SCS_NVIC_ISER0_SETENA3_S 3
754 
755 // Field: [2] SETENA2
756 //
757 // Writing 0 to this bit has no effect, writing 1 to this bit enables the
758 // interrupt number 2 (See EVENT:CPUIRQSEL2.EV for details). Reading the bit
759 // returns its current enable state.
760 #define CPU_SCS_NVIC_ISER0_SETENA2 0x00000004
761 #define CPU_SCS_NVIC_ISER0_SETENA2_BITN 2
762 #define CPU_SCS_NVIC_ISER0_SETENA2_M 0x00000004
763 #define CPU_SCS_NVIC_ISER0_SETENA2_S 2
764 
765 // Field: [1] SETENA1
766 //
767 // Writing 0 to this bit has no effect, writing 1 to this bit enables the
768 // interrupt number 1 (See EVENT:CPUIRQSEL1.EV for details). Reading the bit
769 // returns its current enable state.
770 #define CPU_SCS_NVIC_ISER0_SETENA1 0x00000002
771 #define CPU_SCS_NVIC_ISER0_SETENA1_BITN 1
772 #define CPU_SCS_NVIC_ISER0_SETENA1_M 0x00000002
773 #define CPU_SCS_NVIC_ISER0_SETENA1_S 1
774 
775 // Field: [0] SETENA0
776 //
777 // Writing 0 to this bit has no effect, writing 1 to this bit enables the
778 // interrupt number 0 (See EVENT:CPUIRQSEL0.EV for details). Reading the bit
779 // returns its current enable state.
780 #define CPU_SCS_NVIC_ISER0_SETENA0 0x00000001
781 #define CPU_SCS_NVIC_ISER0_SETENA0_BITN 0
782 #define CPU_SCS_NVIC_ISER0_SETENA0_M 0x00000001
783 #define CPU_SCS_NVIC_ISER0_SETENA0_S 0
784 
785 //*****************************************************************************
786 //
787 // Register: CPU_SCS_O_NVIC_ISER1
788 //
789 //*****************************************************************************
790 // Field: [5] SETENA37
791 //
792 // Writing 0 to this bit has no effect, writing 1 to this bit enables the
793 // interrupt number 37 (See EVENT:CPUIRQSEL37.EV for details). Reading the bit
794 // returns its current enable state.
795 #define CPU_SCS_NVIC_ISER1_SETENA37 0x00000020
796 #define CPU_SCS_NVIC_ISER1_SETENA37_BITN 5
797 #define CPU_SCS_NVIC_ISER1_SETENA37_M 0x00000020
798 #define CPU_SCS_NVIC_ISER1_SETENA37_S 5
799 
800 // Field: [4] SETENA36
801 //
802 // Writing 0 to this bit has no effect, writing 1 to this bit enables the
803 // interrupt number 36 (See EVENT:CPUIRQSEL36.EV for details). Reading the bit
804 // returns its current enable state.
805 #define CPU_SCS_NVIC_ISER1_SETENA36 0x00000010
806 #define CPU_SCS_NVIC_ISER1_SETENA36_BITN 4
807 #define CPU_SCS_NVIC_ISER1_SETENA36_M 0x00000010
808 #define CPU_SCS_NVIC_ISER1_SETENA36_S 4
809 
810 // Field: [3] SETENA35
811 //
812 // Writing 0 to this bit has no effect, writing 1 to this bit enables the
813 // interrupt number 35 (See EVENT:CPUIRQSEL35.EV for details). Reading the bit
814 // returns its current enable state.
815 #define CPU_SCS_NVIC_ISER1_SETENA35 0x00000008
816 #define CPU_SCS_NVIC_ISER1_SETENA35_BITN 3
817 #define CPU_SCS_NVIC_ISER1_SETENA35_M 0x00000008
818 #define CPU_SCS_NVIC_ISER1_SETENA35_S 3
819 
820 // Field: [2] SETENA34
821 //
822 // Writing 0 to this bit has no effect, writing 1 to this bit enables the
823 // interrupt number 34 (See EVENT:CPUIRQSEL34.EV for details). Reading the bit
824 // returns its current enable state.
825 #define CPU_SCS_NVIC_ISER1_SETENA34 0x00000004
826 #define CPU_SCS_NVIC_ISER1_SETENA34_BITN 2
827 #define CPU_SCS_NVIC_ISER1_SETENA34_M 0x00000004
828 #define CPU_SCS_NVIC_ISER1_SETENA34_S 2
829 
830 // Field: [1] SETENA33
831 //
832 // Writing 0 to this bit has no effect, writing 1 to this bit enables the
833 // interrupt number 33 (See EVENT:CPUIRQSEL33.EV for details). Reading the bit
834 // returns its current enable state.
835 #define CPU_SCS_NVIC_ISER1_SETENA33 0x00000002
836 #define CPU_SCS_NVIC_ISER1_SETENA33_BITN 1
837 #define CPU_SCS_NVIC_ISER1_SETENA33_M 0x00000002
838 #define CPU_SCS_NVIC_ISER1_SETENA33_S 1
839 
840 // Field: [0] SETENA32
841 //
842 // Writing 0 to this bit has no effect, writing 1 to this bit enables the
843 // interrupt number 32 (See EVENT:CPUIRQSEL32.EV for details). Reading the bit
844 // returns its current enable state.
845 #define CPU_SCS_NVIC_ISER1_SETENA32 0x00000001
846 #define CPU_SCS_NVIC_ISER1_SETENA32_BITN 0
847 #define CPU_SCS_NVIC_ISER1_SETENA32_M 0x00000001
848 #define CPU_SCS_NVIC_ISER1_SETENA32_S 0
849 
850 //*****************************************************************************
851 //
852 // Register: CPU_SCS_O_NVIC_ICER0
853 //
854 //*****************************************************************************
855 // Field: [31] CLRENA31
856 //
857 // Writing 0 to this bit has no effect, writing 1 to this bit disables the
858 // interrupt number 31 (See EVENT:CPUIRQSEL31.EV for details). Reading the bit
859 // returns its current enable state.
860 #define CPU_SCS_NVIC_ICER0_CLRENA31 0x80000000
861 #define CPU_SCS_NVIC_ICER0_CLRENA31_BITN 31
862 #define CPU_SCS_NVIC_ICER0_CLRENA31_M 0x80000000
863 #define CPU_SCS_NVIC_ICER0_CLRENA31_S 31
864 
865 // Field: [30] CLRENA30
866 //
867 // Writing 0 to this bit has no effect, writing 1 to this bit disables the
868 // interrupt number 30 (See EVENT:CPUIRQSEL30.EV for details). Reading the bit
869 // returns its current enable state.
870 #define CPU_SCS_NVIC_ICER0_CLRENA30 0x40000000
871 #define CPU_SCS_NVIC_ICER0_CLRENA30_BITN 30
872 #define CPU_SCS_NVIC_ICER0_CLRENA30_M 0x40000000
873 #define CPU_SCS_NVIC_ICER0_CLRENA30_S 30
874 
875 // Field: [29] CLRENA29
876 //
877 // Writing 0 to this bit has no effect, writing 1 to this bit disables the
878 // interrupt number 29 (See EVENT:CPUIRQSEL29.EV for details). Reading the bit
879 // returns its current enable state.
880 #define CPU_SCS_NVIC_ICER0_CLRENA29 0x20000000
881 #define CPU_SCS_NVIC_ICER0_CLRENA29_BITN 29
882 #define CPU_SCS_NVIC_ICER0_CLRENA29_M 0x20000000
883 #define CPU_SCS_NVIC_ICER0_CLRENA29_S 29
884 
885 // Field: [28] CLRENA28
886 //
887 // Writing 0 to this bit has no effect, writing 1 to this bit disables the
888 // interrupt number 28 (See EVENT:CPUIRQSEL28.EV for details). Reading the bit
889 // returns its current enable state.
890 #define CPU_SCS_NVIC_ICER0_CLRENA28 0x10000000
891 #define CPU_SCS_NVIC_ICER0_CLRENA28_BITN 28
892 #define CPU_SCS_NVIC_ICER0_CLRENA28_M 0x10000000
893 #define CPU_SCS_NVIC_ICER0_CLRENA28_S 28
894 
895 // Field: [27] CLRENA27
896 //
897 // Writing 0 to this bit has no effect, writing 1 to this bit disables the
898 // interrupt number 27 (See EVENT:CPUIRQSEL27.EV for details). Reading the bit
899 // returns its current enable state.
900 #define CPU_SCS_NVIC_ICER0_CLRENA27 0x08000000
901 #define CPU_SCS_NVIC_ICER0_CLRENA27_BITN 27
902 #define CPU_SCS_NVIC_ICER0_CLRENA27_M 0x08000000
903 #define CPU_SCS_NVIC_ICER0_CLRENA27_S 27
904 
905 // Field: [26] CLRENA26
906 //
907 // Writing 0 to this bit has no effect, writing 1 to this bit disables the
908 // interrupt number 26 (See EVENT:CPUIRQSEL26.EV for details). Reading the bit
909 // returns its current enable state.
910 #define CPU_SCS_NVIC_ICER0_CLRENA26 0x04000000
911 #define CPU_SCS_NVIC_ICER0_CLRENA26_BITN 26
912 #define CPU_SCS_NVIC_ICER0_CLRENA26_M 0x04000000
913 #define CPU_SCS_NVIC_ICER0_CLRENA26_S 26
914 
915 // Field: [25] CLRENA25
916 //
917 // Writing 0 to this bit has no effect, writing 1 to this bit disables the
918 // interrupt number 25 (See EVENT:CPUIRQSEL25.EV for details). Reading the bit
919 // returns its current enable state.
920 #define CPU_SCS_NVIC_ICER0_CLRENA25 0x02000000
921 #define CPU_SCS_NVIC_ICER0_CLRENA25_BITN 25
922 #define CPU_SCS_NVIC_ICER0_CLRENA25_M 0x02000000
923 #define CPU_SCS_NVIC_ICER0_CLRENA25_S 25
924 
925 // Field: [24] CLRENA24
926 //
927 // Writing 0 to this bit has no effect, writing 1 to this bit disables the
928 // interrupt number 24 (See EVENT:CPUIRQSEL24.EV for details). Reading the bit
929 // returns its current enable state.
930 #define CPU_SCS_NVIC_ICER0_CLRENA24 0x01000000
931 #define CPU_SCS_NVIC_ICER0_CLRENA24_BITN 24
932 #define CPU_SCS_NVIC_ICER0_CLRENA24_M 0x01000000
933 #define CPU_SCS_NVIC_ICER0_CLRENA24_S 24
934 
935 // Field: [23] CLRENA23
936 //
937 // Writing 0 to this bit has no effect, writing 1 to this bit disables the
938 // interrupt number 23 (See EVENT:CPUIRQSEL23.EV for details). Reading the bit
939 // returns its current enable state.
940 #define CPU_SCS_NVIC_ICER0_CLRENA23 0x00800000
941 #define CPU_SCS_NVIC_ICER0_CLRENA23_BITN 23
942 #define CPU_SCS_NVIC_ICER0_CLRENA23_M 0x00800000
943 #define CPU_SCS_NVIC_ICER0_CLRENA23_S 23
944 
945 // Field: [22] CLRENA22
946 //
947 // Writing 0 to this bit has no effect, writing 1 to this bit disables the
948 // interrupt number 22 (See EVENT:CPUIRQSEL22.EV for details). Reading the bit
949 // returns its current enable state.
950 #define CPU_SCS_NVIC_ICER0_CLRENA22 0x00400000
951 #define CPU_SCS_NVIC_ICER0_CLRENA22_BITN 22
952 #define CPU_SCS_NVIC_ICER0_CLRENA22_M 0x00400000
953 #define CPU_SCS_NVIC_ICER0_CLRENA22_S 22
954 
955 // Field: [21] CLRENA21
956 //
957 // Writing 0 to this bit has no effect, writing 1 to this bit disables the
958 // interrupt number 21 (See EVENT:CPUIRQSEL21.EV for details). Reading the bit
959 // returns its current enable state.
960 #define CPU_SCS_NVIC_ICER0_CLRENA21 0x00200000
961 #define CPU_SCS_NVIC_ICER0_CLRENA21_BITN 21
962 #define CPU_SCS_NVIC_ICER0_CLRENA21_M 0x00200000
963 #define CPU_SCS_NVIC_ICER0_CLRENA21_S 21
964 
965 // Field: [20] CLRENA20
966 //
967 // Writing 0 to this bit has no effect, writing 1 to this bit disables the
968 // interrupt number 20 (See EVENT:CPUIRQSEL20.EV for details). Reading the bit
969 // returns its current enable state.
970 #define CPU_SCS_NVIC_ICER0_CLRENA20 0x00100000
971 #define CPU_SCS_NVIC_ICER0_CLRENA20_BITN 20
972 #define CPU_SCS_NVIC_ICER0_CLRENA20_M 0x00100000
973 #define CPU_SCS_NVIC_ICER0_CLRENA20_S 20
974 
975 // Field: [19] CLRENA19
976 //
977 // Writing 0 to this bit has no effect, writing 1 to this bit disables the
978 // interrupt number 19 (See EVENT:CPUIRQSEL19.EV for details). Reading the bit
979 // returns its current enable state.
980 #define CPU_SCS_NVIC_ICER0_CLRENA19 0x00080000
981 #define CPU_SCS_NVIC_ICER0_CLRENA19_BITN 19
982 #define CPU_SCS_NVIC_ICER0_CLRENA19_M 0x00080000
983 #define CPU_SCS_NVIC_ICER0_CLRENA19_S 19
984 
985 // Field: [18] CLRENA18
986 //
987 // Writing 0 to this bit has no effect, writing 1 to this bit disables the
988 // interrupt number 18 (See EVENT:CPUIRQSEL18.EV for details). Reading the bit
989 // returns its current enable state.
990 #define CPU_SCS_NVIC_ICER0_CLRENA18 0x00040000
991 #define CPU_SCS_NVIC_ICER0_CLRENA18_BITN 18
992 #define CPU_SCS_NVIC_ICER0_CLRENA18_M 0x00040000
993 #define CPU_SCS_NVIC_ICER0_CLRENA18_S 18
994 
995 // Field: [17] CLRENA17
996 //
997 // Writing 0 to this bit has no effect, writing 1 to this bit disables the
998 // interrupt number 17 (See EVENT:CPUIRQSEL17.EV for details). Reading the bit
999 // returns its current enable state.
1000 #define CPU_SCS_NVIC_ICER0_CLRENA17 0x00020000
1001 #define CPU_SCS_NVIC_ICER0_CLRENA17_BITN 17
1002 #define CPU_SCS_NVIC_ICER0_CLRENA17_M 0x00020000
1003 #define CPU_SCS_NVIC_ICER0_CLRENA17_S 17
1004 
1005 // Field: [16] CLRENA16
1006 //
1007 // Writing 0 to this bit has no effect, writing 1 to this bit disables the
1008 // interrupt number 16 (See EVENT:CPUIRQSEL16.EV for details). Reading the bit
1009 // returns its current enable state.
1010 #define CPU_SCS_NVIC_ICER0_CLRENA16 0x00010000
1011 #define CPU_SCS_NVIC_ICER0_CLRENA16_BITN 16
1012 #define CPU_SCS_NVIC_ICER0_CLRENA16_M 0x00010000
1013 #define CPU_SCS_NVIC_ICER0_CLRENA16_S 16
1014 
1015 // Field: [15] CLRENA15
1016 //
1017 // Writing 0 to this bit has no effect, writing 1 to this bit disables the
1018 // interrupt number 15 (See EVENT:CPUIRQSEL15.EV for details). Reading the bit
1019 // returns its current enable state.
1020 #define CPU_SCS_NVIC_ICER0_CLRENA15 0x00008000
1021 #define CPU_SCS_NVIC_ICER0_CLRENA15_BITN 15
1022 #define CPU_SCS_NVIC_ICER0_CLRENA15_M 0x00008000
1023 #define CPU_SCS_NVIC_ICER0_CLRENA15_S 15
1024 
1025 // Field: [14] CLRENA14
1026 //
1027 // Writing 0 to this bit has no effect, writing 1 to this bit disables the
1028 // interrupt number 14 (See EVENT:CPUIRQSEL14.EV for details). Reading the bit
1029 // returns its current enable state.
1030 #define CPU_SCS_NVIC_ICER0_CLRENA14 0x00004000
1031 #define CPU_SCS_NVIC_ICER0_CLRENA14_BITN 14
1032 #define CPU_SCS_NVIC_ICER0_CLRENA14_M 0x00004000
1033 #define CPU_SCS_NVIC_ICER0_CLRENA14_S 14
1034 
1035 // Field: [13] CLRENA13
1036 //
1037 // Writing 0 to this bit has no effect, writing 1 to this bit disables the
1038 // interrupt number 13 (See EVENT:CPUIRQSEL13.EV for details). Reading the bit
1039 // returns its current enable state.
1040 #define CPU_SCS_NVIC_ICER0_CLRENA13 0x00002000
1041 #define CPU_SCS_NVIC_ICER0_CLRENA13_BITN 13
1042 #define CPU_SCS_NVIC_ICER0_CLRENA13_M 0x00002000
1043 #define CPU_SCS_NVIC_ICER0_CLRENA13_S 13
1044 
1045 // Field: [12] CLRENA12
1046 //
1047 // Writing 0 to this bit has no effect, writing 1 to this bit disables the
1048 // interrupt number 12 (See EVENT:CPUIRQSEL12.EV for details). Reading the bit
1049 // returns its current enable state.
1050 #define CPU_SCS_NVIC_ICER0_CLRENA12 0x00001000
1051 #define CPU_SCS_NVIC_ICER0_CLRENA12_BITN 12
1052 #define CPU_SCS_NVIC_ICER0_CLRENA12_M 0x00001000
1053 #define CPU_SCS_NVIC_ICER0_CLRENA12_S 12
1054 
1055 // Field: [11] CLRENA11
1056 //
1057 // Writing 0 to this bit has no effect, writing 1 to this bit disables the
1058 // interrupt number 11 (See EVENT:CPUIRQSEL11.EV for details). Reading the bit
1059 // returns its current enable state.
1060 #define CPU_SCS_NVIC_ICER0_CLRENA11 0x00000800
1061 #define CPU_SCS_NVIC_ICER0_CLRENA11_BITN 11
1062 #define CPU_SCS_NVIC_ICER0_CLRENA11_M 0x00000800
1063 #define CPU_SCS_NVIC_ICER0_CLRENA11_S 11
1064 
1065 // Field: [10] CLRENA10
1066 //
1067 // Writing 0 to this bit has no effect, writing 1 to this bit disables the
1068 // interrupt number 10 (See EVENT:CPUIRQSEL10.EV for details). Reading the bit
1069 // returns its current enable state.
1070 #define CPU_SCS_NVIC_ICER0_CLRENA10 0x00000400
1071 #define CPU_SCS_NVIC_ICER0_CLRENA10_BITN 10
1072 #define CPU_SCS_NVIC_ICER0_CLRENA10_M 0x00000400
1073 #define CPU_SCS_NVIC_ICER0_CLRENA10_S 10
1074 
1075 // Field: [9] CLRENA9
1076 //
1077 // Writing 0 to this bit has no effect, writing 1 to this bit disables the
1078 // interrupt number 9 (See EVENT:CPUIRQSEL9.EV for details). Reading the bit
1079 // returns its current enable state.
1080 #define CPU_SCS_NVIC_ICER0_CLRENA9 0x00000200
1081 #define CPU_SCS_NVIC_ICER0_CLRENA9_BITN 9
1082 #define CPU_SCS_NVIC_ICER0_CLRENA9_M 0x00000200
1083 #define CPU_SCS_NVIC_ICER0_CLRENA9_S 9
1084 
1085 // Field: [8] CLRENA8
1086 //
1087 // Writing 0 to this bit has no effect, writing 1 to this bit disables the
1088 // interrupt number 8 (See EVENT:CPUIRQSEL8.EV for details). Reading the bit
1089 // returns its current enable state.
1090 #define CPU_SCS_NVIC_ICER0_CLRENA8 0x00000100
1091 #define CPU_SCS_NVIC_ICER0_CLRENA8_BITN 8
1092 #define CPU_SCS_NVIC_ICER0_CLRENA8_M 0x00000100
1093 #define CPU_SCS_NVIC_ICER0_CLRENA8_S 8
1094 
1095 // Field: [7] CLRENA7
1096 //
1097 // Writing 0 to this bit has no effect, writing 1 to this bit disables the
1098 // interrupt number 7 (See EVENT:CPUIRQSEL7.EV for details). Reading the bit
1099 // returns its current enable state.
1100 #define CPU_SCS_NVIC_ICER0_CLRENA7 0x00000080
1101 #define CPU_SCS_NVIC_ICER0_CLRENA7_BITN 7
1102 #define CPU_SCS_NVIC_ICER0_CLRENA7_M 0x00000080
1103 #define CPU_SCS_NVIC_ICER0_CLRENA7_S 7
1104 
1105 // Field: [6] CLRENA6
1106 //
1107 // Writing 0 to this bit has no effect, writing 1 to this bit disables the
1108 // interrupt number 6 (See EVENT:CPUIRQSEL6.EV for details). Reading the bit
1109 // returns its current enable state.
1110 #define CPU_SCS_NVIC_ICER0_CLRENA6 0x00000040
1111 #define CPU_SCS_NVIC_ICER0_CLRENA6_BITN 6
1112 #define CPU_SCS_NVIC_ICER0_CLRENA6_M 0x00000040
1113 #define CPU_SCS_NVIC_ICER0_CLRENA6_S 6
1114 
1115 // Field: [5] CLRENA5
1116 //
1117 // Writing 0 to this bit has no effect, writing 1 to this bit disables the
1118 // interrupt number 5 (See EVENT:CPUIRQSEL5.EV for details). Reading the bit
1119 // returns its current enable state.
1120 #define CPU_SCS_NVIC_ICER0_CLRENA5 0x00000020
1121 #define CPU_SCS_NVIC_ICER0_CLRENA5_BITN 5
1122 #define CPU_SCS_NVIC_ICER0_CLRENA5_M 0x00000020
1123 #define CPU_SCS_NVIC_ICER0_CLRENA5_S 5
1124 
1125 // Field: [4] CLRENA4
1126 //
1127 // Writing 0 to this bit has no effect, writing 1 to this bit disables the
1128 // interrupt number 4 (See EVENT:CPUIRQSEL4.EV for details). Reading the bit
1129 // returns its current enable state.
1130 #define CPU_SCS_NVIC_ICER0_CLRENA4 0x00000010
1131 #define CPU_SCS_NVIC_ICER0_CLRENA4_BITN 4
1132 #define CPU_SCS_NVIC_ICER0_CLRENA4_M 0x00000010
1133 #define CPU_SCS_NVIC_ICER0_CLRENA4_S 4
1134 
1135 // Field: [3] CLRENA3
1136 //
1137 // Writing 0 to this bit has no effect, writing 1 to this bit disables the
1138 // interrupt number 3 (See EVENT:CPUIRQSEL3.EV for details). Reading the bit
1139 // returns its current enable state.
1140 #define CPU_SCS_NVIC_ICER0_CLRENA3 0x00000008
1141 #define CPU_SCS_NVIC_ICER0_CLRENA3_BITN 3
1142 #define CPU_SCS_NVIC_ICER0_CLRENA3_M 0x00000008
1143 #define CPU_SCS_NVIC_ICER0_CLRENA3_S 3
1144 
1145 // Field: [2] CLRENA2
1146 //
1147 // Writing 0 to this bit has no effect, writing 1 to this bit disables the
1148 // interrupt number 2 (See EVENT:CPUIRQSEL2.EV for details). Reading the bit
1149 // returns its current enable state.
1150 #define CPU_SCS_NVIC_ICER0_CLRENA2 0x00000004
1151 #define CPU_SCS_NVIC_ICER0_CLRENA2_BITN 2
1152 #define CPU_SCS_NVIC_ICER0_CLRENA2_M 0x00000004
1153 #define CPU_SCS_NVIC_ICER0_CLRENA2_S 2
1154 
1155 // Field: [1] CLRENA1
1156 //
1157 // Writing 0 to this bit has no effect, writing 1 to this bit disables the
1158 // interrupt number 1 (See EVENT:CPUIRQSEL1.EV for details). Reading the bit
1159 // returns its current enable state.
1160 #define CPU_SCS_NVIC_ICER0_CLRENA1 0x00000002
1161 #define CPU_SCS_NVIC_ICER0_CLRENA1_BITN 1
1162 #define CPU_SCS_NVIC_ICER0_CLRENA1_M 0x00000002
1163 #define CPU_SCS_NVIC_ICER0_CLRENA1_S 1
1164 
1165 // Field: [0] CLRENA0
1166 //
1167 // Writing 0 to this bit has no effect, writing 1 to this bit disables the
1168 // interrupt number 0 (See EVENT:CPUIRQSEL0.EV for details). Reading the bit
1169 // returns its current enable state.
1170 #define CPU_SCS_NVIC_ICER0_CLRENA0 0x00000001
1171 #define CPU_SCS_NVIC_ICER0_CLRENA0_BITN 0
1172 #define CPU_SCS_NVIC_ICER0_CLRENA0_M 0x00000001
1173 #define CPU_SCS_NVIC_ICER0_CLRENA0_S 0
1174 
1175 //*****************************************************************************
1176 //
1177 // Register: CPU_SCS_O_NVIC_ICER1
1178 //
1179 //*****************************************************************************
1180 // Field: [5] CLRENA37
1181 //
1182 // Writing 0 to this bit has no effect, writing 1 to this bit disables the
1183 // interrupt number 37 (See EVENT:CPUIRQSEL37.EV for details). Reading the bit
1184 // returns its current enable state.
1185 #define CPU_SCS_NVIC_ICER1_CLRENA37 0x00000020
1186 #define CPU_SCS_NVIC_ICER1_CLRENA37_BITN 5
1187 #define CPU_SCS_NVIC_ICER1_CLRENA37_M 0x00000020
1188 #define CPU_SCS_NVIC_ICER1_CLRENA37_S 5
1189 
1190 // Field: [4] CLRENA36
1191 //
1192 // Writing 0 to this bit has no effect, writing 1 to this bit disables the
1193 // interrupt number 36 (See EVENT:CPUIRQSEL36.EV for details). Reading the bit
1194 // returns its current enable state.
1195 #define CPU_SCS_NVIC_ICER1_CLRENA36 0x00000010
1196 #define CPU_SCS_NVIC_ICER1_CLRENA36_BITN 4
1197 #define CPU_SCS_NVIC_ICER1_CLRENA36_M 0x00000010
1198 #define CPU_SCS_NVIC_ICER1_CLRENA36_S 4
1199 
1200 // Field: [3] CLRENA35
1201 //
1202 // Writing 0 to this bit has no effect, writing 1 to this bit disables the
1203 // interrupt number 35 (See EVENT:CPUIRQSEL35.EV for details). Reading the bit
1204 // returns its current enable state.
1205 #define CPU_SCS_NVIC_ICER1_CLRENA35 0x00000008
1206 #define CPU_SCS_NVIC_ICER1_CLRENA35_BITN 3
1207 #define CPU_SCS_NVIC_ICER1_CLRENA35_M 0x00000008
1208 #define CPU_SCS_NVIC_ICER1_CLRENA35_S 3
1209 
1210 // Field: [2] CLRENA34
1211 //
1212 // Writing 0 to this bit has no effect, writing 1 to this bit disables the
1213 // interrupt number 34 (See EVENT:CPUIRQSEL34.EV for details). Reading the bit
1214 // returns its current enable state.
1215 #define CPU_SCS_NVIC_ICER1_CLRENA34 0x00000004
1216 #define CPU_SCS_NVIC_ICER1_CLRENA34_BITN 2
1217 #define CPU_SCS_NVIC_ICER1_CLRENA34_M 0x00000004
1218 #define CPU_SCS_NVIC_ICER1_CLRENA34_S 2
1219 
1220 // Field: [1] CLRENA33
1221 //
1222 // Writing 0 to this bit has no effect, writing 1 to this bit disables the
1223 // interrupt number 33 (See EVENT:CPUIRQSEL33.EV for details). Reading the bit
1224 // returns its current enable state.
1225 #define CPU_SCS_NVIC_ICER1_CLRENA33 0x00000002
1226 #define CPU_SCS_NVIC_ICER1_CLRENA33_BITN 1
1227 #define CPU_SCS_NVIC_ICER1_CLRENA33_M 0x00000002
1228 #define CPU_SCS_NVIC_ICER1_CLRENA33_S 1
1229 
1230 // Field: [0] CLRENA32
1231 //
1232 // Writing 0 to this bit has no effect, writing 1 to this bit disables the
1233 // interrupt number 32 (See EVENT:CPUIRQSEL32.EV for details). Reading the bit
1234 // returns its current enable state.
1235 #define CPU_SCS_NVIC_ICER1_CLRENA32 0x00000001
1236 #define CPU_SCS_NVIC_ICER1_CLRENA32_BITN 0
1237 #define CPU_SCS_NVIC_ICER1_CLRENA32_M 0x00000001
1238 #define CPU_SCS_NVIC_ICER1_CLRENA32_S 0
1239 
1240 //*****************************************************************************
1241 //
1242 // Register: CPU_SCS_O_NVIC_ISPR0
1243 //
1244 //*****************************************************************************
1245 // Field: [31] SETPEND31
1246 //
1247 // Writing 0 to this bit has no effect, writing 1 to this bit pends the
1248 // interrupt number 31 (See EVENT:CPUIRQSEL31.EV for details). Reading the bit
1249 // returns its current state.
1250 #define CPU_SCS_NVIC_ISPR0_SETPEND31 0x80000000
1251 #define CPU_SCS_NVIC_ISPR0_SETPEND31_BITN 31
1252 #define CPU_SCS_NVIC_ISPR0_SETPEND31_M 0x80000000
1253 #define CPU_SCS_NVIC_ISPR0_SETPEND31_S 31
1254 
1255 // Field: [30] SETPEND30
1256 //
1257 // Writing 0 to this bit has no effect, writing 1 to this bit pends the
1258 // interrupt number 30 (See EVENT:CPUIRQSEL30.EV for details). Reading the bit
1259 // returns its current state.
1260 #define CPU_SCS_NVIC_ISPR0_SETPEND30 0x40000000
1261 #define CPU_SCS_NVIC_ISPR0_SETPEND30_BITN 30
1262 #define CPU_SCS_NVIC_ISPR0_SETPEND30_M 0x40000000
1263 #define CPU_SCS_NVIC_ISPR0_SETPEND30_S 30
1264 
1265 // Field: [29] SETPEND29
1266 //
1267 // Writing 0 to this bit has no effect, writing 1 to this bit pends the
1268 // interrupt number 29 (See EVENT:CPUIRQSEL29.EV for details). Reading the bit
1269 // returns its current state.
1270 #define CPU_SCS_NVIC_ISPR0_SETPEND29 0x20000000
1271 #define CPU_SCS_NVIC_ISPR0_SETPEND29_BITN 29
1272 #define CPU_SCS_NVIC_ISPR0_SETPEND29_M 0x20000000
1273 #define CPU_SCS_NVIC_ISPR0_SETPEND29_S 29
1274 
1275 // Field: [28] SETPEND28
1276 //
1277 // Writing 0 to this bit has no effect, writing 1 to this bit pends the
1278 // interrupt number 28 (See EVENT:CPUIRQSEL28.EV for details). Reading the bit
1279 // returns its current state.
1280 #define CPU_SCS_NVIC_ISPR0_SETPEND28 0x10000000
1281 #define CPU_SCS_NVIC_ISPR0_SETPEND28_BITN 28
1282 #define CPU_SCS_NVIC_ISPR0_SETPEND28_M 0x10000000
1283 #define CPU_SCS_NVIC_ISPR0_SETPEND28_S 28
1284 
1285 // Field: [27] SETPEND27
1286 //
1287 // Writing 0 to this bit has no effect, writing 1 to this bit pends the
1288 // interrupt number 27 (See EVENT:CPUIRQSEL27.EV for details). Reading the bit
1289 // returns its current state.
1290 #define CPU_SCS_NVIC_ISPR0_SETPEND27 0x08000000
1291 #define CPU_SCS_NVIC_ISPR0_SETPEND27_BITN 27
1292 #define CPU_SCS_NVIC_ISPR0_SETPEND27_M 0x08000000
1293 #define CPU_SCS_NVIC_ISPR0_SETPEND27_S 27
1294 
1295 // Field: [26] SETPEND26
1296 //
1297 // Writing 0 to this bit has no effect, writing 1 to this bit pends the
1298 // interrupt number 26 (See EVENT:CPUIRQSEL26.EV for details). Reading the bit
1299 // returns its current state.
1300 #define CPU_SCS_NVIC_ISPR0_SETPEND26 0x04000000
1301 #define CPU_SCS_NVIC_ISPR0_SETPEND26_BITN 26
1302 #define CPU_SCS_NVIC_ISPR0_SETPEND26_M 0x04000000
1303 #define CPU_SCS_NVIC_ISPR0_SETPEND26_S 26
1304 
1305 // Field: [25] SETPEND25
1306 //
1307 // Writing 0 to this bit has no effect, writing 1 to this bit pends the
1308 // interrupt number 25 (See EVENT:CPUIRQSEL25.EV for details). Reading the bit
1309 // returns its current state.
1310 #define CPU_SCS_NVIC_ISPR0_SETPEND25 0x02000000
1311 #define CPU_SCS_NVIC_ISPR0_SETPEND25_BITN 25
1312 #define CPU_SCS_NVIC_ISPR0_SETPEND25_M 0x02000000
1313 #define CPU_SCS_NVIC_ISPR0_SETPEND25_S 25
1314 
1315 // Field: [24] SETPEND24
1316 //
1317 // Writing 0 to this bit has no effect, writing 1 to this bit pends the
1318 // interrupt number 24 (See EVENT:CPUIRQSEL24.EV for details). Reading the bit
1319 // returns its current state.
1320 #define CPU_SCS_NVIC_ISPR0_SETPEND24 0x01000000
1321 #define CPU_SCS_NVIC_ISPR0_SETPEND24_BITN 24
1322 #define CPU_SCS_NVIC_ISPR0_SETPEND24_M 0x01000000
1323 #define CPU_SCS_NVIC_ISPR0_SETPEND24_S 24
1324 
1325 // Field: [23] SETPEND23
1326 //
1327 // Writing 0 to this bit has no effect, writing 1 to this bit pends the
1328 // interrupt number 23 (See EVENT:CPUIRQSEL23.EV for details). Reading the bit
1329 // returns its current state.
1330 #define CPU_SCS_NVIC_ISPR0_SETPEND23 0x00800000
1331 #define CPU_SCS_NVIC_ISPR0_SETPEND23_BITN 23
1332 #define CPU_SCS_NVIC_ISPR0_SETPEND23_M 0x00800000
1333 #define CPU_SCS_NVIC_ISPR0_SETPEND23_S 23
1334 
1335 // Field: [22] SETPEND22
1336 //
1337 // Writing 0 to this bit has no effect, writing 1 to this bit pends the
1338 // interrupt number 22 (See EVENT:CPUIRQSEL22.EV for details). Reading the bit
1339 // returns its current state.
1340 #define CPU_SCS_NVIC_ISPR0_SETPEND22 0x00400000
1341 #define CPU_SCS_NVIC_ISPR0_SETPEND22_BITN 22
1342 #define CPU_SCS_NVIC_ISPR0_SETPEND22_M 0x00400000
1343 #define CPU_SCS_NVIC_ISPR0_SETPEND22_S 22
1344 
1345 // Field: [21] SETPEND21
1346 //
1347 // Writing 0 to this bit has no effect, writing 1 to this bit pends the
1348 // interrupt number 21 (See EVENT:CPUIRQSEL21.EV for details). Reading the bit
1349 // returns its current state.
1350 #define CPU_SCS_NVIC_ISPR0_SETPEND21 0x00200000
1351 #define CPU_SCS_NVIC_ISPR0_SETPEND21_BITN 21
1352 #define CPU_SCS_NVIC_ISPR0_SETPEND21_M 0x00200000
1353 #define CPU_SCS_NVIC_ISPR0_SETPEND21_S 21
1354 
1355 // Field: [20] SETPEND20
1356 //
1357 // Writing 0 to this bit has no effect, writing 1 to this bit pends the
1358 // interrupt number 20 (See EVENT:CPUIRQSEL20.EV for details). Reading the bit
1359 // returns its current state.
1360 #define CPU_SCS_NVIC_ISPR0_SETPEND20 0x00100000
1361 #define CPU_SCS_NVIC_ISPR0_SETPEND20_BITN 20
1362 #define CPU_SCS_NVIC_ISPR0_SETPEND20_M 0x00100000
1363 #define CPU_SCS_NVIC_ISPR0_SETPEND20_S 20
1364 
1365 // Field: [19] SETPEND19
1366 //
1367 // Writing 0 to this bit has no effect, writing 1 to this bit pends the
1368 // interrupt number 19 (See EVENT:CPUIRQSEL19.EV for details). Reading the bit
1369 // returns its current state.
1370 #define CPU_SCS_NVIC_ISPR0_SETPEND19 0x00080000
1371 #define CPU_SCS_NVIC_ISPR0_SETPEND19_BITN 19
1372 #define CPU_SCS_NVIC_ISPR0_SETPEND19_M 0x00080000
1373 #define CPU_SCS_NVIC_ISPR0_SETPEND19_S 19
1374 
1375 // Field: [18] SETPEND18
1376 //
1377 // Writing 0 to this bit has no effect, writing 1 to this bit pends the
1378 // interrupt number 18 (See EVENT:CPUIRQSEL18.EV for details). Reading the bit
1379 // returns its current state.
1380 #define CPU_SCS_NVIC_ISPR0_SETPEND18 0x00040000
1381 #define CPU_SCS_NVIC_ISPR0_SETPEND18_BITN 18
1382 #define CPU_SCS_NVIC_ISPR0_SETPEND18_M 0x00040000
1383 #define CPU_SCS_NVIC_ISPR0_SETPEND18_S 18
1384 
1385 // Field: [17] SETPEND17
1386 //
1387 // Writing 0 to this bit has no effect, writing 1 to this bit pends the
1388 // interrupt number 17 (See EVENT:CPUIRQSEL17.EV for details). Reading the bit
1389 // returns its current state.
1390 #define CPU_SCS_NVIC_ISPR0_SETPEND17 0x00020000
1391 #define CPU_SCS_NVIC_ISPR0_SETPEND17_BITN 17
1392 #define CPU_SCS_NVIC_ISPR0_SETPEND17_M 0x00020000
1393 #define CPU_SCS_NVIC_ISPR0_SETPEND17_S 17
1394 
1395 // Field: [16] SETPEND16
1396 //
1397 // Writing 0 to this bit has no effect, writing 1 to this bit pends the
1398 // interrupt number 16 (See EVENT:CPUIRQSEL16.EV for details). Reading the bit
1399 // returns its current state.
1400 #define CPU_SCS_NVIC_ISPR0_SETPEND16 0x00010000
1401 #define CPU_SCS_NVIC_ISPR0_SETPEND16_BITN 16
1402 #define CPU_SCS_NVIC_ISPR0_SETPEND16_M 0x00010000
1403 #define CPU_SCS_NVIC_ISPR0_SETPEND16_S 16
1404 
1405 // Field: [15] SETPEND15
1406 //
1407 // Writing 0 to this bit has no effect, writing 1 to this bit pends the
1408 // interrupt number 15 (See EVENT:CPUIRQSEL15.EV for details). Reading the bit
1409 // returns its current state.
1410 #define CPU_SCS_NVIC_ISPR0_SETPEND15 0x00008000
1411 #define CPU_SCS_NVIC_ISPR0_SETPEND15_BITN 15
1412 #define CPU_SCS_NVIC_ISPR0_SETPEND15_M 0x00008000
1413 #define CPU_SCS_NVIC_ISPR0_SETPEND15_S 15
1414 
1415 // Field: [14] SETPEND14
1416 //
1417 // Writing 0 to this bit has no effect, writing 1 to this bit pends the
1418 // interrupt number 14 (See EVENT:CPUIRQSEL14.EV for details). Reading the bit
1419 // returns its current state.
1420 #define CPU_SCS_NVIC_ISPR0_SETPEND14 0x00004000
1421 #define CPU_SCS_NVIC_ISPR0_SETPEND14_BITN 14
1422 #define CPU_SCS_NVIC_ISPR0_SETPEND14_M 0x00004000
1423 #define CPU_SCS_NVIC_ISPR0_SETPEND14_S 14
1424 
1425 // Field: [13] SETPEND13
1426 //
1427 // Writing 0 to this bit has no effect, writing 1 to this bit pends the
1428 // interrupt number 13 (See EVENT:CPUIRQSEL13.EV for details). Reading the bit
1429 // returns its current state.
1430 #define CPU_SCS_NVIC_ISPR0_SETPEND13 0x00002000
1431 #define CPU_SCS_NVIC_ISPR0_SETPEND13_BITN 13
1432 #define CPU_SCS_NVIC_ISPR0_SETPEND13_M 0x00002000
1433 #define CPU_SCS_NVIC_ISPR0_SETPEND13_S 13
1434 
1435 // Field: [12] SETPEND12
1436 //
1437 // Writing 0 to this bit has no effect, writing 1 to this bit pends the
1438 // interrupt number 12 (See EVENT:CPUIRQSEL12.EV for details). Reading the bit
1439 // returns its current state.
1440 #define CPU_SCS_NVIC_ISPR0_SETPEND12 0x00001000
1441 #define CPU_SCS_NVIC_ISPR0_SETPEND12_BITN 12
1442 #define CPU_SCS_NVIC_ISPR0_SETPEND12_M 0x00001000
1443 #define CPU_SCS_NVIC_ISPR0_SETPEND12_S 12
1444 
1445 // Field: [11] SETPEND11
1446 //
1447 // Writing 0 to this bit has no effect, writing 1 to this bit pends the
1448 // interrupt number 11 (See EVENT:CPUIRQSEL11.EV for details). Reading the bit
1449 // returns its current state.
1450 #define CPU_SCS_NVIC_ISPR0_SETPEND11 0x00000800
1451 #define CPU_SCS_NVIC_ISPR0_SETPEND11_BITN 11
1452 #define CPU_SCS_NVIC_ISPR0_SETPEND11_M 0x00000800
1453 #define CPU_SCS_NVIC_ISPR0_SETPEND11_S 11
1454 
1455 // Field: [10] SETPEND10
1456 //
1457 // Writing 0 to this bit has no effect, writing 1 to this bit pends the
1458 // interrupt number 10 (See EVENT:CPUIRQSEL10.EV for details). Reading the bit
1459 // returns its current state.
1460 #define CPU_SCS_NVIC_ISPR0_SETPEND10 0x00000400
1461 #define CPU_SCS_NVIC_ISPR0_SETPEND10_BITN 10
1462 #define CPU_SCS_NVIC_ISPR0_SETPEND10_M 0x00000400
1463 #define CPU_SCS_NVIC_ISPR0_SETPEND10_S 10
1464 
1465 // Field: [9] SETPEND9
1466 //
1467 // Writing 0 to this bit has no effect, writing 1 to this bit pends the
1468 // interrupt number 9 (See EVENT:CPUIRQSEL9.EV for details). Reading the bit
1469 // returns its current state.
1470 #define CPU_SCS_NVIC_ISPR0_SETPEND9 0x00000200
1471 #define CPU_SCS_NVIC_ISPR0_SETPEND9_BITN 9
1472 #define CPU_SCS_NVIC_ISPR0_SETPEND9_M 0x00000200
1473 #define CPU_SCS_NVIC_ISPR0_SETPEND9_S 9
1474 
1475 // Field: [8] SETPEND8
1476 //
1477 // Writing 0 to this bit has no effect, writing 1 to this bit pends the
1478 // interrupt number 8 (See EVENT:CPUIRQSEL8.EV for details). Reading the bit
1479 // returns its current state.
1480 #define CPU_SCS_NVIC_ISPR0_SETPEND8 0x00000100
1481 #define CPU_SCS_NVIC_ISPR0_SETPEND8_BITN 8
1482 #define CPU_SCS_NVIC_ISPR0_SETPEND8_M 0x00000100
1483 #define CPU_SCS_NVIC_ISPR0_SETPEND8_S 8
1484 
1485 // Field: [7] SETPEND7
1486 //
1487 // Writing 0 to this bit has no effect, writing 1 to this bit pends the
1488 // interrupt number 7 (See EVENT:CPUIRQSEL7.EV for details). Reading the bit
1489 // returns its current state.
1490 #define CPU_SCS_NVIC_ISPR0_SETPEND7 0x00000080
1491 #define CPU_SCS_NVIC_ISPR0_SETPEND7_BITN 7
1492 #define CPU_SCS_NVIC_ISPR0_SETPEND7_M 0x00000080
1493 #define CPU_SCS_NVIC_ISPR0_SETPEND7_S 7
1494 
1495 // Field: [6] SETPEND6
1496 //
1497 // Writing 0 to this bit has no effect, writing 1 to this bit pends the
1498 // interrupt number 6 (See EVENT:CPUIRQSEL6.EV for details). Reading the bit
1499 // returns its current state.
1500 #define CPU_SCS_NVIC_ISPR0_SETPEND6 0x00000040
1501 #define CPU_SCS_NVIC_ISPR0_SETPEND6_BITN 6
1502 #define CPU_SCS_NVIC_ISPR0_SETPEND6_M 0x00000040
1503 #define CPU_SCS_NVIC_ISPR0_SETPEND6_S 6
1504 
1505 // Field: [5] SETPEND5
1506 //
1507 // Writing 0 to this bit has no effect, writing 1 to this bit pends the
1508 // interrupt number 5 (See EVENT:CPUIRQSEL5.EV for details). Reading the bit
1509 // returns its current state.
1510 #define CPU_SCS_NVIC_ISPR0_SETPEND5 0x00000020
1511 #define CPU_SCS_NVIC_ISPR0_SETPEND5_BITN 5
1512 #define CPU_SCS_NVIC_ISPR0_SETPEND5_M 0x00000020
1513 #define CPU_SCS_NVIC_ISPR0_SETPEND5_S 5
1514 
1515 // Field: [4] SETPEND4
1516 //
1517 // Writing 0 to this bit has no effect, writing 1 to this bit pends the
1518 // interrupt number 4 (See EVENT:CPUIRQSEL4.EV for details). Reading the bit
1519 // returns its current state.
1520 #define CPU_SCS_NVIC_ISPR0_SETPEND4 0x00000010
1521 #define CPU_SCS_NVIC_ISPR0_SETPEND4_BITN 4
1522 #define CPU_SCS_NVIC_ISPR0_SETPEND4_M 0x00000010
1523 #define CPU_SCS_NVIC_ISPR0_SETPEND4_S 4
1524 
1525 // Field: [3] SETPEND3
1526 //
1527 // Writing 0 to this bit has no effect, writing 1 to this bit pends the
1528 // interrupt number 3 (See EVENT:CPUIRQSEL3.EV for details). Reading the bit
1529 // returns its current state.
1530 #define CPU_SCS_NVIC_ISPR0_SETPEND3 0x00000008
1531 #define CPU_SCS_NVIC_ISPR0_SETPEND3_BITN 3
1532 #define CPU_SCS_NVIC_ISPR0_SETPEND3_M 0x00000008
1533 #define CPU_SCS_NVIC_ISPR0_SETPEND3_S 3
1534 
1535 // Field: [2] SETPEND2
1536 //
1537 // Writing 0 to this bit has no effect, writing 1 to this bit pends the
1538 // interrupt number 2 (See EVENT:CPUIRQSEL2.EV for details). Reading the bit
1539 // returns its current state.
1540 #define CPU_SCS_NVIC_ISPR0_SETPEND2 0x00000004
1541 #define CPU_SCS_NVIC_ISPR0_SETPEND2_BITN 2
1542 #define CPU_SCS_NVIC_ISPR0_SETPEND2_M 0x00000004
1543 #define CPU_SCS_NVIC_ISPR0_SETPEND2_S 2
1544 
1545 // Field: [1] SETPEND1
1546 //
1547 // Writing 0 to this bit has no effect, writing 1 to this bit pends the
1548 // interrupt number 1 (See EVENT:CPUIRQSEL1.EV for details). Reading the bit
1549 // returns its current state.
1550 #define CPU_SCS_NVIC_ISPR0_SETPEND1 0x00000002
1551 #define CPU_SCS_NVIC_ISPR0_SETPEND1_BITN 1
1552 #define CPU_SCS_NVIC_ISPR0_SETPEND1_M 0x00000002
1553 #define CPU_SCS_NVIC_ISPR0_SETPEND1_S 1
1554 
1555 // Field: [0] SETPEND0
1556 //
1557 // Writing 0 to this bit has no effect, writing 1 to this bit pends the
1558 // interrupt number 0 (See EVENT:CPUIRQSEL0.EV for details). Reading the bit
1559 // returns its current state.
1560 #define CPU_SCS_NVIC_ISPR0_SETPEND0 0x00000001
1561 #define CPU_SCS_NVIC_ISPR0_SETPEND0_BITN 0
1562 #define CPU_SCS_NVIC_ISPR0_SETPEND0_M 0x00000001
1563 #define CPU_SCS_NVIC_ISPR0_SETPEND0_S 0
1564 
1565 //*****************************************************************************
1566 //
1567 // Register: CPU_SCS_O_NVIC_ISPR1
1568 //
1569 //*****************************************************************************
1570 // Field: [5] SETPEND37
1571 //
1572 // Writing 0 to this bit has no effect, writing 1 to this bit pends the
1573 // interrupt number 37 (See EVENT:CPUIRQSEL37.EV for details). Reading the bit
1574 // returns its current state.
1575 #define CPU_SCS_NVIC_ISPR1_SETPEND37 0x00000020
1576 #define CPU_SCS_NVIC_ISPR1_SETPEND37_BITN 5
1577 #define CPU_SCS_NVIC_ISPR1_SETPEND37_M 0x00000020
1578 #define CPU_SCS_NVIC_ISPR1_SETPEND37_S 5
1579 
1580 // Field: [4] SETPEND36
1581 //
1582 // Writing 0 to this bit has no effect, writing 1 to this bit pends the
1583 // interrupt number 36 (See EVENT:CPUIRQSEL36.EV for details). Reading the bit
1584 // returns its current state.
1585 #define CPU_SCS_NVIC_ISPR1_SETPEND36 0x00000010
1586 #define CPU_SCS_NVIC_ISPR1_SETPEND36_BITN 4
1587 #define CPU_SCS_NVIC_ISPR1_SETPEND36_M 0x00000010
1588 #define CPU_SCS_NVIC_ISPR1_SETPEND36_S 4
1589 
1590 // Field: [3] SETPEND35
1591 //
1592 // Writing 0 to this bit has no effect, writing 1 to this bit pends the
1593 // interrupt number 35 (See EVENT:CPUIRQSEL35.EV for details). Reading the bit
1594 // returns its current state.
1595 #define CPU_SCS_NVIC_ISPR1_SETPEND35 0x00000008
1596 #define CPU_SCS_NVIC_ISPR1_SETPEND35_BITN 3
1597 #define CPU_SCS_NVIC_ISPR1_SETPEND35_M 0x00000008
1598 #define CPU_SCS_NVIC_ISPR1_SETPEND35_S 3
1599 
1600 // Field: [2] SETPEND34
1601 //
1602 // Writing 0 to this bit has no effect, writing 1 to this bit pends the
1603 // interrupt number 34 (See EVENT:CPUIRQSEL34.EV for details). Reading the bit
1604 // returns its current state.
1605 #define CPU_SCS_NVIC_ISPR1_SETPEND34 0x00000004
1606 #define CPU_SCS_NVIC_ISPR1_SETPEND34_BITN 2
1607 #define CPU_SCS_NVIC_ISPR1_SETPEND34_M 0x00000004
1608 #define CPU_SCS_NVIC_ISPR1_SETPEND34_S 2
1609 
1610 // Field: [1] SETPEND33
1611 //
1612 // Writing 0 to this bit has no effect, writing 1 to this bit pends the
1613 // interrupt number 33 (See EVENT:CPUIRQSEL33.EV for details). Reading the bit
1614 // returns its current state.
1615 #define CPU_SCS_NVIC_ISPR1_SETPEND33 0x00000002
1616 #define CPU_SCS_NVIC_ISPR1_SETPEND33_BITN 1
1617 #define CPU_SCS_NVIC_ISPR1_SETPEND33_M 0x00000002
1618 #define CPU_SCS_NVIC_ISPR1_SETPEND33_S 1
1619 
1620 // Field: [0] SETPEND32
1621 //
1622 // Writing 0 to this bit has no effect, writing 1 to this bit pends the
1623 // interrupt number 32 (See EVENT:CPUIRQSEL32.EV for details). Reading the bit
1624 // returns its current state.
1625 #define CPU_SCS_NVIC_ISPR1_SETPEND32 0x00000001
1626 #define CPU_SCS_NVIC_ISPR1_SETPEND32_BITN 0
1627 #define CPU_SCS_NVIC_ISPR1_SETPEND32_M 0x00000001
1628 #define CPU_SCS_NVIC_ISPR1_SETPEND32_S 0
1629 
1630 //*****************************************************************************
1631 //
1632 // Register: CPU_SCS_O_NVIC_ICPR0
1633 //
1634 //*****************************************************************************
1635 // Field: [31] CLRPEND31
1636 //
1637 // Writing 0 to this bit has no effect, writing 1 to this bit clears the
1638 // corresponding pending interrupt 31 (See EVENT:CPUIRQSEL31.EV for details).
1639 // Reading the bit returns its current state.
1640 #define CPU_SCS_NVIC_ICPR0_CLRPEND31 0x80000000
1641 #define CPU_SCS_NVIC_ICPR0_CLRPEND31_BITN 31
1642 #define CPU_SCS_NVIC_ICPR0_CLRPEND31_M 0x80000000
1643 #define CPU_SCS_NVIC_ICPR0_CLRPEND31_S 31
1644 
1645 // Field: [30] CLRPEND30
1646 //
1647 // Writing 0 to this bit has no effect, writing 1 to this bit clears the
1648 // corresponding pending interrupt 30 (See EVENT:CPUIRQSEL30.EV for details).
1649 // Reading the bit returns its current state.
1650 #define CPU_SCS_NVIC_ICPR0_CLRPEND30 0x40000000
1651 #define CPU_SCS_NVIC_ICPR0_CLRPEND30_BITN 30
1652 #define CPU_SCS_NVIC_ICPR0_CLRPEND30_M 0x40000000
1653 #define CPU_SCS_NVIC_ICPR0_CLRPEND30_S 30
1654 
1655 // Field: [29] CLRPEND29
1656 //
1657 // Writing 0 to this bit has no effect, writing 1 to this bit clears the
1658 // corresponding pending interrupt 29 (See EVENT:CPUIRQSEL29.EV for details).
1659 // Reading the bit returns its current state.
1660 #define CPU_SCS_NVIC_ICPR0_CLRPEND29 0x20000000
1661 #define CPU_SCS_NVIC_ICPR0_CLRPEND29_BITN 29
1662 #define CPU_SCS_NVIC_ICPR0_CLRPEND29_M 0x20000000
1663 #define CPU_SCS_NVIC_ICPR0_CLRPEND29_S 29
1664 
1665 // Field: [28] CLRPEND28
1666 //
1667 // Writing 0 to this bit has no effect, writing 1 to this bit clears the
1668 // corresponding pending interrupt 28 (See EVENT:CPUIRQSEL28.EV for details).
1669 // Reading the bit returns its current state.
1670 #define CPU_SCS_NVIC_ICPR0_CLRPEND28 0x10000000
1671 #define CPU_SCS_NVIC_ICPR0_CLRPEND28_BITN 28
1672 #define CPU_SCS_NVIC_ICPR0_CLRPEND28_M 0x10000000
1673 #define CPU_SCS_NVIC_ICPR0_CLRPEND28_S 28
1674 
1675 // Field: [27] CLRPEND27
1676 //
1677 // Writing 0 to this bit has no effect, writing 1 to this bit clears the
1678 // corresponding pending interrupt 27 (See EVENT:CPUIRQSEL27.EV for details).
1679 // Reading the bit returns its current state.
1680 #define CPU_SCS_NVIC_ICPR0_CLRPEND27 0x08000000
1681 #define CPU_SCS_NVIC_ICPR0_CLRPEND27_BITN 27
1682 #define CPU_SCS_NVIC_ICPR0_CLRPEND27_M 0x08000000
1683 #define CPU_SCS_NVIC_ICPR0_CLRPEND27_S 27
1684 
1685 // Field: [26] CLRPEND26
1686 //
1687 // Writing 0 to this bit has no effect, writing 1 to this bit clears the
1688 // corresponding pending interrupt 26 (See EVENT:CPUIRQSEL26.EV for details).
1689 // Reading the bit returns its current state.
1690 #define CPU_SCS_NVIC_ICPR0_CLRPEND26 0x04000000
1691 #define CPU_SCS_NVIC_ICPR0_CLRPEND26_BITN 26
1692 #define CPU_SCS_NVIC_ICPR0_CLRPEND26_M 0x04000000
1693 #define CPU_SCS_NVIC_ICPR0_CLRPEND26_S 26
1694 
1695 // Field: [25] CLRPEND25
1696 //
1697 // Writing 0 to this bit has no effect, writing 1 to this bit clears the
1698 // corresponding pending interrupt 25 (See EVENT:CPUIRQSEL25.EV for details).
1699 // Reading the bit returns its current state.
1700 #define CPU_SCS_NVIC_ICPR0_CLRPEND25 0x02000000
1701 #define CPU_SCS_NVIC_ICPR0_CLRPEND25_BITN 25
1702 #define CPU_SCS_NVIC_ICPR0_CLRPEND25_M 0x02000000
1703 #define CPU_SCS_NVIC_ICPR0_CLRPEND25_S 25
1704 
1705 // Field: [24] CLRPEND24
1706 //
1707 // Writing 0 to this bit has no effect, writing 1 to this bit clears the
1708 // corresponding pending interrupt 24 (See EVENT:CPUIRQSEL24.EV for details).
1709 // Reading the bit returns its current state.
1710 #define CPU_SCS_NVIC_ICPR0_CLRPEND24 0x01000000
1711 #define CPU_SCS_NVIC_ICPR0_CLRPEND24_BITN 24
1712 #define CPU_SCS_NVIC_ICPR0_CLRPEND24_M 0x01000000
1713 #define CPU_SCS_NVIC_ICPR0_CLRPEND24_S 24
1714 
1715 // Field: [23] CLRPEND23
1716 //
1717 // Writing 0 to this bit has no effect, writing 1 to this bit clears the
1718 // corresponding pending interrupt 23 (See EVENT:CPUIRQSEL23.EV for details).
1719 // Reading the bit returns its current state.
1720 #define CPU_SCS_NVIC_ICPR0_CLRPEND23 0x00800000
1721 #define CPU_SCS_NVIC_ICPR0_CLRPEND23_BITN 23
1722 #define CPU_SCS_NVIC_ICPR0_CLRPEND23_M 0x00800000
1723 #define CPU_SCS_NVIC_ICPR0_CLRPEND23_S 23
1724 
1725 // Field: [22] CLRPEND22
1726 //
1727 // Writing 0 to this bit has no effect, writing 1 to this bit clears the
1728 // corresponding pending interrupt 22 (See EVENT:CPUIRQSEL22.EV for details).
1729 // Reading the bit returns its current state.
1730 #define CPU_SCS_NVIC_ICPR0_CLRPEND22 0x00400000
1731 #define CPU_SCS_NVIC_ICPR0_CLRPEND22_BITN 22
1732 #define CPU_SCS_NVIC_ICPR0_CLRPEND22_M 0x00400000
1733 #define CPU_SCS_NVIC_ICPR0_CLRPEND22_S 22
1734 
1735 // Field: [21] CLRPEND21
1736 //
1737 // Writing 0 to this bit has no effect, writing 1 to this bit clears the
1738 // corresponding pending interrupt 21 (See EVENT:CPUIRQSEL21.EV for details).
1739 // Reading the bit returns its current state.
1740 #define CPU_SCS_NVIC_ICPR0_CLRPEND21 0x00200000
1741 #define CPU_SCS_NVIC_ICPR0_CLRPEND21_BITN 21
1742 #define CPU_SCS_NVIC_ICPR0_CLRPEND21_M 0x00200000
1743 #define CPU_SCS_NVIC_ICPR0_CLRPEND21_S 21
1744 
1745 // Field: [20] CLRPEND20
1746 //
1747 // Writing 0 to this bit has no effect, writing 1 to this bit clears the
1748 // corresponding pending interrupt 20 (See EVENT:CPUIRQSEL20.EV for details).
1749 // Reading the bit returns its current state.
1750 #define CPU_SCS_NVIC_ICPR0_CLRPEND20 0x00100000
1751 #define CPU_SCS_NVIC_ICPR0_CLRPEND20_BITN 20
1752 #define CPU_SCS_NVIC_ICPR0_CLRPEND20_M 0x00100000
1753 #define CPU_SCS_NVIC_ICPR0_CLRPEND20_S 20
1754 
1755 // Field: [19] CLRPEND19
1756 //
1757 // Writing 0 to this bit has no effect, writing 1 to this bit clears the
1758 // corresponding pending interrupt 19 (See EVENT:CPUIRQSEL19.EV for details).
1759 // Reading the bit returns its current state.
1760 #define CPU_SCS_NVIC_ICPR0_CLRPEND19 0x00080000
1761 #define CPU_SCS_NVIC_ICPR0_CLRPEND19_BITN 19
1762 #define CPU_SCS_NVIC_ICPR0_CLRPEND19_M 0x00080000
1763 #define CPU_SCS_NVIC_ICPR0_CLRPEND19_S 19
1764 
1765 // Field: [18] CLRPEND18
1766 //
1767 // Writing 0 to this bit has no effect, writing 1 to this bit clears the
1768 // corresponding pending interrupt 18 (See EVENT:CPUIRQSEL18.EV for details).
1769 // Reading the bit returns its current state.
1770 #define CPU_SCS_NVIC_ICPR0_CLRPEND18 0x00040000
1771 #define CPU_SCS_NVIC_ICPR0_CLRPEND18_BITN 18
1772 #define CPU_SCS_NVIC_ICPR0_CLRPEND18_M 0x00040000
1773 #define CPU_SCS_NVIC_ICPR0_CLRPEND18_S 18
1774 
1775 // Field: [17] CLRPEND17
1776 //
1777 // Writing 0 to this bit has no effect, writing 1 to this bit clears the
1778 // corresponding pending interrupt 17 (See EVENT:CPUIRQSEL17.EV for details).
1779 // Reading the bit returns its current state.
1780 #define CPU_SCS_NVIC_ICPR0_CLRPEND17 0x00020000
1781 #define CPU_SCS_NVIC_ICPR0_CLRPEND17_BITN 17
1782 #define CPU_SCS_NVIC_ICPR0_CLRPEND17_M 0x00020000
1783 #define CPU_SCS_NVIC_ICPR0_CLRPEND17_S 17
1784 
1785 // Field: [16] CLRPEND16
1786 //
1787 // Writing 0 to this bit has no effect, writing 1 to this bit clears the
1788 // corresponding pending interrupt 16 (See EVENT:CPUIRQSEL16.EV for details).
1789 // Reading the bit returns its current state.
1790 #define CPU_SCS_NVIC_ICPR0_CLRPEND16 0x00010000
1791 #define CPU_SCS_NVIC_ICPR0_CLRPEND16_BITN 16
1792 #define CPU_SCS_NVIC_ICPR0_CLRPEND16_M 0x00010000
1793 #define CPU_SCS_NVIC_ICPR0_CLRPEND16_S 16
1794 
1795 // Field: [15] CLRPEND15
1796 //
1797 // Writing 0 to this bit has no effect, writing 1 to this bit clears the
1798 // corresponding pending interrupt 15 (See EVENT:CPUIRQSEL15.EV for details).
1799 // Reading the bit returns its current state.
1800 #define CPU_SCS_NVIC_ICPR0_CLRPEND15 0x00008000
1801 #define CPU_SCS_NVIC_ICPR0_CLRPEND15_BITN 15
1802 #define CPU_SCS_NVIC_ICPR0_CLRPEND15_M 0x00008000
1803 #define CPU_SCS_NVIC_ICPR0_CLRPEND15_S 15
1804 
1805 // Field: [14] CLRPEND14
1806 //
1807 // Writing 0 to this bit has no effect, writing 1 to this bit clears the
1808 // corresponding pending interrupt 14 (See EVENT:CPUIRQSEL14.EV for details).
1809 // Reading the bit returns its current state.
1810 #define CPU_SCS_NVIC_ICPR0_CLRPEND14 0x00004000
1811 #define CPU_SCS_NVIC_ICPR0_CLRPEND14_BITN 14
1812 #define CPU_SCS_NVIC_ICPR0_CLRPEND14_M 0x00004000
1813 #define CPU_SCS_NVIC_ICPR0_CLRPEND14_S 14
1814 
1815 // Field: [13] CLRPEND13
1816 //
1817 // Writing 0 to this bit has no effect, writing 1 to this bit clears the
1818 // corresponding pending interrupt 13 (See EVENT:CPUIRQSEL13.EV for details).
1819 // Reading the bit returns its current state.
1820 #define CPU_SCS_NVIC_ICPR0_CLRPEND13 0x00002000
1821 #define CPU_SCS_NVIC_ICPR0_CLRPEND13_BITN 13
1822 #define CPU_SCS_NVIC_ICPR0_CLRPEND13_M 0x00002000
1823 #define CPU_SCS_NVIC_ICPR0_CLRPEND13_S 13
1824 
1825 // Field: [12] CLRPEND12
1826 //
1827 // Writing 0 to this bit has no effect, writing 1 to this bit clears the
1828 // corresponding pending interrupt 12 (See EVENT:CPUIRQSEL12.EV for details).
1829 // Reading the bit returns its current state.
1830 #define CPU_SCS_NVIC_ICPR0_CLRPEND12 0x00001000
1831 #define CPU_SCS_NVIC_ICPR0_CLRPEND12_BITN 12
1832 #define CPU_SCS_NVIC_ICPR0_CLRPEND12_M 0x00001000
1833 #define CPU_SCS_NVIC_ICPR0_CLRPEND12_S 12
1834 
1835 // Field: [11] CLRPEND11
1836 //
1837 // Writing 0 to this bit has no effect, writing 1 to this bit clears the
1838 // corresponding pending interrupt 11 (See EVENT:CPUIRQSEL11.EV for details).
1839 // Reading the bit returns its current state.
1840 #define CPU_SCS_NVIC_ICPR0_CLRPEND11 0x00000800
1841 #define CPU_SCS_NVIC_ICPR0_CLRPEND11_BITN 11
1842 #define CPU_SCS_NVIC_ICPR0_CLRPEND11_M 0x00000800
1843 #define CPU_SCS_NVIC_ICPR0_CLRPEND11_S 11
1844 
1845 // Field: [10] CLRPEND10
1846 //
1847 // Writing 0 to this bit has no effect, writing 1 to this bit clears the
1848 // corresponding pending interrupt 10 (See EVENT:CPUIRQSEL10.EV for details).
1849 // Reading the bit returns its current state.
1850 #define CPU_SCS_NVIC_ICPR0_CLRPEND10 0x00000400
1851 #define CPU_SCS_NVIC_ICPR0_CLRPEND10_BITN 10
1852 #define CPU_SCS_NVIC_ICPR0_CLRPEND10_M 0x00000400
1853 #define CPU_SCS_NVIC_ICPR0_CLRPEND10_S 10
1854 
1855 // Field: [9] CLRPEND9
1856 //
1857 // Writing 0 to this bit has no effect, writing 1 to this bit clears the
1858 // corresponding pending interrupt 9 (See EVENT:CPUIRQSEL9.EV for details).
1859 // Reading the bit returns its current state.
1860 #define CPU_SCS_NVIC_ICPR0_CLRPEND9 0x00000200
1861 #define CPU_SCS_NVIC_ICPR0_CLRPEND9_BITN 9
1862 #define CPU_SCS_NVIC_ICPR0_CLRPEND9_M 0x00000200
1863 #define CPU_SCS_NVIC_ICPR0_CLRPEND9_S 9
1864 
1865 // Field: [8] CLRPEND8
1866 //
1867 // Writing 0 to this bit has no effect, writing 1 to this bit clears the
1868 // corresponding pending interrupt 8 (See EVENT:CPUIRQSEL8.EV for details).
1869 // Reading the bit returns its current state.
1870 #define CPU_SCS_NVIC_ICPR0_CLRPEND8 0x00000100
1871 #define CPU_SCS_NVIC_ICPR0_CLRPEND8_BITN 8
1872 #define CPU_SCS_NVIC_ICPR0_CLRPEND8_M 0x00000100
1873 #define CPU_SCS_NVIC_ICPR0_CLRPEND8_S 8
1874 
1875 // Field: [7] CLRPEND7
1876 //
1877 // Writing 0 to this bit has no effect, writing 1 to this bit clears the
1878 // corresponding pending interrupt 7 (See EVENT:CPUIRQSEL7.EV for details).
1879 // Reading the bit returns its current state.
1880 #define CPU_SCS_NVIC_ICPR0_CLRPEND7 0x00000080
1881 #define CPU_SCS_NVIC_ICPR0_CLRPEND7_BITN 7
1882 #define CPU_SCS_NVIC_ICPR0_CLRPEND7_M 0x00000080
1883 #define CPU_SCS_NVIC_ICPR0_CLRPEND7_S 7
1884 
1885 // Field: [6] CLRPEND6
1886 //
1887 // Writing 0 to this bit has no effect, writing 1 to this bit clears the
1888 // corresponding pending interrupt 6 (See EVENT:CPUIRQSEL6.EV for details).
1889 // Reading the bit returns its current state.
1890 #define CPU_SCS_NVIC_ICPR0_CLRPEND6 0x00000040
1891 #define CPU_SCS_NVIC_ICPR0_CLRPEND6_BITN 6
1892 #define CPU_SCS_NVIC_ICPR0_CLRPEND6_M 0x00000040
1893 #define CPU_SCS_NVIC_ICPR0_CLRPEND6_S 6
1894 
1895 // Field: [5] CLRPEND5
1896 //
1897 // Writing 0 to this bit has no effect, writing 1 to this bit clears the
1898 // corresponding pending interrupt 5 (See EVENT:CPUIRQSEL5.EV for details).
1899 // Reading the bit returns its current state.
1900 #define CPU_SCS_NVIC_ICPR0_CLRPEND5 0x00000020
1901 #define CPU_SCS_NVIC_ICPR0_CLRPEND5_BITN 5
1902 #define CPU_SCS_NVIC_ICPR0_CLRPEND5_M 0x00000020
1903 #define CPU_SCS_NVIC_ICPR0_CLRPEND5_S 5
1904 
1905 // Field: [4] CLRPEND4
1906 //
1907 // Writing 0 to this bit has no effect, writing 1 to this bit clears the
1908 // corresponding pending interrupt 4 (See EVENT:CPUIRQSEL4.EV for details).
1909 // Reading the bit returns its current state.
1910 #define CPU_SCS_NVIC_ICPR0_CLRPEND4 0x00000010
1911 #define CPU_SCS_NVIC_ICPR0_CLRPEND4_BITN 4
1912 #define CPU_SCS_NVIC_ICPR0_CLRPEND4_M 0x00000010
1913 #define CPU_SCS_NVIC_ICPR0_CLRPEND4_S 4
1914 
1915 // Field: [3] CLRPEND3
1916 //
1917 // Writing 0 to this bit has no effect, writing 1 to this bit clears the
1918 // corresponding pending interrupt 3 (See EVENT:CPUIRQSEL3.EV for details).
1919 // Reading the bit returns its current state.
1920 #define CPU_SCS_NVIC_ICPR0_CLRPEND3 0x00000008
1921 #define CPU_SCS_NVIC_ICPR0_CLRPEND3_BITN 3
1922 #define CPU_SCS_NVIC_ICPR0_CLRPEND3_M 0x00000008
1923 #define CPU_SCS_NVIC_ICPR0_CLRPEND3_S 3
1924 
1925 // Field: [2] CLRPEND2
1926 //
1927 // Writing 0 to this bit has no effect, writing 1 to this bit clears the
1928 // corresponding pending interrupt 2 (See EVENT:CPUIRQSEL2.EV for details).
1929 // Reading the bit returns its current state.
1930 #define CPU_SCS_NVIC_ICPR0_CLRPEND2 0x00000004
1931 #define CPU_SCS_NVIC_ICPR0_CLRPEND2_BITN 2
1932 #define CPU_SCS_NVIC_ICPR0_CLRPEND2_M 0x00000004
1933 #define CPU_SCS_NVIC_ICPR0_CLRPEND2_S 2
1934 
1935 // Field: [1] CLRPEND1
1936 //
1937 // Writing 0 to this bit has no effect, writing 1 to this bit clears the
1938 // corresponding pending interrupt 1 (See EVENT:CPUIRQSEL1.EV for details).
1939 // Reading the bit returns its current state.
1940 #define CPU_SCS_NVIC_ICPR0_CLRPEND1 0x00000002
1941 #define CPU_SCS_NVIC_ICPR0_CLRPEND1_BITN 1
1942 #define CPU_SCS_NVIC_ICPR0_CLRPEND1_M 0x00000002
1943 #define CPU_SCS_NVIC_ICPR0_CLRPEND1_S 1
1944 
1945 // Field: [0] CLRPEND0
1946 //
1947 // Writing 0 to this bit has no effect, writing 1 to this bit clears the
1948 // corresponding pending interrupt 0 (See EVENT:CPUIRQSEL0.EV for details).
1949 // Reading the bit returns its current state.
1950 #define CPU_SCS_NVIC_ICPR0_CLRPEND0 0x00000001
1951 #define CPU_SCS_NVIC_ICPR0_CLRPEND0_BITN 0
1952 #define CPU_SCS_NVIC_ICPR0_CLRPEND0_M 0x00000001
1953 #define CPU_SCS_NVIC_ICPR0_CLRPEND0_S 0
1954 
1955 //*****************************************************************************
1956 //
1957 // Register: CPU_SCS_O_NVIC_ICPR1
1958 //
1959 //*****************************************************************************
1960 // Field: [5] CLRPEND37
1961 //
1962 // Writing 0 to this bit has no effect, writing 1 to this bit clears the
1963 // corresponding pending interrupt 37 (See EVENT:CPUIRQSEL37.EV for details).
1964 // Reading the bit returns its current state.
1965 #define CPU_SCS_NVIC_ICPR1_CLRPEND37 0x00000020
1966 #define CPU_SCS_NVIC_ICPR1_CLRPEND37_BITN 5
1967 #define CPU_SCS_NVIC_ICPR1_CLRPEND37_M 0x00000020
1968 #define CPU_SCS_NVIC_ICPR1_CLRPEND37_S 5
1969 
1970 // Field: [4] CLRPEND36
1971 //
1972 // Writing 0 to this bit has no effect, writing 1 to this bit clears the
1973 // corresponding pending interrupt 36 (See EVENT:CPUIRQSEL36.EV for details).
1974 // Reading the bit returns its current state.
1975 #define CPU_SCS_NVIC_ICPR1_CLRPEND36 0x00000010
1976 #define CPU_SCS_NVIC_ICPR1_CLRPEND36_BITN 4
1977 #define CPU_SCS_NVIC_ICPR1_CLRPEND36_M 0x00000010
1978 #define CPU_SCS_NVIC_ICPR1_CLRPEND36_S 4
1979 
1980 // Field: [3] CLRPEND35
1981 //
1982 // Writing 0 to this bit has no effect, writing 1 to this bit clears the
1983 // corresponding pending interrupt 35 (See EVENT:CPUIRQSEL35.EV for details).
1984 // Reading the bit returns its current state.
1985 #define CPU_SCS_NVIC_ICPR1_CLRPEND35 0x00000008
1986 #define CPU_SCS_NVIC_ICPR1_CLRPEND35_BITN 3
1987 #define CPU_SCS_NVIC_ICPR1_CLRPEND35_M 0x00000008
1988 #define CPU_SCS_NVIC_ICPR1_CLRPEND35_S 3
1989 
1990 // Field: [2] CLRPEND34
1991 //
1992 // Writing 0 to this bit has no effect, writing 1 to this bit clears the
1993 // corresponding pending interrupt 34 (See EVENT:CPUIRQSEL34.EV for details).
1994 // Reading the bit returns its current state.
1995 #define CPU_SCS_NVIC_ICPR1_CLRPEND34 0x00000004
1996 #define CPU_SCS_NVIC_ICPR1_CLRPEND34_BITN 2
1997 #define CPU_SCS_NVIC_ICPR1_CLRPEND34_M 0x00000004
1998 #define CPU_SCS_NVIC_ICPR1_CLRPEND34_S 2
1999 
2000 // Field: [1] CLRPEND33
2001 //
2002 // Writing 0 to this bit has no effect, writing 1 to this bit clears the
2003 // corresponding pending interrupt 33 (See EVENT:CPUIRQSEL33.EV for details).
2004 // Reading the bit returns its current state.
2005 #define CPU_SCS_NVIC_ICPR1_CLRPEND33 0x00000002
2006 #define CPU_SCS_NVIC_ICPR1_CLRPEND33_BITN 1
2007 #define CPU_SCS_NVIC_ICPR1_CLRPEND33_M 0x00000002
2008 #define CPU_SCS_NVIC_ICPR1_CLRPEND33_S 1
2009 
2010 // Field: [0] CLRPEND32
2011 //
2012 // Writing 0 to this bit has no effect, writing 1 to this bit clears the
2013 // corresponding pending interrupt 32 (See EVENT:CPUIRQSEL32.EV for details).
2014 // Reading the bit returns its current state.
2015 #define CPU_SCS_NVIC_ICPR1_CLRPEND32 0x00000001
2016 #define CPU_SCS_NVIC_ICPR1_CLRPEND32_BITN 0
2017 #define CPU_SCS_NVIC_ICPR1_CLRPEND32_M 0x00000001
2018 #define CPU_SCS_NVIC_ICPR1_CLRPEND32_S 0
2019 
2020 //*****************************************************************************
2021 //
2022 // Register: CPU_SCS_O_NVIC_IABR0
2023 //
2024 //*****************************************************************************
2025 // Field: [31] ACTIVE31
2026 //
2027 // Reading 0 from this bit implies that interrupt line 31 is not active.
2028 // Reading 1 from this bit implies that the interrupt line 31 is active (See
2029 // EVENT:CPUIRQSEL31.EV for details).
2030 #define CPU_SCS_NVIC_IABR0_ACTIVE31 0x80000000
2031 #define CPU_SCS_NVIC_IABR0_ACTIVE31_BITN 31
2032 #define CPU_SCS_NVIC_IABR0_ACTIVE31_M 0x80000000
2033 #define CPU_SCS_NVIC_IABR0_ACTIVE31_S 31
2034 
2035 // Field: [30] ACTIVE30
2036 //
2037 // Reading 0 from this bit implies that interrupt line 30 is not active.
2038 // Reading 1 from this bit implies that the interrupt line 30 is active (See
2039 // EVENT:CPUIRQSEL30.EV for details).
2040 #define CPU_SCS_NVIC_IABR0_ACTIVE30 0x40000000
2041 #define CPU_SCS_NVIC_IABR0_ACTIVE30_BITN 30
2042 #define CPU_SCS_NVIC_IABR0_ACTIVE30_M 0x40000000
2043 #define CPU_SCS_NVIC_IABR0_ACTIVE30_S 30
2044 
2045 // Field: [29] ACTIVE29
2046 //
2047 // Reading 0 from this bit implies that interrupt line 29 is not active.
2048 // Reading 1 from this bit implies that the interrupt line 29 is active (See
2049 // EVENT:CPUIRQSEL29.EV for details).
2050 #define CPU_SCS_NVIC_IABR0_ACTIVE29 0x20000000
2051 #define CPU_SCS_NVIC_IABR0_ACTIVE29_BITN 29
2052 #define CPU_SCS_NVIC_IABR0_ACTIVE29_M 0x20000000
2053 #define CPU_SCS_NVIC_IABR0_ACTIVE29_S 29
2054 
2055 // Field: [28] ACTIVE28
2056 //
2057 // Reading 0 from this bit implies that interrupt line 28 is not active.
2058 // Reading 1 from this bit implies that the interrupt line 28 is active (See
2059 // EVENT:CPUIRQSEL28.EV for details).
2060 #define CPU_SCS_NVIC_IABR0_ACTIVE28 0x10000000
2061 #define CPU_SCS_NVIC_IABR0_ACTIVE28_BITN 28
2062 #define CPU_SCS_NVIC_IABR0_ACTIVE28_M 0x10000000
2063 #define CPU_SCS_NVIC_IABR0_ACTIVE28_S 28
2064 
2065 // Field: [27] ACTIVE27
2066 //
2067 // Reading 0 from this bit implies that interrupt line 27 is not active.
2068 // Reading 1 from this bit implies that the interrupt line 27 is active (See
2069 // EVENT:CPUIRQSEL27.EV for details).
2070 #define CPU_SCS_NVIC_IABR0_ACTIVE27 0x08000000
2071 #define CPU_SCS_NVIC_IABR0_ACTIVE27_BITN 27
2072 #define CPU_SCS_NVIC_IABR0_ACTIVE27_M 0x08000000
2073 #define CPU_SCS_NVIC_IABR0_ACTIVE27_S 27
2074 
2075 // Field: [26] ACTIVE26
2076 //
2077 // Reading 0 from this bit implies that interrupt line 26 is not active.
2078 // Reading 1 from this bit implies that the interrupt line 26 is active (See
2079 // EVENT:CPUIRQSEL26.EV for details).
2080 #define CPU_SCS_NVIC_IABR0_ACTIVE26 0x04000000
2081 #define CPU_SCS_NVIC_IABR0_ACTIVE26_BITN 26
2082 #define CPU_SCS_NVIC_IABR0_ACTIVE26_M 0x04000000
2083 #define CPU_SCS_NVIC_IABR0_ACTIVE26_S 26
2084 
2085 // Field: [25] ACTIVE25
2086 //
2087 // Reading 0 from this bit implies that interrupt line 25 is not active.
2088 // Reading 1 from this bit implies that the interrupt line 25 is active (See
2089 // EVENT:CPUIRQSEL25.EV for details).
2090 #define CPU_SCS_NVIC_IABR0_ACTIVE25 0x02000000
2091 #define CPU_SCS_NVIC_IABR0_ACTIVE25_BITN 25
2092 #define CPU_SCS_NVIC_IABR0_ACTIVE25_M 0x02000000
2093 #define CPU_SCS_NVIC_IABR0_ACTIVE25_S 25
2094 
2095 // Field: [24] ACTIVE24
2096 //
2097 // Reading 0 from this bit implies that interrupt line 24 is not active.
2098 // Reading 1 from this bit implies that the interrupt line 24 is active (See
2099 // EVENT:CPUIRQSEL24.EV for details).
2100 #define CPU_SCS_NVIC_IABR0_ACTIVE24 0x01000000
2101 #define CPU_SCS_NVIC_IABR0_ACTIVE24_BITN 24
2102 #define CPU_SCS_NVIC_IABR0_ACTIVE24_M 0x01000000
2103 #define CPU_SCS_NVIC_IABR0_ACTIVE24_S 24
2104 
2105 // Field: [23] ACTIVE23
2106 //
2107 // Reading 0 from this bit implies that interrupt line 23 is not active.
2108 // Reading 1 from this bit implies that the interrupt line 23 is active (See
2109 // EVENT:CPUIRQSEL23.EV for details).
2110 #define CPU_SCS_NVIC_IABR0_ACTIVE23 0x00800000
2111 #define CPU_SCS_NVIC_IABR0_ACTIVE23_BITN 23
2112 #define CPU_SCS_NVIC_IABR0_ACTIVE23_M 0x00800000
2113 #define CPU_SCS_NVIC_IABR0_ACTIVE23_S 23
2114 
2115 // Field: [22] ACTIVE22
2116 //
2117 // Reading 0 from this bit implies that interrupt line 22 is not active.
2118 // Reading 1 from this bit implies that the interrupt line 22 is active (See
2119 // EVENT:CPUIRQSEL22.EV for details).
2120 #define CPU_SCS_NVIC_IABR0_ACTIVE22 0x00400000
2121 #define CPU_SCS_NVIC_IABR0_ACTIVE22_BITN 22
2122 #define CPU_SCS_NVIC_IABR0_ACTIVE22_M 0x00400000
2123 #define CPU_SCS_NVIC_IABR0_ACTIVE22_S 22
2124 
2125 // Field: [21] ACTIVE21
2126 //
2127 // Reading 0 from this bit implies that interrupt line 21 is not active.
2128 // Reading 1 from this bit implies that the interrupt line 21 is active (See
2129 // EVENT:CPUIRQSEL21.EV for details).
2130 #define CPU_SCS_NVIC_IABR0_ACTIVE21 0x00200000
2131 #define CPU_SCS_NVIC_IABR0_ACTIVE21_BITN 21
2132 #define CPU_SCS_NVIC_IABR0_ACTIVE21_M 0x00200000
2133 #define CPU_SCS_NVIC_IABR0_ACTIVE21_S 21
2134 
2135 // Field: [20] ACTIVE20
2136 //
2137 // Reading 0 from this bit implies that interrupt line 20 is not active.
2138 // Reading 1 from this bit implies that the interrupt line 20 is active (See
2139 // EVENT:CPUIRQSEL20.EV for details).
2140 #define CPU_SCS_NVIC_IABR0_ACTIVE20 0x00100000
2141 #define CPU_SCS_NVIC_IABR0_ACTIVE20_BITN 20
2142 #define CPU_SCS_NVIC_IABR0_ACTIVE20_M 0x00100000
2143 #define CPU_SCS_NVIC_IABR0_ACTIVE20_S 20
2144 
2145 // Field: [19] ACTIVE19
2146 //
2147 // Reading 0 from this bit implies that interrupt line 19 is not active.
2148 // Reading 1 from this bit implies that the interrupt line 19 is active (See
2149 // EVENT:CPUIRQSEL19.EV for details).
2150 #define CPU_SCS_NVIC_IABR0_ACTIVE19 0x00080000
2151 #define CPU_SCS_NVIC_IABR0_ACTIVE19_BITN 19
2152 #define CPU_SCS_NVIC_IABR0_ACTIVE19_M 0x00080000
2153 #define CPU_SCS_NVIC_IABR0_ACTIVE19_S 19
2154 
2155 // Field: [18] ACTIVE18
2156 //
2157 // Reading 0 from this bit implies that interrupt line 18 is not active.
2158 // Reading 1 from this bit implies that the interrupt line 18 is active (See
2159 // EVENT:CPUIRQSEL18.EV for details).
2160 #define CPU_SCS_NVIC_IABR0_ACTIVE18 0x00040000
2161 #define CPU_SCS_NVIC_IABR0_ACTIVE18_BITN 18
2162 #define CPU_SCS_NVIC_IABR0_ACTIVE18_M 0x00040000
2163 #define CPU_SCS_NVIC_IABR0_ACTIVE18_S 18
2164 
2165 // Field: [17] ACTIVE17
2166 //
2167 // Reading 0 from this bit implies that interrupt line 17 is not active.
2168 // Reading 1 from this bit implies that the interrupt line 17 is active (See
2169 // EVENT:CPUIRQSEL17.EV for details).
2170 #define CPU_SCS_NVIC_IABR0_ACTIVE17 0x00020000
2171 #define CPU_SCS_NVIC_IABR0_ACTIVE17_BITN 17
2172 #define CPU_SCS_NVIC_IABR0_ACTIVE17_M 0x00020000
2173 #define CPU_SCS_NVIC_IABR0_ACTIVE17_S 17
2174 
2175 // Field: [16] ACTIVE16
2176 //
2177 // Reading 0 from this bit implies that interrupt line 16 is not active.
2178 // Reading 1 from this bit implies that the interrupt line 16 is active (See
2179 // EVENT:CPUIRQSEL16.EV for details).
2180 #define CPU_SCS_NVIC_IABR0_ACTIVE16 0x00010000
2181 #define CPU_SCS_NVIC_IABR0_ACTIVE16_BITN 16
2182 #define CPU_SCS_NVIC_IABR0_ACTIVE16_M 0x00010000
2183 #define CPU_SCS_NVIC_IABR0_ACTIVE16_S 16
2184 
2185 // Field: [15] ACTIVE15
2186 //
2187 // Reading 0 from this bit implies that interrupt line 15 is not active.
2188 // Reading 1 from this bit implies that the interrupt line 15 is active (See
2189 // EVENT:CPUIRQSEL15.EV for details).
2190 #define CPU_SCS_NVIC_IABR0_ACTIVE15 0x00008000
2191 #define CPU_SCS_NVIC_IABR0_ACTIVE15_BITN 15
2192 #define CPU_SCS_NVIC_IABR0_ACTIVE15_M 0x00008000
2193 #define CPU_SCS_NVIC_IABR0_ACTIVE15_S 15
2194 
2195 // Field: [14] ACTIVE14
2196 //
2197 // Reading 0 from this bit implies that interrupt line 14 is not active.
2198 // Reading 1 from this bit implies that the interrupt line 14 is active (See
2199 // EVENT:CPUIRQSEL14.EV for details).
2200 #define CPU_SCS_NVIC_IABR0_ACTIVE14 0x00004000
2201 #define CPU_SCS_NVIC_IABR0_ACTIVE14_BITN 14
2202 #define CPU_SCS_NVIC_IABR0_ACTIVE14_M 0x00004000
2203 #define CPU_SCS_NVIC_IABR0_ACTIVE14_S 14
2204 
2205 // Field: [13] ACTIVE13
2206 //
2207 // Reading 0 from this bit implies that interrupt line 13 is not active.
2208 // Reading 1 from this bit implies that the interrupt line 13 is active (See
2209 // EVENT:CPUIRQSEL13.EV for details).
2210 #define CPU_SCS_NVIC_IABR0_ACTIVE13 0x00002000
2211 #define CPU_SCS_NVIC_IABR0_ACTIVE13_BITN 13
2212 #define CPU_SCS_NVIC_IABR0_ACTIVE13_M 0x00002000
2213 #define CPU_SCS_NVIC_IABR0_ACTIVE13_S 13
2214 
2215 // Field: [12] ACTIVE12
2216 //
2217 // Reading 0 from this bit implies that interrupt line 12 is not active.
2218 // Reading 1 from this bit implies that the interrupt line 12 is active (See
2219 // EVENT:CPUIRQSEL12.EV for details).
2220 #define CPU_SCS_NVIC_IABR0_ACTIVE12 0x00001000
2221 #define CPU_SCS_NVIC_IABR0_ACTIVE12_BITN 12
2222 #define CPU_SCS_NVIC_IABR0_ACTIVE12_M 0x00001000
2223 #define CPU_SCS_NVIC_IABR0_ACTIVE12_S 12
2224 
2225 // Field: [11] ACTIVE11
2226 //
2227 // Reading 0 from this bit implies that interrupt line 11 is not active.
2228 // Reading 1 from this bit implies that the interrupt line 11 is active (See
2229 // EVENT:CPUIRQSEL11.EV for details).
2230 #define CPU_SCS_NVIC_IABR0_ACTIVE11 0x00000800
2231 #define CPU_SCS_NVIC_IABR0_ACTIVE11_BITN 11
2232 #define CPU_SCS_NVIC_IABR0_ACTIVE11_M 0x00000800
2233 #define CPU_SCS_NVIC_IABR0_ACTIVE11_S 11
2234 
2235 // Field: [10] ACTIVE10
2236 //
2237 // Reading 0 from this bit implies that interrupt line 10 is not active.
2238 // Reading 1 from this bit implies that the interrupt line 10 is active (See
2239 // EVENT:CPUIRQSEL10.EV for details).
2240 #define CPU_SCS_NVIC_IABR0_ACTIVE10 0x00000400
2241 #define CPU_SCS_NVIC_IABR0_ACTIVE10_BITN 10
2242 #define CPU_SCS_NVIC_IABR0_ACTIVE10_M 0x00000400
2243 #define CPU_SCS_NVIC_IABR0_ACTIVE10_S 10
2244 
2245 // Field: [9] ACTIVE9
2246 //
2247 // Reading 0 from this bit implies that interrupt line 9 is not active. Reading
2248 // 1 from this bit implies that the interrupt line 9 is active (See
2249 // EVENT:CPUIRQSEL9.EV for details).
2250 #define CPU_SCS_NVIC_IABR0_ACTIVE9 0x00000200
2251 #define CPU_SCS_NVIC_IABR0_ACTIVE9_BITN 9
2252 #define CPU_SCS_NVIC_IABR0_ACTIVE9_M 0x00000200
2253 #define CPU_SCS_NVIC_IABR0_ACTIVE9_S 9
2254 
2255 // Field: [8] ACTIVE8
2256 //
2257 // Reading 0 from this bit implies that interrupt line 8 is not active. Reading
2258 // 1 from this bit implies that the interrupt line 8 is active (See
2259 // EVENT:CPUIRQSEL8.EV for details).
2260 #define CPU_SCS_NVIC_IABR0_ACTIVE8 0x00000100
2261 #define CPU_SCS_NVIC_IABR0_ACTIVE8_BITN 8
2262 #define CPU_SCS_NVIC_IABR0_ACTIVE8_M 0x00000100
2263 #define CPU_SCS_NVIC_IABR0_ACTIVE8_S 8
2264 
2265 // Field: [7] ACTIVE7
2266 //
2267 // Reading 0 from this bit implies that interrupt line 7 is not active. Reading
2268 // 1 from this bit implies that the interrupt line 7 is active (See
2269 // EVENT:CPUIRQSEL7.EV for details).
2270 #define CPU_SCS_NVIC_IABR0_ACTIVE7 0x00000080
2271 #define CPU_SCS_NVIC_IABR0_ACTIVE7_BITN 7
2272 #define CPU_SCS_NVIC_IABR0_ACTIVE7_M 0x00000080
2273 #define CPU_SCS_NVIC_IABR0_ACTIVE7_S 7
2274 
2275 // Field: [6] ACTIVE6
2276 //
2277 // Reading 0 from this bit implies that interrupt line 6 is not active. Reading
2278 // 1 from this bit implies that the interrupt line 6 is active (See
2279 // EVENT:CPUIRQSEL6.EV for details).
2280 #define CPU_SCS_NVIC_IABR0_ACTIVE6 0x00000040
2281 #define CPU_SCS_NVIC_IABR0_ACTIVE6_BITN 6
2282 #define CPU_SCS_NVIC_IABR0_ACTIVE6_M 0x00000040
2283 #define CPU_SCS_NVIC_IABR0_ACTIVE6_S 6
2284 
2285 // Field: [5] ACTIVE5
2286 //
2287 // Reading 0 from this bit implies that interrupt line 5 is not active. Reading
2288 // 1 from this bit implies that the interrupt line 5 is active (See
2289 // EVENT:CPUIRQSEL5.EV for details).
2290 #define CPU_SCS_NVIC_IABR0_ACTIVE5 0x00000020
2291 #define CPU_SCS_NVIC_IABR0_ACTIVE5_BITN 5
2292 #define CPU_SCS_NVIC_IABR0_ACTIVE5_M 0x00000020
2293 #define CPU_SCS_NVIC_IABR0_ACTIVE5_S 5
2294 
2295 // Field: [4] ACTIVE4
2296 //
2297 // Reading 0 from this bit implies that interrupt line 4 is not active. Reading
2298 // 1 from this bit implies that the interrupt line 4 is active (See
2299 // EVENT:CPUIRQSEL4.EV for details).
2300 #define CPU_SCS_NVIC_IABR0_ACTIVE4 0x00000010
2301 #define CPU_SCS_NVIC_IABR0_ACTIVE4_BITN 4
2302 #define CPU_SCS_NVIC_IABR0_ACTIVE4_M 0x00000010
2303 #define CPU_SCS_NVIC_IABR0_ACTIVE4_S 4
2304 
2305 // Field: [3] ACTIVE3
2306 //
2307 // Reading 0 from this bit implies that interrupt line 3 is not active. Reading
2308 // 1 from this bit implies that the interrupt line 3 is active (See
2309 // EVENT:CPUIRQSEL3.EV for details).
2310 #define CPU_SCS_NVIC_IABR0_ACTIVE3 0x00000008
2311 #define CPU_SCS_NVIC_IABR0_ACTIVE3_BITN 3
2312 #define CPU_SCS_NVIC_IABR0_ACTIVE3_M 0x00000008
2313 #define CPU_SCS_NVIC_IABR0_ACTIVE3_S 3
2314 
2315 // Field: [2] ACTIVE2
2316 //
2317 // Reading 0 from this bit implies that interrupt line 2 is not active. Reading
2318 // 1 from this bit implies that the interrupt line 2 is active (See
2319 // EVENT:CPUIRQSEL2.EV for details).
2320 #define CPU_SCS_NVIC_IABR0_ACTIVE2 0x00000004
2321 #define CPU_SCS_NVIC_IABR0_ACTIVE2_BITN 2
2322 #define CPU_SCS_NVIC_IABR0_ACTIVE2_M 0x00000004
2323 #define CPU_SCS_NVIC_IABR0_ACTIVE2_S 2
2324 
2325 // Field: [1] ACTIVE1
2326 //
2327 // Reading 0 from this bit implies that interrupt line 1 is not active. Reading
2328 // 1 from this bit implies that the interrupt line 1 is active (See
2329 // EVENT:CPUIRQSEL1.EV for details).
2330 #define CPU_SCS_NVIC_IABR0_ACTIVE1 0x00000002
2331 #define CPU_SCS_NVIC_IABR0_ACTIVE1_BITN 1
2332 #define CPU_SCS_NVIC_IABR0_ACTIVE1_M 0x00000002
2333 #define CPU_SCS_NVIC_IABR0_ACTIVE1_S 1
2334 
2335 // Field: [0] ACTIVE0
2336 //
2337 // Reading 0 from this bit implies that interrupt line 0 is not active. Reading
2338 // 1 from this bit implies that the interrupt line 0 is active (See
2339 // EVENT:CPUIRQSEL0.EV for details).
2340 #define CPU_SCS_NVIC_IABR0_ACTIVE0 0x00000001
2341 #define CPU_SCS_NVIC_IABR0_ACTIVE0_BITN 0
2342 #define CPU_SCS_NVIC_IABR0_ACTIVE0_M 0x00000001
2343 #define CPU_SCS_NVIC_IABR0_ACTIVE0_S 0
2344 
2345 //*****************************************************************************
2346 //
2347 // Register: CPU_SCS_O_NVIC_IABR1
2348 //
2349 //*****************************************************************************
2350 // Field: [5] ACTIVE37
2351 //
2352 // Reading 0 from this bit implies that interrupt line 37 is not active.
2353 // Reading 1 from this bit implies that the interrupt line 37 is active (See
2354 // EVENT:CPUIRQSEL37.EV for details).
2355 #define CPU_SCS_NVIC_IABR1_ACTIVE37 0x00000020
2356 #define CPU_SCS_NVIC_IABR1_ACTIVE37_BITN 5
2357 #define CPU_SCS_NVIC_IABR1_ACTIVE37_M 0x00000020
2358 #define CPU_SCS_NVIC_IABR1_ACTIVE37_S 5
2359 
2360 // Field: [4] ACTIVE36
2361 //
2362 // Reading 0 from this bit implies that interrupt line 36 is not active.
2363 // Reading 1 from this bit implies that the interrupt line 36 is active (See
2364 // EVENT:CPUIRQSEL36.EV for details).
2365 #define CPU_SCS_NVIC_IABR1_ACTIVE36 0x00000010
2366 #define CPU_SCS_NVIC_IABR1_ACTIVE36_BITN 4
2367 #define CPU_SCS_NVIC_IABR1_ACTIVE36_M 0x00000010
2368 #define CPU_SCS_NVIC_IABR1_ACTIVE36_S 4
2369 
2370 // Field: [3] ACTIVE35
2371 //
2372 // Reading 0 from this bit implies that interrupt line 35 is not active.
2373 // Reading 1 from this bit implies that the interrupt line 35 is active (See
2374 // EVENT:CPUIRQSEL35.EV for details).
2375 #define CPU_SCS_NVIC_IABR1_ACTIVE35 0x00000008
2376 #define CPU_SCS_NVIC_IABR1_ACTIVE35_BITN 3
2377 #define CPU_SCS_NVIC_IABR1_ACTIVE35_M 0x00000008
2378 #define CPU_SCS_NVIC_IABR1_ACTIVE35_S 3
2379 
2380 // Field: [2] ACTIVE34
2381 //
2382 // Reading 0 from this bit implies that interrupt line 34 is not active.
2383 // Reading 1 from this bit implies that the interrupt line 34 is active (See
2384 // EVENT:CPUIRQSEL34.EV for details).
2385 #define CPU_SCS_NVIC_IABR1_ACTIVE34 0x00000004
2386 #define CPU_SCS_NVIC_IABR1_ACTIVE34_BITN 2
2387 #define CPU_SCS_NVIC_IABR1_ACTIVE34_M 0x00000004
2388 #define CPU_SCS_NVIC_IABR1_ACTIVE34_S 2
2389 
2390 // Field: [1] ACTIVE33
2391 //
2392 // Reading 0 from this bit implies that interrupt line 33 is not active.
2393 // Reading 1 from this bit implies that the interrupt line 33 is active (See
2394 // EVENT:CPUIRQSEL33.EV for details).
2395 #define CPU_SCS_NVIC_IABR1_ACTIVE33 0x00000002
2396 #define CPU_SCS_NVIC_IABR1_ACTIVE33_BITN 1
2397 #define CPU_SCS_NVIC_IABR1_ACTIVE33_M 0x00000002
2398 #define CPU_SCS_NVIC_IABR1_ACTIVE33_S 1
2399 
2400 // Field: [0] ACTIVE32
2401 //
2402 // Reading 0 from this bit implies that interrupt line 32 is not active.
2403 // Reading 1 from this bit implies that the interrupt line 32 is active (See
2404 // EVENT:CPUIRQSEL32.EV for details).
2405 #define CPU_SCS_NVIC_IABR1_ACTIVE32 0x00000001
2406 #define CPU_SCS_NVIC_IABR1_ACTIVE32_BITN 0
2407 #define CPU_SCS_NVIC_IABR1_ACTIVE32_M 0x00000001
2408 #define CPU_SCS_NVIC_IABR1_ACTIVE32_S 0
2409 
2410 //*****************************************************************************
2411 //
2412 // Register: CPU_SCS_O_NVIC_IPR0
2413 //
2414 //*****************************************************************************
2415 // Field: [31:24] PRI_3
2416 //
2417 // Priority of interrupt 3 (See EVENT:CPUIRQSEL3.EV for details).
2418 #define CPU_SCS_NVIC_IPR0_PRI_3_W 8
2419 #define CPU_SCS_NVIC_IPR0_PRI_3_M 0xFF000000
2420 #define CPU_SCS_NVIC_IPR0_PRI_3_S 24
2421 
2422 // Field: [23:16] PRI_2
2423 //
2424 // Priority of interrupt 2 (See EVENT:CPUIRQSEL2.EV for details).
2425 #define CPU_SCS_NVIC_IPR0_PRI_2_W 8
2426 #define CPU_SCS_NVIC_IPR0_PRI_2_M 0x00FF0000
2427 #define CPU_SCS_NVIC_IPR0_PRI_2_S 16
2428 
2429 // Field: [15:8] PRI_1
2430 //
2431 // Priority of interrupt 1 (See EVENT:CPUIRQSEL1.EV for details).
2432 #define CPU_SCS_NVIC_IPR0_PRI_1_W 8
2433 #define CPU_SCS_NVIC_IPR0_PRI_1_M 0x0000FF00
2434 #define CPU_SCS_NVIC_IPR0_PRI_1_S 8
2435 
2436 // Field: [7:0] PRI_0
2437 //
2438 // Priority of interrupt 0 (See EVENT:CPUIRQSEL0.EV for details).
2439 #define CPU_SCS_NVIC_IPR0_PRI_0_W 8
2440 #define CPU_SCS_NVIC_IPR0_PRI_0_M 0x000000FF
2441 #define CPU_SCS_NVIC_IPR0_PRI_0_S 0
2442 
2443 //*****************************************************************************
2444 //
2445 // Register: CPU_SCS_O_NVIC_IPR1
2446 //
2447 //*****************************************************************************
2448 // Field: [31:24] PRI_7
2449 //
2450 // Priority of interrupt 7 (See EVENT:CPUIRQSEL7.EV for details).
2451 #define CPU_SCS_NVIC_IPR1_PRI_7_W 8
2452 #define CPU_SCS_NVIC_IPR1_PRI_7_M 0xFF000000
2453 #define CPU_SCS_NVIC_IPR1_PRI_7_S 24
2454 
2455 // Field: [23:16] PRI_6
2456 //
2457 // Priority of interrupt 6 (See EVENT:CPUIRQSEL6.EV for details).
2458 #define CPU_SCS_NVIC_IPR1_PRI_6_W 8
2459 #define CPU_SCS_NVIC_IPR1_PRI_6_M 0x00FF0000
2460 #define CPU_SCS_NVIC_IPR1_PRI_6_S 16
2461 
2462 // Field: [15:8] PRI_5
2463 //
2464 // Priority of interrupt 5 (See EVENT:CPUIRQSEL5.EV for details).
2465 #define CPU_SCS_NVIC_IPR1_PRI_5_W 8
2466 #define CPU_SCS_NVIC_IPR1_PRI_5_M 0x0000FF00
2467 #define CPU_SCS_NVIC_IPR1_PRI_5_S 8
2468 
2469 // Field: [7:0] PRI_4
2470 //
2471 // Priority of interrupt 4 (See EVENT:CPUIRQSEL4.EV for details).
2472 #define CPU_SCS_NVIC_IPR1_PRI_4_W 8
2473 #define CPU_SCS_NVIC_IPR1_PRI_4_M 0x000000FF
2474 #define CPU_SCS_NVIC_IPR1_PRI_4_S 0
2475 
2476 //*****************************************************************************
2477 //
2478 // Register: CPU_SCS_O_NVIC_IPR2
2479 //
2480 //*****************************************************************************
2481 // Field: [31:24] PRI_11
2482 //
2483 // Priority of interrupt 11 (See EVENT:CPUIRQSEL11.EV for details).
2484 #define CPU_SCS_NVIC_IPR2_PRI_11_W 8
2485 #define CPU_SCS_NVIC_IPR2_PRI_11_M 0xFF000000
2486 #define CPU_SCS_NVIC_IPR2_PRI_11_S 24
2487 
2488 // Field: [23:16] PRI_10
2489 //
2490 // Priority of interrupt 10 (See EVENT:CPUIRQSEL10.EV for details).
2491 #define CPU_SCS_NVIC_IPR2_PRI_10_W 8
2492 #define CPU_SCS_NVIC_IPR2_PRI_10_M 0x00FF0000
2493 #define CPU_SCS_NVIC_IPR2_PRI_10_S 16
2494 
2495 // Field: [15:8] PRI_9
2496 //
2497 // Priority of interrupt 9 (See EVENT:CPUIRQSEL9.EV for details).
2498 #define CPU_SCS_NVIC_IPR2_PRI_9_W 8
2499 #define CPU_SCS_NVIC_IPR2_PRI_9_M 0x0000FF00
2500 #define CPU_SCS_NVIC_IPR2_PRI_9_S 8
2501 
2502 // Field: [7:0] PRI_8
2503 //
2504 // Priority of interrupt 8 (See EVENT:CPUIRQSEL8.EV for details).
2505 #define CPU_SCS_NVIC_IPR2_PRI_8_W 8
2506 #define CPU_SCS_NVIC_IPR2_PRI_8_M 0x000000FF
2507 #define CPU_SCS_NVIC_IPR2_PRI_8_S 0
2508 
2509 //*****************************************************************************
2510 //
2511 // Register: CPU_SCS_O_NVIC_IPR3
2512 //
2513 //*****************************************************************************
2514 // Field: [31:24] PRI_15
2515 //
2516 // Priority of interrupt 15 (See EVENT:CPUIRQSEL15.EV for details).
2517 #define CPU_SCS_NVIC_IPR3_PRI_15_W 8
2518 #define CPU_SCS_NVIC_IPR3_PRI_15_M 0xFF000000
2519 #define CPU_SCS_NVIC_IPR3_PRI_15_S 24
2520 
2521 // Field: [23:16] PRI_14
2522 //
2523 // Priority of interrupt 14 (See EVENT:CPUIRQSEL14.EV for details).
2524 #define CPU_SCS_NVIC_IPR3_PRI_14_W 8
2525 #define CPU_SCS_NVIC_IPR3_PRI_14_M 0x00FF0000
2526 #define CPU_SCS_NVIC_IPR3_PRI_14_S 16
2527 
2528 // Field: [15:8] PRI_13
2529 //
2530 // Priority of interrupt 13 (See EVENT:CPUIRQSEL13.EV for details).
2531 #define CPU_SCS_NVIC_IPR3_PRI_13_W 8
2532 #define CPU_SCS_NVIC_IPR3_PRI_13_M 0x0000FF00
2533 #define CPU_SCS_NVIC_IPR3_PRI_13_S 8
2534 
2535 // Field: [7:0] PRI_12
2536 //
2537 // Priority of interrupt 12 (See EVENT:CPUIRQSEL12.EV for details).
2538 #define CPU_SCS_NVIC_IPR3_PRI_12_W 8
2539 #define CPU_SCS_NVIC_IPR3_PRI_12_M 0x000000FF
2540 #define CPU_SCS_NVIC_IPR3_PRI_12_S 0
2541 
2542 //*****************************************************************************
2543 //
2544 // Register: CPU_SCS_O_NVIC_IPR4
2545 //
2546 //*****************************************************************************
2547 // Field: [31:24] PRI_19
2548 //
2549 // Priority of interrupt 19 (See EVENT:CPUIRQSEL19.EV for details).
2550 #define CPU_SCS_NVIC_IPR4_PRI_19_W 8
2551 #define CPU_SCS_NVIC_IPR4_PRI_19_M 0xFF000000
2552 #define CPU_SCS_NVIC_IPR4_PRI_19_S 24
2553 
2554 // Field: [23:16] PRI_18
2555 //
2556 // Priority of interrupt 18 (See EVENT:CPUIRQSEL18.EV for details).
2557 #define CPU_SCS_NVIC_IPR4_PRI_18_W 8
2558 #define CPU_SCS_NVIC_IPR4_PRI_18_M 0x00FF0000
2559 #define CPU_SCS_NVIC_IPR4_PRI_18_S 16
2560 
2561 // Field: [15:8] PRI_17
2562 //
2563 // Priority of interrupt 17 (See EVENT:CPUIRQSEL17.EV for details).
2564 #define CPU_SCS_NVIC_IPR4_PRI_17_W 8
2565 #define CPU_SCS_NVIC_IPR4_PRI_17_M 0x0000FF00
2566 #define CPU_SCS_NVIC_IPR4_PRI_17_S 8
2567 
2568 // Field: [7:0] PRI_16
2569 //
2570 // Priority of interrupt 16 (See EVENT:CPUIRQSEL16.EV for details).
2571 #define CPU_SCS_NVIC_IPR4_PRI_16_W 8
2572 #define CPU_SCS_NVIC_IPR4_PRI_16_M 0x000000FF
2573 #define CPU_SCS_NVIC_IPR4_PRI_16_S 0
2574 
2575 //*****************************************************************************
2576 //
2577 // Register: CPU_SCS_O_NVIC_IPR5
2578 //
2579 //*****************************************************************************
2580 // Field: [31:24] PRI_23
2581 //
2582 // Priority of interrupt 23 (See EVENT:CPUIRQSEL23.EV for details).
2583 #define CPU_SCS_NVIC_IPR5_PRI_23_W 8
2584 #define CPU_SCS_NVIC_IPR5_PRI_23_M 0xFF000000
2585 #define CPU_SCS_NVIC_IPR5_PRI_23_S 24
2586 
2587 // Field: [23:16] PRI_22
2588 //
2589 // Priority of interrupt 22 (See EVENT:CPUIRQSEL22.EV for details).
2590 #define CPU_SCS_NVIC_IPR5_PRI_22_W 8
2591 #define CPU_SCS_NVIC_IPR5_PRI_22_M 0x00FF0000
2592 #define CPU_SCS_NVIC_IPR5_PRI_22_S 16
2593 
2594 // Field: [15:8] PRI_21
2595 //
2596 // Priority of interrupt 21 (See EVENT:CPUIRQSEL21.EV for details).
2597 #define CPU_SCS_NVIC_IPR5_PRI_21_W 8
2598 #define CPU_SCS_NVIC_IPR5_PRI_21_M 0x0000FF00
2599 #define CPU_SCS_NVIC_IPR5_PRI_21_S 8
2600 
2601 // Field: [7:0] PRI_20
2602 //
2603 // Priority of interrupt 20 (See EVENT:CPUIRQSEL20.EV for details).
2604 #define CPU_SCS_NVIC_IPR5_PRI_20_W 8
2605 #define CPU_SCS_NVIC_IPR5_PRI_20_M 0x000000FF
2606 #define CPU_SCS_NVIC_IPR5_PRI_20_S 0
2607 
2608 //*****************************************************************************
2609 //
2610 // Register: CPU_SCS_O_NVIC_IPR6
2611 //
2612 //*****************************************************************************
2613 // Field: [31:24] PRI_27
2614 //
2615 // Priority of interrupt 27 (See EVENT:CPUIRQSEL27.EV for details).
2616 #define CPU_SCS_NVIC_IPR6_PRI_27_W 8
2617 #define CPU_SCS_NVIC_IPR6_PRI_27_M 0xFF000000
2618 #define CPU_SCS_NVIC_IPR6_PRI_27_S 24
2619 
2620 // Field: [23:16] PRI_26
2621 //
2622 // Priority of interrupt 26 (See EVENT:CPUIRQSEL26.EV for details).
2623 #define CPU_SCS_NVIC_IPR6_PRI_26_W 8
2624 #define CPU_SCS_NVIC_IPR6_PRI_26_M 0x00FF0000
2625 #define CPU_SCS_NVIC_IPR6_PRI_26_S 16
2626 
2627 // Field: [15:8] PRI_25
2628 //
2629 // Priority of interrupt 25 (See EVENT:CPUIRQSEL25.EV for details).
2630 #define CPU_SCS_NVIC_IPR6_PRI_25_W 8
2631 #define CPU_SCS_NVIC_IPR6_PRI_25_M 0x0000FF00
2632 #define CPU_SCS_NVIC_IPR6_PRI_25_S 8
2633 
2634 // Field: [7:0] PRI_24
2635 //
2636 // Priority of interrupt 24 (See EVENT:CPUIRQSEL24.EV for details).
2637 #define CPU_SCS_NVIC_IPR6_PRI_24_W 8
2638 #define CPU_SCS_NVIC_IPR6_PRI_24_M 0x000000FF
2639 #define CPU_SCS_NVIC_IPR6_PRI_24_S 0
2640 
2641 //*****************************************************************************
2642 //
2643 // Register: CPU_SCS_O_NVIC_IPR7
2644 //
2645 //*****************************************************************************
2646 // Field: [31:24] PRI_31
2647 //
2648 // Priority of interrupt 31 (See EVENT:CPUIRQSEL31.EV for details).
2649 #define CPU_SCS_NVIC_IPR7_PRI_31_W 8
2650 #define CPU_SCS_NVIC_IPR7_PRI_31_M 0xFF000000
2651 #define CPU_SCS_NVIC_IPR7_PRI_31_S 24
2652 
2653 // Field: [23:16] PRI_30
2654 //
2655 // Priority of interrupt 30 (See EVENT:CPUIRQSEL30.EV for details).
2656 #define CPU_SCS_NVIC_IPR7_PRI_30_W 8
2657 #define CPU_SCS_NVIC_IPR7_PRI_30_M 0x00FF0000
2658 #define CPU_SCS_NVIC_IPR7_PRI_30_S 16
2659 
2660 // Field: [15:8] PRI_29
2661 //
2662 // Priority of interrupt 29 (See EVENT:CPUIRQSEL29.EV for details).
2663 #define CPU_SCS_NVIC_IPR7_PRI_29_W 8
2664 #define CPU_SCS_NVIC_IPR7_PRI_29_M 0x0000FF00
2665 #define CPU_SCS_NVIC_IPR7_PRI_29_S 8
2666 
2667 // Field: [7:0] PRI_28
2668 //
2669 // Priority of interrupt 28 (See EVENT:CPUIRQSEL28.EV for details).
2670 #define CPU_SCS_NVIC_IPR7_PRI_28_W 8
2671 #define CPU_SCS_NVIC_IPR7_PRI_28_M 0x000000FF
2672 #define CPU_SCS_NVIC_IPR7_PRI_28_S 0
2673 
2674 //*****************************************************************************
2675 //
2676 // Register: CPU_SCS_O_NVIC_IPR8
2677 //
2678 //*****************************************************************************
2679 // Field: [31:24] PRI_35
2680 //
2681 // Priority of interrupt 35 (See EVENT:CPUIRQSEL35.EV for details).
2682 #define CPU_SCS_NVIC_IPR8_PRI_35_W 8
2683 #define CPU_SCS_NVIC_IPR8_PRI_35_M 0xFF000000
2684 #define CPU_SCS_NVIC_IPR8_PRI_35_S 24
2685 
2686 // Field: [23:16] PRI_34
2687 //
2688 // Priority of interrupt 34 (See EVENT:CPUIRQSEL34.EV for details).
2689 #define CPU_SCS_NVIC_IPR8_PRI_34_W 8
2690 #define CPU_SCS_NVIC_IPR8_PRI_34_M 0x00FF0000
2691 #define CPU_SCS_NVIC_IPR8_PRI_34_S 16
2692 
2693 // Field: [15:8] PRI_33
2694 //
2695 // Priority of interrupt 33 (See EVENT:CPUIRQSEL33.EV for details).
2696 #define CPU_SCS_NVIC_IPR8_PRI_33_W 8
2697 #define CPU_SCS_NVIC_IPR8_PRI_33_M 0x0000FF00
2698 #define CPU_SCS_NVIC_IPR8_PRI_33_S 8
2699 
2700 // Field: [7:0] PRI_32
2701 //
2702 // Priority of interrupt 32 (See EVENT:CPUIRQSEL32.EV for details).
2703 #define CPU_SCS_NVIC_IPR8_PRI_32_W 8
2704 #define CPU_SCS_NVIC_IPR8_PRI_32_M 0x000000FF
2705 #define CPU_SCS_NVIC_IPR8_PRI_32_S 0
2706 
2707 //*****************************************************************************
2708 //
2709 // Register: CPU_SCS_O_NVIC_IPR9
2710 //
2711 //*****************************************************************************
2712 // Field: [15:8] PRI_37
2713 //
2714 // Priority of interrupt 37 (See EVENT:CPUIRQSEL37.EV for details).
2715 #define CPU_SCS_NVIC_IPR9_PRI_37_W 8
2716 #define CPU_SCS_NVIC_IPR9_PRI_37_M 0x0000FF00
2717 #define CPU_SCS_NVIC_IPR9_PRI_37_S 8
2718 
2719 // Field: [7:0] PRI_36
2720 //
2721 // Priority of interrupt 36 (See EVENT:CPUIRQSEL36.EV for details).
2722 #define CPU_SCS_NVIC_IPR9_PRI_36_W 8
2723 #define CPU_SCS_NVIC_IPR9_PRI_36_M 0x000000FF
2724 #define CPU_SCS_NVIC_IPR9_PRI_36_S 0
2725 
2726 //*****************************************************************************
2727 //
2728 // Register: CPU_SCS_O_CPUID
2729 //
2730 //*****************************************************************************
2731 // Field: [31:24] IMPLEMENTER
2732 //
2733 // Implementor code.
2734 #define CPU_SCS_CPUID_IMPLEMENTER_W 8
2735 #define CPU_SCS_CPUID_IMPLEMENTER_M 0xFF000000
2736 #define CPU_SCS_CPUID_IMPLEMENTER_S 24
2737 
2738 // Field: [23:20] VARIANT
2739 //
2740 // Implementation defined variant number.
2741 #define CPU_SCS_CPUID_VARIANT_W 4
2742 #define CPU_SCS_CPUID_VARIANT_M 0x00F00000
2743 #define CPU_SCS_CPUID_VARIANT_S 20
2744 
2745 // Field: [19:16] CONSTANT
2746 //
2747 // Reads as 0xF
2748 #define CPU_SCS_CPUID_CONSTANT_W 4
2749 #define CPU_SCS_CPUID_CONSTANT_M 0x000F0000
2750 #define CPU_SCS_CPUID_CONSTANT_S 16
2751 
2752 // Field: [15:4] PARTNO
2753 //
2754 // Number of processor within family.
2755 #define CPU_SCS_CPUID_PARTNO_W 12
2756 #define CPU_SCS_CPUID_PARTNO_M 0x0000FFF0
2757 #define CPU_SCS_CPUID_PARTNO_S 4
2758 
2759 // Field: [3:0] REVISION
2760 //
2761 // Implementation defined revision number.
2762 #define CPU_SCS_CPUID_REVISION_W 4
2763 #define CPU_SCS_CPUID_REVISION_M 0x0000000F
2764 #define CPU_SCS_CPUID_REVISION_S 0
2765 
2766 //*****************************************************************************
2767 //
2768 // Register: CPU_SCS_O_ICSR
2769 //
2770 //*****************************************************************************
2771 // Field: [31] NMIPENDSET
2772 //
2773 // Set pending NMI bit. Setting this bit pends and activates an NMI. Because
2774 // NMI is the highest-priority interrupt, it takes effect as soon as it
2775 // registers.
2776 //
2777 // 0: No action
2778 // 1: Set pending NMI
2779 #define CPU_SCS_ICSR_NMIPENDSET 0x80000000
2780 #define CPU_SCS_ICSR_NMIPENDSET_BITN 31
2781 #define CPU_SCS_ICSR_NMIPENDSET_M 0x80000000
2782 #define CPU_SCS_ICSR_NMIPENDSET_S 31
2783 
2784 // Field: [28] PENDSVSET
2785 //
2786 // Set pending pendSV bit.
2787 //
2788 // 0: No action
2789 // 1: Set pending PendSV
2790 #define CPU_SCS_ICSR_PENDSVSET 0x10000000
2791 #define CPU_SCS_ICSR_PENDSVSET_BITN 28
2792 #define CPU_SCS_ICSR_PENDSVSET_M 0x10000000
2793 #define CPU_SCS_ICSR_PENDSVSET_S 28
2794 
2795 // Field: [27] PENDSVCLR
2796 //
2797 // Clear pending pendSV bit
2798 //
2799 // 0: No action
2800 // 1: Clear pending pendSV
2801 #define CPU_SCS_ICSR_PENDSVCLR 0x08000000
2802 #define CPU_SCS_ICSR_PENDSVCLR_BITN 27
2803 #define CPU_SCS_ICSR_PENDSVCLR_M 0x08000000
2804 #define CPU_SCS_ICSR_PENDSVCLR_S 27
2805 
2806 // Field: [26] PENDSTSET
2807 //
2808 // Set a pending SysTick bit.
2809 //
2810 // 0: No action
2811 // 1: Set pending SysTick
2812 #define CPU_SCS_ICSR_PENDSTSET 0x04000000
2813 #define CPU_SCS_ICSR_PENDSTSET_BITN 26
2814 #define CPU_SCS_ICSR_PENDSTSET_M 0x04000000
2815 #define CPU_SCS_ICSR_PENDSTSET_S 26
2816 
2817 // Field: [25] PENDSTCLR
2818 //
2819 // Clear pending SysTick bit
2820 //
2821 // 0: No action
2822 // 1: Clear pending SysTick
2823 #define CPU_SCS_ICSR_PENDSTCLR 0x02000000
2824 #define CPU_SCS_ICSR_PENDSTCLR_BITN 25
2825 #define CPU_SCS_ICSR_PENDSTCLR_M 0x02000000
2826 #define CPU_SCS_ICSR_PENDSTCLR_S 25
2827 
2828 // Field: [23] ISRPREEMPT
2829 //
2830 // This field can only be used at debug time. It indicates that a pending
2831 // interrupt is to be taken in the next running cycle. If DHCSR.C_MASKINTS= 0,
2832 // the interrupt is serviced.
2833 //
2834 // 0: A pending exception is not serviced.
2835 // 1: A pending exception is serviced on exit from the debug halt state
2836 #define CPU_SCS_ICSR_ISRPREEMPT 0x00800000
2837 #define CPU_SCS_ICSR_ISRPREEMPT_BITN 23
2838 #define CPU_SCS_ICSR_ISRPREEMPT_M 0x00800000
2839 #define CPU_SCS_ICSR_ISRPREEMPT_S 23
2840 
2841 // Field: [22] ISRPENDING
2842 //
2843 // Interrupt pending flag. Excludes NMI and faults.
2844 //
2845 // 0x0: Interrupt not pending
2846 // 0x1: Interrupt pending
2847 #define CPU_SCS_ICSR_ISRPENDING 0x00400000
2848 #define CPU_SCS_ICSR_ISRPENDING_BITN 22
2849 #define CPU_SCS_ICSR_ISRPENDING_M 0x00400000
2850 #define CPU_SCS_ICSR_ISRPENDING_S 22
2851 
2852 // Field: [17:12] VECTPENDING
2853 //
2854 // Pending ISR number field. This field contains the interrupt number of the
2855 // highest priority pending ISR.
2856 #define CPU_SCS_ICSR_VECTPENDING_W 6
2857 #define CPU_SCS_ICSR_VECTPENDING_M 0x0003F000
2858 #define CPU_SCS_ICSR_VECTPENDING_S 12
2859 
2860 // Field: [11] RETTOBASE
2861 //
2862 // Indicates whether there are preempted active exceptions:
2863 //
2864 // 0: There are preempted active exceptions to execute
2865 // 1: There are no active exceptions, or the currently-executing exception is
2866 // the only active exception.
2867 #define CPU_SCS_ICSR_RETTOBASE 0x00000800
2868 #define CPU_SCS_ICSR_RETTOBASE_BITN 11
2869 #define CPU_SCS_ICSR_RETTOBASE_M 0x00000800
2870 #define CPU_SCS_ICSR_RETTOBASE_S 11
2871 
2872 // Field: [8:0] VECTACTIVE
2873 //
2874 // Active ISR number field. Reset clears this field.
2875 #define CPU_SCS_ICSR_VECTACTIVE_W 9
2876 #define CPU_SCS_ICSR_VECTACTIVE_M 0x000001FF
2877 #define CPU_SCS_ICSR_VECTACTIVE_S 0
2878 
2879 //*****************************************************************************
2880 //
2881 // Register: CPU_SCS_O_VTOR
2882 //
2883 //*****************************************************************************
2884 // Field: [29:7] TBLOFF
2885 //
2886 // Bits 29 down to 7 of the vector table base offset.
2887 #define CPU_SCS_VTOR_TBLOFF_W 23
2888 #define CPU_SCS_VTOR_TBLOFF_M 0x3FFFFF80
2889 #define CPU_SCS_VTOR_TBLOFF_S 7
2890 
2891 //*****************************************************************************
2892 //
2893 // Register: CPU_SCS_O_AIRCR
2894 //
2895 //*****************************************************************************
2896 // Field: [31:16] VECTKEY
2897 //
2898 // Register key. Writing to this register (AIRCR) requires 0x05FA in VECTKEY.
2899 // Otherwise the write value is ignored. Read always returns 0xFA05.
2900 #define CPU_SCS_AIRCR_VECTKEY_W 16
2901 #define CPU_SCS_AIRCR_VECTKEY_M 0xFFFF0000
2902 #define CPU_SCS_AIRCR_VECTKEY_S 16
2903 
2904 // Field: [15] ENDIANESS
2905 //
2906 // Data endianness bit
2907 // ENUMs:
2908 // BIG Big endian
2909 // LITTLE Little endian
2910 #define CPU_SCS_AIRCR_ENDIANESS 0x00008000
2911 #define CPU_SCS_AIRCR_ENDIANESS_BITN 15
2912 #define CPU_SCS_AIRCR_ENDIANESS_M 0x00008000
2913 #define CPU_SCS_AIRCR_ENDIANESS_S 15
2914 #define CPU_SCS_AIRCR_ENDIANESS_BIG 0x00008000
2915 #define CPU_SCS_AIRCR_ENDIANESS_LITTLE 0x00000000
2916 
2917 // Field: [10:8] PRIGROUP
2918 //
2919 // Interrupt priority grouping field. This field is a binary point position
2920 // indicator for creating subpriorities for exceptions that share the same
2921 // pre-emption level. It divides the PRI_n field in the Interrupt Priority
2922 // Registers (NVIC_IPR0, NVIC_IPR1,..., and NVIC_IPR8) into a pre-emption
2923 // level and a subpriority level. The binary point is a left-of value. This
2924 // means that the PRIGROUP value represents a point starting at the left of the
2925 // Least Significant Bit (LSB). The lowest value might not be 0 depending on
2926 // the number of bits allocated for priorities, and implementation choices.
2927 #define CPU_SCS_AIRCR_PRIGROUP_W 3
2928 #define CPU_SCS_AIRCR_PRIGROUP_M 0x00000700
2929 #define CPU_SCS_AIRCR_PRIGROUP_S 8
2930 
2931 // Field: [2] SYSRESETREQ
2932 //
2933 // Requests a warm reset. Setting this bit does not prevent Halting Debug from
2934 // running.
2935 #define CPU_SCS_AIRCR_SYSRESETREQ 0x00000004
2936 #define CPU_SCS_AIRCR_SYSRESETREQ_BITN 2
2937 #define CPU_SCS_AIRCR_SYSRESETREQ_M 0x00000004
2938 #define CPU_SCS_AIRCR_SYSRESETREQ_S 2
2939 
2940 // Field: [1] VECTCLRACTIVE
2941 //
2942 // Clears all active state information for active NMI, fault, and interrupts.
2943 // It is the responsibility of the application to reinitialize the stack. This
2944 // bit is for returning to a known state during debug. The bit self-clears.
2945 // IPSR is not cleared by this operation. So, if used by an application, it
2946 // must only be used at the base level of activation, or within a system
2947 // handler whose active bit can be set.
2948 #define CPU_SCS_AIRCR_VECTCLRACTIVE 0x00000002
2949 #define CPU_SCS_AIRCR_VECTCLRACTIVE_BITN 1
2950 #define CPU_SCS_AIRCR_VECTCLRACTIVE_M 0x00000002
2951 #define CPU_SCS_AIRCR_VECTCLRACTIVE_S 1
2952 
2953 // Field: [0] VECTRESET
2954 //
2955 // System Reset bit. Resets the system, with the exception of debug components.
2956 // This bit is reserved for debug use and can be written to 1 only when the
2957 // core is halted. The bit self-clears. Writing this bit to 1 while core is not
2958 // halted may result in unpredictable behavior.
2959 #define CPU_SCS_AIRCR_VECTRESET 0x00000001
2960 #define CPU_SCS_AIRCR_VECTRESET_BITN 0
2961 #define CPU_SCS_AIRCR_VECTRESET_M 0x00000001
2962 #define CPU_SCS_AIRCR_VECTRESET_S 0
2963 
2964 //*****************************************************************************
2965 //
2966 // Register: CPU_SCS_O_SCR
2967 //
2968 //*****************************************************************************
2969 // Field: [4] SEVONPEND
2970 //
2971 // Send Event on Pending bit:
2972 //
2973 // 0: Only enabled interrupts or events can wakeup the processor, disabled
2974 // interrupts are excluded
2975 // 1: Enabled events and all interrupts, including disabled interrupts, can
2976 // wakeup the processor.
2977 //
2978 // When an event or interrupt enters pending state, the event signal wakes up
2979 // the processor from WFE. If
2980 // the processor is not waiting for an event, the event is registered and
2981 // affects the next WFE.
2982 // The processor also wakes up on execution of an SEV instruction.
2983 #define CPU_SCS_SCR_SEVONPEND 0x00000010
2984 #define CPU_SCS_SCR_SEVONPEND_BITN 4
2985 #define CPU_SCS_SCR_SEVONPEND_M 0x00000010
2986 #define CPU_SCS_SCR_SEVONPEND_S 4
2987 
2988 // Field: [2] SLEEPDEEP
2989 //
2990 // Controls whether the processor uses sleep or deep sleep as its low power
2991 // mode
2992 // ENUMs:
2993 // DEEPSLEEP Deep sleep
2994 // SLEEP Sleep
2995 #define CPU_SCS_SCR_SLEEPDEEP 0x00000004
2996 #define CPU_SCS_SCR_SLEEPDEEP_BITN 2
2997 #define CPU_SCS_SCR_SLEEPDEEP_M 0x00000004
2998 #define CPU_SCS_SCR_SLEEPDEEP_S 2
2999 #define CPU_SCS_SCR_SLEEPDEEP_DEEPSLEEP 0x00000004
3000 #define CPU_SCS_SCR_SLEEPDEEP_SLEEP 0x00000000
3001 
3002 // Field: [1] SLEEPONEXIT
3003 //
3004 // Sleep on exit when returning from Handler mode to Thread mode. Enables
3005 // interrupt driven applications to avoid returning to empty main application.
3006 //
3007 // 0: Do not sleep when returning to thread mode
3008 // 1: Sleep on ISR exit
3009 #define CPU_SCS_SCR_SLEEPONEXIT 0x00000002
3010 #define CPU_SCS_SCR_SLEEPONEXIT_BITN 1
3011 #define CPU_SCS_SCR_SLEEPONEXIT_M 0x00000002
3012 #define CPU_SCS_SCR_SLEEPONEXIT_S 1
3013 
3014 //*****************************************************************************
3015 //
3016 // Register: CPU_SCS_O_CCR
3017 //
3018 //*****************************************************************************
3019 // Field: [9] STKALIGN
3020 //
3021 // Stack alignment bit.
3022 //
3023 // 0: Only 4-byte alignment is guaranteed for the SP used prior to the
3024 // exception on exception entry.
3025 // 1: On exception entry, the SP used prior to the exception is adjusted to be
3026 // 8-byte aligned and the context to restore it is saved. The SP is restored on
3027 // the associated exception return.
3028 #define CPU_SCS_CCR_STKALIGN 0x00000200
3029 #define CPU_SCS_CCR_STKALIGN_BITN 9
3030 #define CPU_SCS_CCR_STKALIGN_M 0x00000200
3031 #define CPU_SCS_CCR_STKALIGN_S 9
3032 
3033 // Field: [8] BFHFNMIGN
3034 //
3035 // Enables handlers with priority -1 or -2 to ignore data BusFaults caused by
3036 // load and store instructions. This applies to the HardFault, NMI, and
3037 // FAULTMASK escalated handlers:
3038 //
3039 // 0: Data BusFaults caused by load and store instructions cause a lock-up
3040 // 1: Data BusFaults caused by load and store instructions are ignored.
3041 //
3042 // Set this bit to 1 only when the handler and its data are in absolutely safe
3043 // memory. The normal use
3044 // of this bit is to probe system devices and bridges to detect problems.
3045 #define CPU_SCS_CCR_BFHFNMIGN 0x00000100
3046 #define CPU_SCS_CCR_BFHFNMIGN_BITN 8
3047 #define CPU_SCS_CCR_BFHFNMIGN_M 0x00000100
3048 #define CPU_SCS_CCR_BFHFNMIGN_S 8
3049 
3050 // Field: [4] DIV_0_TRP
3051 //
3052 // Enables faulting or halting when the processor executes an SDIV or UDIV
3053 // instruction with a divisor of 0:
3054 //
3055 // 0: Do not trap divide by 0. In this mode, a divide by zero returns a
3056 // quotient of 0.
3057 // 1: Trap divide by 0. The relevant Usage Fault Status Register bit is
3058 // CFSR.DIVBYZERO.
3059 #define CPU_SCS_CCR_DIV_0_TRP 0x00000010
3060 #define CPU_SCS_CCR_DIV_0_TRP_BITN 4
3061 #define CPU_SCS_CCR_DIV_0_TRP_M 0x00000010
3062 #define CPU_SCS_CCR_DIV_0_TRP_S 4
3063 
3064 // Field: [3] UNALIGN_TRP
3065 //
3066 // Enables unaligned access traps:
3067 //
3068 // 0: Do not trap unaligned halfword and word accesses
3069 // 1: Trap unaligned halfword and word accesses. The relevant Usage Fault
3070 // Status Register bit is CFSR.UNALIGNED.
3071 //
3072 // If this bit is set to 1, an unaligned access generates a UsageFault.
3073 // Unaligned LDM, STM, LDRD, and STRD instructions always fault regardless of
3074 // the value in UNALIGN_TRP.
3075 #define CPU_SCS_CCR_UNALIGN_TRP 0x00000008
3076 #define CPU_SCS_CCR_UNALIGN_TRP_BITN 3
3077 #define CPU_SCS_CCR_UNALIGN_TRP_M 0x00000008
3078 #define CPU_SCS_CCR_UNALIGN_TRP_S 3
3079 
3080 // Field: [1] USERSETMPEND
3081 //
3082 // Enables unprivileged software access to STIR:
3083 //
3084 // 0: User code is not allowed to write to the Software Trigger Interrupt
3085 // register (STIR).
3086 // 1: User code can write the Software Trigger Interrupt register (STIR) to
3087 // trigger (pend) a Main exception, which is associated with the Main stack
3088 // pointer.
3089 #define CPU_SCS_CCR_USERSETMPEND 0x00000002
3090 #define CPU_SCS_CCR_USERSETMPEND_BITN 1
3091 #define CPU_SCS_CCR_USERSETMPEND_M 0x00000002
3092 #define CPU_SCS_CCR_USERSETMPEND_S 1
3093 
3094 // Field: [0] NONBASETHREDENA
3095 //
3096 // Indicates how the processor enters Thread mode:
3097 //
3098 // 0: Processor can enter Thread mode only when no exception is active.
3099 // 1: Processor can enter Thread mode from any level using the appropriate
3100 // return value (EXC_RETURN).
3101 //
3102 // Exception returns occur when one of the following instructions loads a value
3103 // of 0xFXXXXXXX into the PC while in Handler mode:
3104 // - POP/LDM which includes loading the PC.
3105 // - LDR with PC as a destination.
3106 // - BX with any register.
3107 // The value written to the PC is intercepted and is referred to as the
3108 // EXC_RETURN value.
3109 #define CPU_SCS_CCR_NONBASETHREDENA 0x00000001
3110 #define CPU_SCS_CCR_NONBASETHREDENA_BITN 0
3111 #define CPU_SCS_CCR_NONBASETHREDENA_M 0x00000001
3112 #define CPU_SCS_CCR_NONBASETHREDENA_S 0
3113 
3114 //*****************************************************************************
3115 //
3116 // Register: CPU_SCS_O_SHPR1
3117 //
3118 //*****************************************************************************
3119 // Field: [23:16] PRI_6
3120 //
3121 // Priority of system handler 6. UsageFault
3122 #define CPU_SCS_SHPR1_PRI_6_W 8
3123 #define CPU_SCS_SHPR1_PRI_6_M 0x00FF0000
3124 #define CPU_SCS_SHPR1_PRI_6_S 16
3125 
3126 // Field: [15:8] PRI_5
3127 //
3128 // Priority of system handler 5: BusFault
3129 #define CPU_SCS_SHPR1_PRI_5_W 8
3130 #define CPU_SCS_SHPR1_PRI_5_M 0x0000FF00
3131 #define CPU_SCS_SHPR1_PRI_5_S 8
3132 
3133 // Field: [7:0] PRI_4
3134 //
3135 // Priority of system handler 4: MemManage
3136 #define CPU_SCS_SHPR1_PRI_4_W 8
3137 #define CPU_SCS_SHPR1_PRI_4_M 0x000000FF
3138 #define CPU_SCS_SHPR1_PRI_4_S 0
3139 
3140 //*****************************************************************************
3141 //
3142 // Register: CPU_SCS_O_SHPR2
3143 //
3144 //*****************************************************************************
3145 // Field: [31:24] PRI_11
3146 //
3147 // Priority of system handler 11. SVCall
3148 #define CPU_SCS_SHPR2_PRI_11_W 8
3149 #define CPU_SCS_SHPR2_PRI_11_M 0xFF000000
3150 #define CPU_SCS_SHPR2_PRI_11_S 24
3151 
3152 //*****************************************************************************
3153 //
3154 // Register: CPU_SCS_O_SHPR3
3155 //
3156 //*****************************************************************************
3157 // Field: [31:24] PRI_15
3158 //
3159 // Priority of system handler 15. SysTick exception
3160 #define CPU_SCS_SHPR3_PRI_15_W 8
3161 #define CPU_SCS_SHPR3_PRI_15_M 0xFF000000
3162 #define CPU_SCS_SHPR3_PRI_15_S 24
3163 
3164 // Field: [23:16] PRI_14
3165 //
3166 // Priority of system handler 14. Pend SV
3167 #define CPU_SCS_SHPR3_PRI_14_W 8
3168 #define CPU_SCS_SHPR3_PRI_14_M 0x00FF0000
3169 #define CPU_SCS_SHPR3_PRI_14_S 16
3170 
3171 // Field: [7:0] PRI_12
3172 //
3173 // Priority of system handler 12. Debug Monitor
3174 #define CPU_SCS_SHPR3_PRI_12_W 8
3175 #define CPU_SCS_SHPR3_PRI_12_M 0x000000FF
3176 #define CPU_SCS_SHPR3_PRI_12_S 0
3177 
3178 //*****************************************************************************
3179 //
3180 // Register: CPU_SCS_O_SHCSR
3181 //
3182 //*****************************************************************************
3183 // Field: [18] USGFAULTENA
3184 //
3185 // Usage fault system handler enable
3186 // ENUMs:
3187 // EN Exception enabled
3188 // DIS Exception disabled
3189 #define CPU_SCS_SHCSR_USGFAULTENA 0x00040000
3190 #define CPU_SCS_SHCSR_USGFAULTENA_BITN 18
3191 #define CPU_SCS_SHCSR_USGFAULTENA_M 0x00040000
3192 #define CPU_SCS_SHCSR_USGFAULTENA_S 18
3193 #define CPU_SCS_SHCSR_USGFAULTENA_EN 0x00040000
3194 #define CPU_SCS_SHCSR_USGFAULTENA_DIS 0x00000000
3195 
3196 // Field: [17] BUSFAULTENA
3197 //
3198 // Bus fault system handler enable
3199 // ENUMs:
3200 // EN Exception enabled
3201 // DIS Exception disabled
3202 #define CPU_SCS_SHCSR_BUSFAULTENA 0x00020000
3203 #define CPU_SCS_SHCSR_BUSFAULTENA_BITN 17
3204 #define CPU_SCS_SHCSR_BUSFAULTENA_M 0x00020000
3205 #define CPU_SCS_SHCSR_BUSFAULTENA_S 17
3206 #define CPU_SCS_SHCSR_BUSFAULTENA_EN 0x00020000
3207 #define CPU_SCS_SHCSR_BUSFAULTENA_DIS 0x00000000
3208 
3209 // Field: [16] MEMFAULTENA
3210 //
3211 // MemManage fault system handler enable
3212 // ENUMs:
3213 // EN Exception enabled
3214 // DIS Exception disabled
3215 #define CPU_SCS_SHCSR_MEMFAULTENA 0x00010000
3216 #define CPU_SCS_SHCSR_MEMFAULTENA_BITN 16
3217 #define CPU_SCS_SHCSR_MEMFAULTENA_M 0x00010000
3218 #define CPU_SCS_SHCSR_MEMFAULTENA_S 16
3219 #define CPU_SCS_SHCSR_MEMFAULTENA_EN 0x00010000
3220 #define CPU_SCS_SHCSR_MEMFAULTENA_DIS 0x00000000
3221 
3222 // Field: [15] SVCALLPENDED
3223 //
3224 // SVCall pending
3225 // ENUMs:
3226 // PENDING Exception is pending.
3227 // NOTPENDING Exception is not active
3228 #define CPU_SCS_SHCSR_SVCALLPENDED 0x00008000
3229 #define CPU_SCS_SHCSR_SVCALLPENDED_BITN 15
3230 #define CPU_SCS_SHCSR_SVCALLPENDED_M 0x00008000
3231 #define CPU_SCS_SHCSR_SVCALLPENDED_S 15
3232 #define CPU_SCS_SHCSR_SVCALLPENDED_PENDING 0x00008000
3233 #define CPU_SCS_SHCSR_SVCALLPENDED_NOTPENDING 0x00000000
3234 
3235 // Field: [14] BUSFAULTPENDED
3236 //
3237 // BusFault pending
3238 // ENUMs:
3239 // PENDING Exception is pending.
3240 // NOTPENDING Exception is not active
3241 #define CPU_SCS_SHCSR_BUSFAULTPENDED 0x00004000
3242 #define CPU_SCS_SHCSR_BUSFAULTPENDED_BITN 14
3243 #define CPU_SCS_SHCSR_BUSFAULTPENDED_M 0x00004000
3244 #define CPU_SCS_SHCSR_BUSFAULTPENDED_S 14
3245 #define CPU_SCS_SHCSR_BUSFAULTPENDED_PENDING 0x00004000
3246 #define CPU_SCS_SHCSR_BUSFAULTPENDED_NOTPENDING 0x00000000
3247 
3248 // Field: [13] MEMFAULTPENDED
3249 //
3250 // MemManage exception pending
3251 // ENUMs:
3252 // PENDING Exception is pending.
3253 // NOTPENDING Exception is not active
3254 #define CPU_SCS_SHCSR_MEMFAULTPENDED 0x00002000
3255 #define CPU_SCS_SHCSR_MEMFAULTPENDED_BITN 13
3256 #define CPU_SCS_SHCSR_MEMFAULTPENDED_M 0x00002000
3257 #define CPU_SCS_SHCSR_MEMFAULTPENDED_S 13
3258 #define CPU_SCS_SHCSR_MEMFAULTPENDED_PENDING 0x00002000
3259 #define CPU_SCS_SHCSR_MEMFAULTPENDED_NOTPENDING 0x00000000
3260 
3261 // Field: [12] USGFAULTPENDED
3262 //
3263 // Usage fault pending
3264 // ENUMs:
3265 // PENDING Exception is pending.
3266 // NOTPENDING Exception is not active
3267 #define CPU_SCS_SHCSR_USGFAULTPENDED 0x00001000
3268 #define CPU_SCS_SHCSR_USGFAULTPENDED_BITN 12
3269 #define CPU_SCS_SHCSR_USGFAULTPENDED_M 0x00001000
3270 #define CPU_SCS_SHCSR_USGFAULTPENDED_S 12
3271 #define CPU_SCS_SHCSR_USGFAULTPENDED_PENDING 0x00001000
3272 #define CPU_SCS_SHCSR_USGFAULTPENDED_NOTPENDING 0x00000000
3273 
3274 // Field: [11] SYSTICKACT
3275 //
3276 // SysTick active flag.
3277 //
3278 // 0x0: Not active
3279 // 0x1: Active
3280 // ENUMs:
3281 // ACTIVE Exception is active
3282 // NOTACTIVE Exception is not active
3283 #define CPU_SCS_SHCSR_SYSTICKACT 0x00000800
3284 #define CPU_SCS_SHCSR_SYSTICKACT_BITN 11
3285 #define CPU_SCS_SHCSR_SYSTICKACT_M 0x00000800
3286 #define CPU_SCS_SHCSR_SYSTICKACT_S 11
3287 #define CPU_SCS_SHCSR_SYSTICKACT_ACTIVE 0x00000800
3288 #define CPU_SCS_SHCSR_SYSTICKACT_NOTACTIVE 0x00000000
3289 
3290 // Field: [10] PENDSVACT
3291 //
3292 // PendSV active
3293 //
3294 // 0x0: Not active
3295 // 0x1: Active
3296 #define CPU_SCS_SHCSR_PENDSVACT 0x00000400
3297 #define CPU_SCS_SHCSR_PENDSVACT_BITN 10
3298 #define CPU_SCS_SHCSR_PENDSVACT_M 0x00000400
3299 #define CPU_SCS_SHCSR_PENDSVACT_S 10
3300 
3301 // Field: [8] MONITORACT
3302 //
3303 // Debug monitor active
3304 // ENUMs:
3305 // ACTIVE Exception is active
3306 // NOTACTIVE Exception is not active
3307 #define CPU_SCS_SHCSR_MONITORACT 0x00000100
3308 #define CPU_SCS_SHCSR_MONITORACT_BITN 8
3309 #define CPU_SCS_SHCSR_MONITORACT_M 0x00000100
3310 #define CPU_SCS_SHCSR_MONITORACT_S 8
3311 #define CPU_SCS_SHCSR_MONITORACT_ACTIVE 0x00000100
3312 #define CPU_SCS_SHCSR_MONITORACT_NOTACTIVE 0x00000000
3313 
3314 // Field: [7] SVCALLACT
3315 //
3316 // SVCall active
3317 // ENUMs:
3318 // ACTIVE Exception is active
3319 // NOTACTIVE Exception is not active
3320 #define CPU_SCS_SHCSR_SVCALLACT 0x00000080
3321 #define CPU_SCS_SHCSR_SVCALLACT_BITN 7
3322 #define CPU_SCS_SHCSR_SVCALLACT_M 0x00000080
3323 #define CPU_SCS_SHCSR_SVCALLACT_S 7
3324 #define CPU_SCS_SHCSR_SVCALLACT_ACTIVE 0x00000080
3325 #define CPU_SCS_SHCSR_SVCALLACT_NOTACTIVE 0x00000000
3326 
3327 // Field: [3] USGFAULTACT
3328 //
3329 // UsageFault exception active
3330 // ENUMs:
3331 // ACTIVE Exception is active
3332 // NOTACTIVE Exception is not active
3333 #define CPU_SCS_SHCSR_USGFAULTACT 0x00000008
3334 #define CPU_SCS_SHCSR_USGFAULTACT_BITN 3
3335 #define CPU_SCS_SHCSR_USGFAULTACT_M 0x00000008
3336 #define CPU_SCS_SHCSR_USGFAULTACT_S 3
3337 #define CPU_SCS_SHCSR_USGFAULTACT_ACTIVE 0x00000008
3338 #define CPU_SCS_SHCSR_USGFAULTACT_NOTACTIVE 0x00000000
3339 
3340 // Field: [1] BUSFAULTACT
3341 //
3342 // BusFault exception active
3343 // ENUMs:
3344 // ACTIVE Exception is active
3345 // NOTACTIVE Exception is not active
3346 #define CPU_SCS_SHCSR_BUSFAULTACT 0x00000002
3347 #define CPU_SCS_SHCSR_BUSFAULTACT_BITN 1
3348 #define CPU_SCS_SHCSR_BUSFAULTACT_M 0x00000002
3349 #define CPU_SCS_SHCSR_BUSFAULTACT_S 1
3350 #define CPU_SCS_SHCSR_BUSFAULTACT_ACTIVE 0x00000002
3351 #define CPU_SCS_SHCSR_BUSFAULTACT_NOTACTIVE 0x00000000
3352 
3353 // Field: [0] MEMFAULTACT
3354 //
3355 // MemManage exception active
3356 // ENUMs:
3357 // ACTIVE Exception is active
3358 // NOTACTIVE Exception is not active
3359 #define CPU_SCS_SHCSR_MEMFAULTACT 0x00000001
3360 #define CPU_SCS_SHCSR_MEMFAULTACT_BITN 0
3361 #define CPU_SCS_SHCSR_MEMFAULTACT_M 0x00000001
3362 #define CPU_SCS_SHCSR_MEMFAULTACT_S 0
3363 #define CPU_SCS_SHCSR_MEMFAULTACT_ACTIVE 0x00000001
3364 #define CPU_SCS_SHCSR_MEMFAULTACT_NOTACTIVE 0x00000000
3365 
3366 //*****************************************************************************
3367 //
3368 // Register: CPU_SCS_O_CFSR
3369 //
3370 //*****************************************************************************
3371 // Field: [25] DIVBYZERO
3372 //
3373 // When CCR.DIV_0_TRP (see Configuration Control Register on page 8-26) is
3374 // enabled and an SDIV or UDIV instruction is used with a divisor of 0, this
3375 // fault occurs The instruction is executed and the return PC points to it. If
3376 // CCR.DIV_0_TRP is not set, then the divide returns a quotient of 0.
3377 #define CPU_SCS_CFSR_DIVBYZERO 0x02000000
3378 #define CPU_SCS_CFSR_DIVBYZERO_BITN 25
3379 #define CPU_SCS_CFSR_DIVBYZERO_M 0x02000000
3380 #define CPU_SCS_CFSR_DIVBYZERO_S 25
3381 
3382 // Field: [24] UNALIGNED
3383 //
3384 // When CCR.UNALIGN_TRP is enabled, and there is an attempt to make an
3385 // unaligned memory access, then this fault occurs. Unaligned LDM/STM/LDRD/STRD
3386 // instructions always fault irrespective of the setting of CCR.UNALIGN_TRP.
3387 #define CPU_SCS_CFSR_UNALIGNED 0x01000000
3388 #define CPU_SCS_CFSR_UNALIGNED_BITN 24
3389 #define CPU_SCS_CFSR_UNALIGNED_M 0x01000000
3390 #define CPU_SCS_CFSR_UNALIGNED_S 24
3391 
3392 // Field: [19] NOCP
3393 //
3394 // Attempt to use a coprocessor instruction. The processor does not support
3395 // coprocessor instructions.
3396 #define CPU_SCS_CFSR_NOCP 0x00080000
3397 #define CPU_SCS_CFSR_NOCP_BITN 19
3398 #define CPU_SCS_CFSR_NOCP_M 0x00080000
3399 #define CPU_SCS_CFSR_NOCP_S 19
3400 
3401 // Field: [18] INVPC
3402 //
3403 // Attempt to load EXC_RETURN into PC illegally. Invalid instruction, invalid
3404 // context, invalid value. The return PC points to the instruction that tried
3405 // to set the PC.
3406 #define CPU_SCS_CFSR_INVPC 0x00040000
3407 #define CPU_SCS_CFSR_INVPC_BITN 18
3408 #define CPU_SCS_CFSR_INVPC_M 0x00040000
3409 #define CPU_SCS_CFSR_INVPC_S 18
3410 
3411 // Field: [17] INVSTATE
3412 //
3413 // Indicates an attempt to execute in an invalid EPSR state (e.g. after a BX
3414 // type instruction has changed state). This includes state change after entry
3415 // to or return from exception, as well as from inter-working instructions.
3416 // Return PC points to faulting instruction, with the invalid state.
3417 #define CPU_SCS_CFSR_INVSTATE 0x00020000
3418 #define CPU_SCS_CFSR_INVSTATE_BITN 17
3419 #define CPU_SCS_CFSR_INVSTATE_M 0x00020000
3420 #define CPU_SCS_CFSR_INVSTATE_S 17
3421 
3422 // Field: [16] UNDEFINSTR
3423 //
3424 // This bit is set when the processor attempts to execute an undefined
3425 // instruction. This is an instruction that the processor cannot decode. The
3426 // return PC points to the undefined instruction.
3427 #define CPU_SCS_CFSR_UNDEFINSTR 0x00010000
3428 #define CPU_SCS_CFSR_UNDEFINSTR_BITN 16
3429 #define CPU_SCS_CFSR_UNDEFINSTR_M 0x00010000
3430 #define CPU_SCS_CFSR_UNDEFINSTR_S 16
3431 
3432 // Field: [15] BFARVALID
3433 //
3434 // This bit is set if the Bus Fault Address Register (BFAR) contains a valid
3435 // address. This is true after a bus fault where the address is known. Other
3436 // faults can clear this bit, such as a Mem Manage fault occurring later. If a
3437 // Bus fault occurs that is escalated to a Hard Fault because of priority, the
3438 // Hard Fault handler must clear this bit. This prevents problems if returning
3439 // to a stacked active Bus fault handler whose BFAR value has been overwritten.
3440 #define CPU_SCS_CFSR_BFARVALID 0x00008000
3441 #define CPU_SCS_CFSR_BFARVALID_BITN 15
3442 #define CPU_SCS_CFSR_BFARVALID_M 0x00008000
3443 #define CPU_SCS_CFSR_BFARVALID_S 15
3444 
3445 // Field: [12] STKERR
3446 //
3447 // Stacking from exception has caused one or more bus faults. The SP is still
3448 // adjusted and the values in the context area on the stack might be incorrect.
3449 // BFAR is not written.
3450 #define CPU_SCS_CFSR_STKERR 0x00001000
3451 #define CPU_SCS_CFSR_STKERR_BITN 12
3452 #define CPU_SCS_CFSR_STKERR_M 0x00001000
3453 #define CPU_SCS_CFSR_STKERR_S 12
3454 
3455 // Field: [11] UNSTKERR
3456 //
3457 // Unstack from exception return has caused one or more bus faults. This is
3458 // chained to the handler, so that the original return stack is still present.
3459 // SP is not adjusted from failing return and new save is not performed. BFAR
3460 // is not written.
3461 #define CPU_SCS_CFSR_UNSTKERR 0x00000800
3462 #define CPU_SCS_CFSR_UNSTKERR_BITN 11
3463 #define CPU_SCS_CFSR_UNSTKERR_M 0x00000800
3464 #define CPU_SCS_CFSR_UNSTKERR_S 11
3465 
3466 // Field: [10] IMPRECISERR
3467 //
3468 // Imprecise data bus error. It is a BusFault, but the Return PC is not related
3469 // to the causing instruction. This is not a synchronous fault. So, if detected
3470 // when the priority of the current activation is higher than the Bus Fault, it
3471 // only pends. Bus fault activates when returning to a lower priority
3472 // activation. If a precise fault occurs before returning to a lower priority
3473 // exception, the handler detects both IMPRECISERR set and one of the precise
3474 // fault status bits set at the same time. BFAR is not written.
3475 #define CPU_SCS_CFSR_IMPRECISERR 0x00000400
3476 #define CPU_SCS_CFSR_IMPRECISERR_BITN 10
3477 #define CPU_SCS_CFSR_IMPRECISERR_M 0x00000400
3478 #define CPU_SCS_CFSR_IMPRECISERR_S 10
3479 
3480 // Field: [9] PRECISERR
3481 //
3482 // Precise data bus error return.
3483 #define CPU_SCS_CFSR_PRECISERR 0x00000200
3484 #define CPU_SCS_CFSR_PRECISERR_BITN 9
3485 #define CPU_SCS_CFSR_PRECISERR_M 0x00000200
3486 #define CPU_SCS_CFSR_PRECISERR_S 9
3487 
3488 // Field: [8] IBUSERR
3489 //
3490 // Instruction bus error flag. This flag is set by a prefetch error. The fault
3491 // stops on the instruction, so if the error occurs under a branch shadow, no
3492 // fault occurs. BFAR is not written.
3493 #define CPU_SCS_CFSR_IBUSERR 0x00000100
3494 #define CPU_SCS_CFSR_IBUSERR_BITN 8
3495 #define CPU_SCS_CFSR_IBUSERR_M 0x00000100
3496 #define CPU_SCS_CFSR_IBUSERR_S 8
3497 
3498 // Field: [7] MMARVALID
3499 //
3500 // Memory Manage Address Register (MMFAR) address valid flag. A later-arriving
3501 // fault, such as a bus fault, can clear a memory manage fault.. If a MemManage
3502 // fault occurs that is escalated to a Hard Fault because of priority, the Hard
3503 // Fault handler must clear this bit. This prevents problems on return to a
3504 // stacked active MemManage handler whose MMFAR value has been overwritten.
3505 #define CPU_SCS_CFSR_MMARVALID 0x00000080
3506 #define CPU_SCS_CFSR_MMARVALID_BITN 7
3507 #define CPU_SCS_CFSR_MMARVALID_M 0x00000080
3508 #define CPU_SCS_CFSR_MMARVALID_S 7
3509 
3510 // Field: [4] MSTKERR
3511 //
3512 // Stacking from exception has caused one or more access violations. The SP is
3513 // still adjusted and the values in the context area on the stack might be
3514 // incorrect. MMFAR is not written.
3515 #define CPU_SCS_CFSR_MSTKERR 0x00000010
3516 #define CPU_SCS_CFSR_MSTKERR_BITN 4
3517 #define CPU_SCS_CFSR_MSTKERR_M 0x00000010
3518 #define CPU_SCS_CFSR_MSTKERR_S 4
3519 
3520 // Field: [3] MUNSTKERR
3521 //
3522 // Unstack from exception return has caused one or more access violations. This
3523 // is chained to the handler, so that the original return stack is still
3524 // present. SP is not adjusted from failing return and new save is not
3525 // performed. MMFAR is not written.
3526 #define CPU_SCS_CFSR_MUNSTKERR 0x00000008
3527 #define CPU_SCS_CFSR_MUNSTKERR_BITN 3
3528 #define CPU_SCS_CFSR_MUNSTKERR_M 0x00000008
3529 #define CPU_SCS_CFSR_MUNSTKERR_S 3
3530 
3531 // Field: [1] DACCVIOL
3532 //
3533 // Data access violation flag. Attempting to load or store at a location that
3534 // does not permit the operation sets this flag. The return PC points to the
3535 // faulting instruction. This error loads MMFAR with the address of the
3536 // attempted access.
3537 #define CPU_SCS_CFSR_DACCVIOL 0x00000002
3538 #define CPU_SCS_CFSR_DACCVIOL_BITN 1
3539 #define CPU_SCS_CFSR_DACCVIOL_M 0x00000002
3540 #define CPU_SCS_CFSR_DACCVIOL_S 1
3541 
3542 // Field: [0] IACCVIOL
3543 //
3544 // Instruction access violation flag. Attempting to fetch an instruction from a
3545 // location that does not permit execution sets this flag. This occurs on any
3546 // access to an XN region, even when the MPU is disabled or not present. The
3547 // return PC points to the faulting instruction. MMFAR is not written.
3548 #define CPU_SCS_CFSR_IACCVIOL 0x00000001
3549 #define CPU_SCS_CFSR_IACCVIOL_BITN 0
3550 #define CPU_SCS_CFSR_IACCVIOL_M 0x00000001
3551 #define CPU_SCS_CFSR_IACCVIOL_S 0
3552 
3553 //*****************************************************************************
3554 //
3555 // Register: CPU_SCS_O_HFSR
3556 //
3557 //*****************************************************************************
3558 // Field: [31] DEBUGEVT
3559 //
3560 // This bit is set if there is a fault related to debug. This is only possible
3561 // when halting debug is not enabled. For monitor enabled debug, it only
3562 // happens for BKPT when the current priority is higher than the monitor. When
3563 // both halting and monitor debug are disabled, it only happens for debug
3564 // events that are not ignored (minimally, BKPT). The Debug Fault Status
3565 // Register is updated.
3566 #define CPU_SCS_HFSR_DEBUGEVT 0x80000000
3567 #define CPU_SCS_HFSR_DEBUGEVT_BITN 31
3568 #define CPU_SCS_HFSR_DEBUGEVT_M 0x80000000
3569 #define CPU_SCS_HFSR_DEBUGEVT_S 31
3570 
3571 // Field: [30] FORCED
3572 //
3573 // Hard Fault activated because a Configurable Fault was received and cannot
3574 // activate because of priority or because the Configurable Fault is disabled.
3575 // The Hard Fault handler then has to read the other fault status registers to
3576 // determine cause.
3577 #define CPU_SCS_HFSR_FORCED 0x40000000
3578 #define CPU_SCS_HFSR_FORCED_BITN 30
3579 #define CPU_SCS_HFSR_FORCED_M 0x40000000
3580 #define CPU_SCS_HFSR_FORCED_S 30
3581 
3582 // Field: [1] VECTTBL
3583 //
3584 // This bit is set if there is a fault because of vector table read on
3585 // exception processing (Bus Fault). This case is always a Hard Fault. The
3586 // return PC points to the pre-empted instruction.
3587 #define CPU_SCS_HFSR_VECTTBL 0x00000002
3588 #define CPU_SCS_HFSR_VECTTBL_BITN 1
3589 #define CPU_SCS_HFSR_VECTTBL_M 0x00000002
3590 #define CPU_SCS_HFSR_VECTTBL_S 1
3591 
3592 //*****************************************************************************
3593 //
3594 // Register: CPU_SCS_O_DFSR
3595 //
3596 //*****************************************************************************
3597 // Field: [4] EXTERNAL
3598 //
3599 // External debug request flag. The processor stops on next instruction
3600 // boundary.
3601 //
3602 // 0x0: External debug request signal not asserted
3603 // 0x1: External debug request signal asserted
3604 #define CPU_SCS_DFSR_EXTERNAL 0x00000010
3605 #define CPU_SCS_DFSR_EXTERNAL_BITN 4
3606 #define CPU_SCS_DFSR_EXTERNAL_M 0x00000010
3607 #define CPU_SCS_DFSR_EXTERNAL_S 4
3608 
3609 // Field: [3] VCATCH
3610 //
3611 // Vector catch flag. When this flag is set, a flag in one of the local fault
3612 // status registers is also set to indicate the type of fault.
3613 //
3614 // 0x0: No vector catch occurred
3615 // 0x1: Vector catch occurred
3616 #define CPU_SCS_DFSR_VCATCH 0x00000008
3617 #define CPU_SCS_DFSR_VCATCH_BITN 3
3618 #define CPU_SCS_DFSR_VCATCH_M 0x00000008
3619 #define CPU_SCS_DFSR_VCATCH_S 3
3620 
3621 // Field: [2] DWTTRAP
3622 //
3623 // Data Watchpoint and Trace (DWT) flag. The processor stops at the current
3624 // instruction or at the next instruction.
3625 //
3626 // 0x0: No DWT match
3627 // 0x1: DWT match
3628 #define CPU_SCS_DFSR_DWTTRAP 0x00000004
3629 #define CPU_SCS_DFSR_DWTTRAP_BITN 2
3630 #define CPU_SCS_DFSR_DWTTRAP_M 0x00000004
3631 #define CPU_SCS_DFSR_DWTTRAP_S 2
3632 
3633 // Field: [1] BKPT
3634 //
3635 // BKPT flag. The BKPT flag is set by a BKPT instruction in flash patch code,
3636 // and also by normal code. Return PC points to breakpoint containing
3637 // instruction.
3638 //
3639 // 0x0: No BKPT instruction execution
3640 // 0x1: BKPT instruction execution
3641 #define CPU_SCS_DFSR_BKPT 0x00000002
3642 #define CPU_SCS_DFSR_BKPT_BITN 1
3643 #define CPU_SCS_DFSR_BKPT_M 0x00000002
3644 #define CPU_SCS_DFSR_BKPT_S 1
3645 
3646 // Field: [0] HALTED
3647 //
3648 // Halt request flag. The processor is halted on the next instruction.
3649 //
3650 // 0x0: No halt request
3651 // 0x1: Halt requested by NVIC, including step
3652 #define CPU_SCS_DFSR_HALTED 0x00000001
3653 #define CPU_SCS_DFSR_HALTED_BITN 0
3654 #define CPU_SCS_DFSR_HALTED_M 0x00000001
3655 #define CPU_SCS_DFSR_HALTED_S 0
3656 
3657 //*****************************************************************************
3658 //
3659 // Register: CPU_SCS_O_MMFAR
3660 //
3661 //*****************************************************************************
3662 // Field: [31:0] ADDRESS
3663 //
3664 // Mem Manage fault address field.
3665 // This field is the data address of a faulted load or store attempt. When an
3666 // unaligned access faults, the address is the actual address that faulted.
3667 // Because an access can be split into multiple parts, each aligned, this
3668 // address can be any offset in the range of the requested size. Flags
3669 // CFSR.IACCVIOL, CFSR.DACCVIOL ,CFSR.MUNSTKERR and CFSR.MSTKERR in combination
3670 // with CFSR.MMARVALIDindicate the cause of the fault.
3671 #define CPU_SCS_MMFAR_ADDRESS_W 32
3672 #define CPU_SCS_MMFAR_ADDRESS_M 0xFFFFFFFF
3673 #define CPU_SCS_MMFAR_ADDRESS_S 0
3674 
3675 //*****************************************************************************
3676 //
3677 // Register: CPU_SCS_O_BFAR
3678 //
3679 //*****************************************************************************
3680 // Field: [31:0] ADDRESS
3681 //
3682 // Bus fault address field. This field is the data address of a faulted load or
3683 // store attempt. When an unaligned access faults, the address is the address
3684 // requested by the instruction, even if that is not the address that faulted.
3685 // Flags CFSR.IBUSERR, CFSR.PRECISERR, CFSR.IMPRECISERR, CFSR.UNSTKERR and
3686 // CFSR.STKERR in combination with CFSR.BFARVALID indicate the cause of the
3687 // fault.
3688 #define CPU_SCS_BFAR_ADDRESS_W 32
3689 #define CPU_SCS_BFAR_ADDRESS_M 0xFFFFFFFF
3690 #define CPU_SCS_BFAR_ADDRESS_S 0
3691 
3692 //*****************************************************************************
3693 //
3694 // Register: CPU_SCS_O_AFSR
3695 //
3696 //*****************************************************************************
3697 // Field: [31:0] IMPDEF
3698 //
3699 // Implementation defined. The bits map directly onto the signal assignment to
3700 // the auxiliary fault inputs. Tied to 0
3701 #define CPU_SCS_AFSR_IMPDEF_W 32
3702 #define CPU_SCS_AFSR_IMPDEF_M 0xFFFFFFFF
3703 #define CPU_SCS_AFSR_IMPDEF_S 0
3704 
3705 //*****************************************************************************
3706 //
3707 // Register: CPU_SCS_O_ID_PFR0
3708 //
3709 //*****************************************************************************
3710 // Field: [7:4] STATE1
3711 //
3712 // State1 (T-bit == 1)
3713 //
3714 // 0x0: N/A
3715 // 0x1: N/A
3716 // 0x2: Thumb-2 encoding with the 16-bit basic instructions plus 32-bit
3717 // Buncond/BL but no other 32-bit basic instructions (Note non-basic 32-bit
3718 // instructions can be added using the appropriate instruction attribute, but
3719 // other 32-bit basic instructions cannot.)
3720 // 0x3: Thumb-2 encoding with all Thumb-2 basic instructions
3721 #define CPU_SCS_ID_PFR0_STATE1_W 4
3722 #define CPU_SCS_ID_PFR0_STATE1_M 0x000000F0
3723 #define CPU_SCS_ID_PFR0_STATE1_S 4
3724 
3725 // Field: [3:0] STATE0
3726 //
3727 // State0 (T-bit == 0)
3728 //
3729 // 0x0: No ARM encoding
3730 // 0x1: N/A
3731 #define CPU_SCS_ID_PFR0_STATE0_W 4
3732 #define CPU_SCS_ID_PFR0_STATE0_M 0x0000000F
3733 #define CPU_SCS_ID_PFR0_STATE0_S 0
3734 
3735 //*****************************************************************************
3736 //
3737 // Register: CPU_SCS_O_ID_PFR1
3738 //
3739 //*****************************************************************************
3740 // Field: [11:8] MICROCONTROLLER_PROGRAMMERS_MODEL
3741 //
3742 // Microcontroller programmer's model
3743 //
3744 // 0x0: Not supported
3745 // 0x2: Two-stack support
3746 #define CPU_SCS_ID_PFR1_MICROCONTROLLER_PROGRAMMERS_MODEL_W 4
3747 #define CPU_SCS_ID_PFR1_MICROCONTROLLER_PROGRAMMERS_MODEL_M 0x00000F00
3748 #define CPU_SCS_ID_PFR1_MICROCONTROLLER_PROGRAMMERS_MODEL_S 8
3749 
3750 //*****************************************************************************
3751 //
3752 // Register: CPU_SCS_O_ID_DFR0
3753 //
3754 //*****************************************************************************
3755 // Field: [23:20] MICROCONTROLLER_DEBUG_MODEL
3756 //
3757 // Microcontroller Debug Model - memory mapped
3758 //
3759 // 0x0: Not supported
3760 // 0x1: Microcontroller debug v1 (ITMv1 and DWTv1)
3761 #define CPU_SCS_ID_DFR0_MICROCONTROLLER_DEBUG_MODEL_W 4
3762 #define CPU_SCS_ID_DFR0_MICROCONTROLLER_DEBUG_MODEL_M 0x00F00000
3763 #define CPU_SCS_ID_DFR0_MICROCONTROLLER_DEBUG_MODEL_S 20
3764 
3765 //*****************************************************************************
3766 //
3767 // Register: CPU_SCS_O_ID_AFR0
3768 //
3769 //*****************************************************************************
3770 //*****************************************************************************
3771 //
3772 // Register: CPU_SCS_O_ID_MMFR0
3773 //
3774 //*****************************************************************************
3775 //*****************************************************************************
3776 //
3777 // Register: CPU_SCS_O_ID_MMFR1
3778 //
3779 //*****************************************************************************
3780 //*****************************************************************************
3781 //
3782 // Register: CPU_SCS_O_ID_MMFR2
3783 //
3784 //*****************************************************************************
3785 // Field: [24] WAIT_FOR_INTERRUPT_STALLING
3786 //
3787 // wait for interrupt stalling
3788 //
3789 // 0x0: Not supported
3790 // 0x1: Wait for interrupt supported
3791 #define CPU_SCS_ID_MMFR2_WAIT_FOR_INTERRUPT_STALLING 0x01000000
3792 #define CPU_SCS_ID_MMFR2_WAIT_FOR_INTERRUPT_STALLING_BITN 24
3793 #define CPU_SCS_ID_MMFR2_WAIT_FOR_INTERRUPT_STALLING_M 0x01000000
3794 #define CPU_SCS_ID_MMFR2_WAIT_FOR_INTERRUPT_STALLING_S 24
3795 
3796 //*****************************************************************************
3797 //
3798 // Register: CPU_SCS_O_ID_MMFR3
3799 //
3800 //*****************************************************************************
3801 //*****************************************************************************
3802 //
3803 // Register: CPU_SCS_O_ID_ISAR0
3804 //
3805 //*****************************************************************************
3806 //*****************************************************************************
3807 //
3808 // Register: CPU_SCS_O_ID_ISAR1
3809 //
3810 //*****************************************************************************
3811 //*****************************************************************************
3812 //
3813 // Register: CPU_SCS_O_ID_ISAR2
3814 //
3815 //*****************************************************************************
3816 //*****************************************************************************
3817 //
3818 // Register: CPU_SCS_O_ID_ISAR3
3819 //
3820 //*****************************************************************************
3821 //*****************************************************************************
3822 //
3823 // Register: CPU_SCS_O_ID_ISAR4
3824 //
3825 //*****************************************************************************
3826 //*****************************************************************************
3827 //
3828 // Register: CPU_SCS_O_CPACR
3829 //
3830 //*****************************************************************************
3831 //*****************************************************************************
3832 //
3833 // Register: CPU_SCS_O_MPU_TYPE
3834 //
3835 //*****************************************************************************
3836 // Field: [23:16] IREGION
3837 //
3838 // The processor core uses only a unified MPU, this field always reads 0x0.
3839 #define CPU_SCS_MPU_TYPE_IREGION_W 8
3840 #define CPU_SCS_MPU_TYPE_IREGION_M 0x00FF0000
3841 #define CPU_SCS_MPU_TYPE_IREGION_S 16
3842 
3843 // Field: [15:8] DREGION
3844 //
3845 // Number of supported MPU regions field. This field reads 0x08 indicating
3846 // eight MPU regions.
3847 #define CPU_SCS_MPU_TYPE_DREGION_W 8
3848 #define CPU_SCS_MPU_TYPE_DREGION_M 0x0000FF00
3849 #define CPU_SCS_MPU_TYPE_DREGION_S 8
3850 
3851 // Field: [0] SEPARATE
3852 //
3853 // The processor core uses only a unified MPU, thus this field is always 0.
3854 #define CPU_SCS_MPU_TYPE_SEPARATE 0x00000001
3855 #define CPU_SCS_MPU_TYPE_SEPARATE_BITN 0
3856 #define CPU_SCS_MPU_TYPE_SEPARATE_M 0x00000001
3857 #define CPU_SCS_MPU_TYPE_SEPARATE_S 0
3858 
3859 //*****************************************************************************
3860 //
3861 // Register: CPU_SCS_O_MPU_CTRL
3862 //
3863 //*****************************************************************************
3864 // Field: [2] PRIVDEFENA
3865 //
3866 // This bit enables the default memory map for privileged access, as a
3867 // background region, when the MPU is enabled. The background region acts as if
3868 // it was region number 1 before any settable regions. Any region that is set
3869 // up overlays this default map, and overrides it. If this bit is not set, the
3870 // default memory map is disabled, and memory not covered by a region faults.
3871 // This applies to memory type, Execute Never (XN), cache and shareable rules.
3872 // However, this only applies to privileged mode (fetch and data access). User
3873 // mode code faults unless a region has been set up for its code and data. When
3874 // the MPU is disabled, the default map acts on both privileged and user mode
3875 // code. XN and SO rules always apply to the system partition whether this
3876 // enable is set or not. If the MPU is disabled, this bit is ignored.
3877 #define CPU_SCS_MPU_CTRL_PRIVDEFENA 0x00000004
3878 #define CPU_SCS_MPU_CTRL_PRIVDEFENA_BITN 2
3879 #define CPU_SCS_MPU_CTRL_PRIVDEFENA_M 0x00000004
3880 #define CPU_SCS_MPU_CTRL_PRIVDEFENA_S 2
3881 
3882 // Field: [1] HFNMIENA
3883 //
3884 // This bit enables the MPU when in Hard Fault, NMI, and FAULTMASK escalated
3885 // handlers. If this bit and ENABLE are set, the MPU is enabled when in these
3886 // handlers. If this bit is not set, the MPU is disabled when in these
3887 // handlers, regardless of the value of ENABLE bit. If this bit is set and
3888 // ENABLE is not set, behavior is unpredictable.
3889 #define CPU_SCS_MPU_CTRL_HFNMIENA 0x00000002
3890 #define CPU_SCS_MPU_CTRL_HFNMIENA_BITN 1
3891 #define CPU_SCS_MPU_CTRL_HFNMIENA_M 0x00000002
3892 #define CPU_SCS_MPU_CTRL_HFNMIENA_S 1
3893 
3894 // Field: [0] ENABLE
3895 //
3896 // Enable MPU
3897 //
3898 // 0: MPU disabled
3899 // 1: MPU enabled
3900 #define CPU_SCS_MPU_CTRL_ENABLE 0x00000001
3901 #define CPU_SCS_MPU_CTRL_ENABLE_BITN 0
3902 #define CPU_SCS_MPU_CTRL_ENABLE_M 0x00000001
3903 #define CPU_SCS_MPU_CTRL_ENABLE_S 0
3904 
3905 //*****************************************************************************
3906 //
3907 // Register: CPU_SCS_O_MPU_RNR
3908 //
3909 //*****************************************************************************
3910 // Field: [7:0] REGION
3911 //
3912 // Region select field.
3913 // This field selects the region to operate on when using the MPU_RASR and
3914 // MPU_RBAR. It must be written first except when the address MPU_RBAR.VALID
3915 // and MPU_RBAR.REGION fields are written, which overwrites this.
3916 #define CPU_SCS_MPU_RNR_REGION_W 8
3917 #define CPU_SCS_MPU_RNR_REGION_M 0x000000FF
3918 #define CPU_SCS_MPU_RNR_REGION_S 0
3919 
3920 //*****************************************************************************
3921 //
3922 // Register: CPU_SCS_O_MPU_RBAR
3923 //
3924 //*****************************************************************************
3925 // Field: [31:5] ADDR
3926 //
3927 // Region base address field.
3928 // The position of the LSB depends on the region size, so that the base address
3929 // is aligned according to an even multiple of size. The power of 2 size
3930 // specified by the SZENABLE field of the MPU Region Attribute and Size
3931 // Register defines how many bits of base address are used.
3932 #define CPU_SCS_MPU_RBAR_ADDR_W 27
3933 #define CPU_SCS_MPU_RBAR_ADDR_M 0xFFFFFFE0
3934 #define CPU_SCS_MPU_RBAR_ADDR_S 5
3935 
3936 // Field: [4] VALID
3937 //
3938 // MPU region number valid:
3939 // 0: MPU_RNR remains unchanged and is interpreted.
3940 // 1: MPU_RNR is overwritten by REGION.
3941 #define CPU_SCS_MPU_RBAR_VALID 0x00000010
3942 #define CPU_SCS_MPU_RBAR_VALID_BITN 4
3943 #define CPU_SCS_MPU_RBAR_VALID_M 0x00000010
3944 #define CPU_SCS_MPU_RBAR_VALID_S 4
3945 
3946 // Field: [3:0] REGION
3947 //
3948 // MPU region override field
3949 #define CPU_SCS_MPU_RBAR_REGION_W 4
3950 #define CPU_SCS_MPU_RBAR_REGION_M 0x0000000F
3951 #define CPU_SCS_MPU_RBAR_REGION_S 0
3952 
3953 //*****************************************************************************
3954 //
3955 // Register: CPU_SCS_O_MPU_RASR
3956 //
3957 //*****************************************************************************
3958 // Field: [28] XN
3959 //
3960 // Instruction access disable:
3961 // 0: Enable instruction fetches
3962 // 1: Disable instruction fetches
3963 #define CPU_SCS_MPU_RASR_XN 0x10000000
3964 #define CPU_SCS_MPU_RASR_XN_BITN 28
3965 #define CPU_SCS_MPU_RASR_XN_M 0x10000000
3966 #define CPU_SCS_MPU_RASR_XN_S 28
3967 
3968 // Field: [26:24] AP
3969 //
3970 // Data access permission:
3971 // 0x0: Priviliged permissions: No access. User permissions: No access.
3972 // 0x1: Priviliged permissions: Read-write. User permissions: No access.
3973 // 0x2: Priviliged permissions: Read-write. User permissions: Read-only.
3974 // 0x3: Priviliged permissions: Read-write. User permissions: Read-write.
3975 // 0x4: Reserved
3976 // 0x5: Priviliged permissions: Read-only. User permissions: No access.
3977 // 0x6: Priviliged permissions: Read-only. User permissions: Read-only.
3978 // 0x7: Priviliged permissions: Read-only. User permissions: Read-only.
3979 #define CPU_SCS_MPU_RASR_AP_W 3
3980 #define CPU_SCS_MPU_RASR_AP_M 0x07000000
3981 #define CPU_SCS_MPU_RASR_AP_S 24
3982 
3983 // Field: [21:19] TEX
3984 //
3985 // Type extension
3986 #define CPU_SCS_MPU_RASR_TEX_W 3
3987 #define CPU_SCS_MPU_RASR_TEX_M 0x00380000
3988 #define CPU_SCS_MPU_RASR_TEX_S 19
3989 
3990 // Field: [18] S
3991 //
3992 // Shareable bit:
3993 // 0: Not shareable
3994 // 1: Shareable
3995 #define CPU_SCS_MPU_RASR_S 0x00040000
3996 #define CPU_SCS_MPU_RASR_S_BITN 18
3997 #define CPU_SCS_MPU_RASR_S_M 0x00040000
3998 #define CPU_SCS_MPU_RASR_S_S 18
3999 
4000 // Field: [17] C
4001 //
4002 // Cacheable bit:
4003 // 0: Not cacheable
4004 // 1: Cacheable
4005 #define CPU_SCS_MPU_RASR_C 0x00020000
4006 #define CPU_SCS_MPU_RASR_C_BITN 17
4007 #define CPU_SCS_MPU_RASR_C_M 0x00020000
4008 #define CPU_SCS_MPU_RASR_C_S 17
4009 
4010 // Field: [16] B
4011 //
4012 // Bufferable bit:
4013 // 0: Not bufferable
4014 // 1: Bufferable
4015 #define CPU_SCS_MPU_RASR_B 0x00010000
4016 #define CPU_SCS_MPU_RASR_B_BITN 16
4017 #define CPU_SCS_MPU_RASR_B_M 0x00010000
4018 #define CPU_SCS_MPU_RASR_B_S 16
4019 
4020 // Field: [15:8] SRD
4021 //
4022 // Sub-Region Disable field:
4023 // Setting a bit in this field disables the corresponding sub-region. Regions
4024 // are split into eight equal-sized sub-regions. Sub-regions are not supported
4025 // for region sizes of 128 bytes and less.
4026 #define CPU_SCS_MPU_RASR_SRD_W 8
4027 #define CPU_SCS_MPU_RASR_SRD_M 0x0000FF00
4028 #define CPU_SCS_MPU_RASR_SRD_S 8
4029 
4030 // Field: [5:1] SIZE
4031 //
4032 // MPU Protection Region Size Field:
4033 // 0x04: 32B
4034 // 0x05: 64B
4035 // 0x06: 128B
4036 // 0x07: 256B
4037 // 0x08: 512B
4038 // 0x09: 1KB
4039 // 0x0A: 2KB
4040 // 0x0B: 4KB
4041 // 0x0C: 8KB
4042 // 0x0D: 16KB
4043 // 0x0E: 32KB
4044 // 0x0F: 64KB
4045 // 0x10: 128KB
4046 // 0x11: 256KB
4047 // 0x12: 512KB
4048 // 0x13: 1MB
4049 // 0x14: 2MB
4050 // 0x15: 4MB
4051 // 0x16: 8MB
4052 // 0x17: 16MB
4053 // 0x18: 32MB
4054 // 0x19: 64MB
4055 // 0x1A: 128MB
4056 // 0x1B: 256MB
4057 // 0x1C: 512MB
4058 // 0x1D: 1GB
4059 // 0x1E: 2GB
4060 // 0x1F: 4GB
4061 #define CPU_SCS_MPU_RASR_SIZE_W 5
4062 #define CPU_SCS_MPU_RASR_SIZE_M 0x0000003E
4063 #define CPU_SCS_MPU_RASR_SIZE_S 1
4064 
4065 // Field: [0] ENABLE
4066 //
4067 // Region enable bit:
4068 // 0: Disable region
4069 // 1: Enable region
4070 #define CPU_SCS_MPU_RASR_ENABLE 0x00000001
4071 #define CPU_SCS_MPU_RASR_ENABLE_BITN 0
4072 #define CPU_SCS_MPU_RASR_ENABLE_M 0x00000001
4073 #define CPU_SCS_MPU_RASR_ENABLE_S 0
4074 
4075 //*****************************************************************************
4076 //
4077 // Register: CPU_SCS_O_MPU_RBAR_A1
4078 //
4079 //*****************************************************************************
4080 // Field: [31:0] MPU_RBAR_A1
4081 //
4082 // Alias for MPU_RBAR
4083 #define CPU_SCS_MPU_RBAR_A1_MPU_RBAR_A1_W 32
4084 #define CPU_SCS_MPU_RBAR_A1_MPU_RBAR_A1_M 0xFFFFFFFF
4085 #define CPU_SCS_MPU_RBAR_A1_MPU_RBAR_A1_S 0
4086 
4087 //*****************************************************************************
4088 //
4089 // Register: CPU_SCS_O_MPU_RASR_A1
4090 //
4091 //*****************************************************************************
4092 // Field: [31:0] MPU_RASR_A1
4093 //
4094 // Alias for MPU_RASR
4095 #define CPU_SCS_MPU_RASR_A1_MPU_RASR_A1_W 32
4096 #define CPU_SCS_MPU_RASR_A1_MPU_RASR_A1_M 0xFFFFFFFF
4097 #define CPU_SCS_MPU_RASR_A1_MPU_RASR_A1_S 0
4098 
4099 //*****************************************************************************
4100 //
4101 // Register: CPU_SCS_O_MPU_RBAR_A2
4102 //
4103 //*****************************************************************************
4104 // Field: [31:0] MPU_RBAR_A2
4105 //
4106 // Alias for MPU_RBAR
4107 #define CPU_SCS_MPU_RBAR_A2_MPU_RBAR_A2_W 32
4108 #define CPU_SCS_MPU_RBAR_A2_MPU_RBAR_A2_M 0xFFFFFFFF
4109 #define CPU_SCS_MPU_RBAR_A2_MPU_RBAR_A2_S 0
4110 
4111 //*****************************************************************************
4112 //
4113 // Register: CPU_SCS_O_MPU_RASR_A2
4114 //
4115 //*****************************************************************************
4116 // Field: [31:0] MPU_RASR_A2
4117 //
4118 // Alias for MPU_RASR
4119 #define CPU_SCS_MPU_RASR_A2_MPU_RASR_A2_W 32
4120 #define CPU_SCS_MPU_RASR_A2_MPU_RASR_A2_M 0xFFFFFFFF
4121 #define CPU_SCS_MPU_RASR_A2_MPU_RASR_A2_S 0
4122 
4123 //*****************************************************************************
4124 //
4125 // Register: CPU_SCS_O_MPU_RBAR_A3
4126 //
4127 //*****************************************************************************
4128 // Field: [31:0] MPU_RBAR_A3
4129 //
4130 // Alias for MPU_RBAR
4131 #define CPU_SCS_MPU_RBAR_A3_MPU_RBAR_A3_W 32
4132 #define CPU_SCS_MPU_RBAR_A3_MPU_RBAR_A3_M 0xFFFFFFFF
4133 #define CPU_SCS_MPU_RBAR_A3_MPU_RBAR_A3_S 0
4134 
4135 //*****************************************************************************
4136 //
4137 // Register: CPU_SCS_O_MPU_RASR_A3
4138 //
4139 //*****************************************************************************
4140 // Field: [31:0] MPU_RASR_A3
4141 //
4142 // Alias for MPU_RASR
4143 #define CPU_SCS_MPU_RASR_A3_MPU_RASR_A3_W 32
4144 #define CPU_SCS_MPU_RASR_A3_MPU_RASR_A3_M 0xFFFFFFFF
4145 #define CPU_SCS_MPU_RASR_A3_MPU_RASR_A3_S 0
4146 
4147 //*****************************************************************************
4148 //
4149 // Register: CPU_SCS_O_DHCSR
4150 //
4151 //*****************************************************************************
4152 // Field: [25] S_RESET_ST
4153 //
4154 // Indicates that the core has been reset, or is now being reset, since the
4155 // last time this bit was read. This a sticky bit that clears on read. So,
4156 // reading twice and getting 1 then 0 means it was reset in the past. Reading
4157 // twice and getting 1 both times means that it is being reset now (held in
4158 // reset still).
4159 // When writing to this register, 0 must be written this bit-field, otherwise
4160 // the write operation is ignored and no bits are written into the register.
4161 #define CPU_SCS_DHCSR_S_RESET_ST 0x02000000
4162 #define CPU_SCS_DHCSR_S_RESET_ST_BITN 25
4163 #define CPU_SCS_DHCSR_S_RESET_ST_M 0x02000000
4164 #define CPU_SCS_DHCSR_S_RESET_ST_S 25
4165 
4166 // Field: [24] S_RETIRE_ST
4167 //
4168 // Indicates that an instruction has completed since last read. This is a
4169 // sticky bit that clears on read. This determines if the core is stalled on a
4170 // load/store or fetch.
4171 // When writing to this register, 0 must be written this bit-field, otherwise
4172 // the write operation is ignored and no bits are written into the register.
4173 #define CPU_SCS_DHCSR_S_RETIRE_ST 0x01000000
4174 #define CPU_SCS_DHCSR_S_RETIRE_ST_BITN 24
4175 #define CPU_SCS_DHCSR_S_RETIRE_ST_M 0x01000000
4176 #define CPU_SCS_DHCSR_S_RETIRE_ST_S 24
4177 
4178 // Field: [19] S_LOCKUP
4179 //
4180 // Reads as one if the core is running (not halted) and a lockup condition is
4181 // present.
4182 // When writing to this register, 1 must be written this bit-field, otherwise
4183 // the write operation is ignored and no bits are written into the register.
4184 #define CPU_SCS_DHCSR_S_LOCKUP 0x00080000
4185 #define CPU_SCS_DHCSR_S_LOCKUP_BITN 19
4186 #define CPU_SCS_DHCSR_S_LOCKUP_M 0x00080000
4187 #define CPU_SCS_DHCSR_S_LOCKUP_S 19
4188 
4189 // Field: [18] S_SLEEP
4190 //
4191 // Indicates that the core is sleeping (WFI, WFE, or **SLEEP-ON-EXIT**). Must
4192 // use C_HALT to gain control or wait for interrupt to wake-up.
4193 // When writing to this register, 1 must be written this bit-field, otherwise
4194 // the write operation is ignored and no bits are written into the register.
4195 #define CPU_SCS_DHCSR_S_SLEEP 0x00040000
4196 #define CPU_SCS_DHCSR_S_SLEEP_BITN 18
4197 #define CPU_SCS_DHCSR_S_SLEEP_M 0x00040000
4198 #define CPU_SCS_DHCSR_S_SLEEP_S 18
4199 
4200 // Field: [17] S_HALT
4201 //
4202 // The core is in debug state when this bit is set.
4203 // When writing to this register, 1 must be written this bit-field, otherwise
4204 // the write operation is ignored and no bits are written into the register.
4205 #define CPU_SCS_DHCSR_S_HALT 0x00020000
4206 #define CPU_SCS_DHCSR_S_HALT_BITN 17
4207 #define CPU_SCS_DHCSR_S_HALT_M 0x00020000
4208 #define CPU_SCS_DHCSR_S_HALT_S 17
4209 
4210 // Field: [16] S_REGRDY
4211 //
4212 // Register Read/Write on the Debug Core Register Selector register is
4213 // available. Last transfer is complete.
4214 // When writing to this register, 1 must be written this bit-field, otherwise
4215 // the write operation is ignored and no bits are written into the register.
4216 #define CPU_SCS_DHCSR_S_REGRDY 0x00010000
4217 #define CPU_SCS_DHCSR_S_REGRDY_BITN 16
4218 #define CPU_SCS_DHCSR_S_REGRDY_M 0x00010000
4219 #define CPU_SCS_DHCSR_S_REGRDY_S 16
4220 
4221 // Field: [5] C_SNAPSTALL
4222 //
4223 // If the core is stalled on a load/store operation the stall ceases and the
4224 // instruction is forced to complete. This enables Halting debug to gain
4225 // control of the core. It can only be set if: C_DEBUGEN = 1 and C_HALT = 1.
4226 // The core reads S_RETIRE_ST as 0. This indicates that no instruction has
4227 // advanced. This prevents misuse. The bus state is Unpredictable when this is
4228 // used. S_RETIRE_ST can detect core stalls on load/store operations.
4229 #define CPU_SCS_DHCSR_C_SNAPSTALL 0x00000020
4230 #define CPU_SCS_DHCSR_C_SNAPSTALL_BITN 5
4231 #define CPU_SCS_DHCSR_C_SNAPSTALL_M 0x00000020
4232 #define CPU_SCS_DHCSR_C_SNAPSTALL_S 5
4233 
4234 // Field: [3] C_MASKINTS
4235 //
4236 // Mask interrupts when stepping or running in halted debug. This masking does
4237 // not affect NMI, fault exceptions and SVC caused by execution of the
4238 // instructions. This bit must only be modified when the processor is halted
4239 // (S_HALT == 1). C_MASKINTS must be set or cleared before halt is released
4240 // (i.e., the writes to set or clear C_MASKINTS and to set or clear C_HALT must
4241 // be separate). Modifying C_MASKINTS while the system is running with halting
4242 // debug support enabled (C_DEBUGEN = 1, S_HALT = 0) may cause unpredictable
4243 // behavior.
4244 #define CPU_SCS_DHCSR_C_MASKINTS 0x00000008
4245 #define CPU_SCS_DHCSR_C_MASKINTS_BITN 3
4246 #define CPU_SCS_DHCSR_C_MASKINTS_M 0x00000008
4247 #define CPU_SCS_DHCSR_C_MASKINTS_S 3
4248 
4249 // Field: [2] C_STEP
4250 //
4251 // Steps the core in halted debug. When C_DEBUGEN = 0, this bit has no effect.
4252 // Must only be modified when the processor is halted (S_HALT == 1).
4253 // Modifying C_STEP while the system is running with halting debug support
4254 // enabled (C_DEBUGEN = 1, S_HALT = 0) may cause unpredictable behavior.
4255 #define CPU_SCS_DHCSR_C_STEP 0x00000004
4256 #define CPU_SCS_DHCSR_C_STEP_BITN 2
4257 #define CPU_SCS_DHCSR_C_STEP_M 0x00000004
4258 #define CPU_SCS_DHCSR_C_STEP_S 2
4259 
4260 // Field: [1] C_HALT
4261 //
4262 // Halts the core. This bit is set automatically when the core Halts. For
4263 // example Breakpoint. This bit clears on core reset.
4264 #define CPU_SCS_DHCSR_C_HALT 0x00000002
4265 #define CPU_SCS_DHCSR_C_HALT_BITN 1
4266 #define CPU_SCS_DHCSR_C_HALT_M 0x00000002
4267 #define CPU_SCS_DHCSR_C_HALT_S 1
4268 
4269 // Field: [0] C_DEBUGEN
4270 //
4271 // Enables debug. This can only be written by AHB-AP and not by the core. It is
4272 // ignored when written by the core, which cannot set or clear it. The core
4273 // must write a 1 to it when writing C_HALT to halt itself.
4274 // The values of C_HALT, C_STEP and C_MASKINTS are ignored by hardware when
4275 // C_DEBUGEN = 0. The read values for C_HALT, C_STEP and C_MASKINTS fields will
4276 // be unknown to software when C_DEBUGEN = 0.
4277 #define CPU_SCS_DHCSR_C_DEBUGEN 0x00000001
4278 #define CPU_SCS_DHCSR_C_DEBUGEN_BITN 0
4279 #define CPU_SCS_DHCSR_C_DEBUGEN_M 0x00000001
4280 #define CPU_SCS_DHCSR_C_DEBUGEN_S 0
4281 
4282 //*****************************************************************************
4283 //
4284 // Register: CPU_SCS_O_DCRSR
4285 //
4286 //*****************************************************************************
4287 // Field: [16] REGWNR
4288 //
4289 // 1: Write
4290 // 0: Read
4291 #define CPU_SCS_DCRSR_REGWNR 0x00010000
4292 #define CPU_SCS_DCRSR_REGWNR_BITN 16
4293 #define CPU_SCS_DCRSR_REGWNR_M 0x00010000
4294 #define CPU_SCS_DCRSR_REGWNR_S 16
4295 
4296 // Field: [4:0] REGSEL
4297 //
4298 // Register select
4299 //
4300 // 0x00: R0
4301 // 0x01: R1
4302 // 0x02: R2
4303 // 0x03: R3
4304 // 0x04: R4
4305 // 0x05: R5
4306 // 0x06: R6
4307 // 0x07: R7
4308 // 0x08: R8
4309 // 0x09: R9
4310 // 0x0A: R10
4311 // 0x0B: R11
4312 // 0x0C: R12
4313 // 0x0D: Current SP
4314 // 0x0E: LR
4315 // 0x0F: DebugReturnAddress
4316 // 0x10: XPSR/flags, execution state information, and exception number
4317 // 0x11: MSP (Main SP)
4318 // 0x12: PSP (Process SP)
4319 // 0x14: CONTROL<<24 | FAULTMASK<<16 | BASEPRI<<8 | PRIMASK
4320 #define CPU_SCS_DCRSR_REGSEL_W 5
4321 #define CPU_SCS_DCRSR_REGSEL_M 0x0000001F
4322 #define CPU_SCS_DCRSR_REGSEL_S 0
4323 
4324 //*****************************************************************************
4325 //
4326 // Register: CPU_SCS_O_DCRDR
4327 //
4328 //*****************************************************************************
4329 // Field: [31:0] DCRDR
4330 //
4331 // This register holds data for reading and writing registers to and from the
4332 // processor. This is the data value written to the register selected by DCRSR.
4333 // When the processor receives a request from DCRSR, this register is read or
4334 // written by the processor using a normal load-store unit operation. If core
4335 // register transfers are not being performed, software-based debug monitors
4336 // can use this register for communication in non-halting debug. This enables
4337 // flags and bits to acknowledge state and indicate if commands have been
4338 // accepted to, replied to, or accepted and replied to.
4339 #define CPU_SCS_DCRDR_DCRDR_W 32
4340 #define CPU_SCS_DCRDR_DCRDR_M 0xFFFFFFFF
4341 #define CPU_SCS_DCRDR_DCRDR_S 0
4342 
4343 //*****************************************************************************
4344 //
4345 // Register: CPU_SCS_O_DEMCR
4346 //
4347 //*****************************************************************************
4348 // Field: [24] TRCENA
4349 //
4350 // This bit must be set to 1 to enable use of the trace and debug blocks: DWT,
4351 // ITM, ETM and TPIU. This enables control of power usage unless tracing is
4352 // required. The application can enable this, for ITM use, or use by a
4353 // debugger.
4354 #define CPU_SCS_DEMCR_TRCENA 0x01000000
4355 #define CPU_SCS_DEMCR_TRCENA_BITN 24
4356 #define CPU_SCS_DEMCR_TRCENA_M 0x01000000
4357 #define CPU_SCS_DEMCR_TRCENA_S 24
4358 
4359 // Field: [19] MON_REQ
4360 //
4361 // This enables the monitor to identify how it wakes up. This bit clears on a
4362 // Core Reset.
4363 //
4364 // 0x0: Woken up by debug exception.
4365 // 0x1: Woken up by MON_PEND
4366 #define CPU_SCS_DEMCR_MON_REQ 0x00080000
4367 #define CPU_SCS_DEMCR_MON_REQ_BITN 19
4368 #define CPU_SCS_DEMCR_MON_REQ_M 0x00080000
4369 #define CPU_SCS_DEMCR_MON_REQ_S 19
4370 
4371 // Field: [18] MON_STEP
4372 //
4373 // When MON_EN = 1, this steps the core. When MON_EN = 0, this bit is ignored.
4374 // This is the equivalent to DHCSR.C_STEP. Interrupts are only stepped
4375 // according to the priority of the monitor and settings of PRIMASK, FAULTMASK,
4376 // or BASEPRI.
4377 #define CPU_SCS_DEMCR_MON_STEP 0x00040000
4378 #define CPU_SCS_DEMCR_MON_STEP_BITN 18
4379 #define CPU_SCS_DEMCR_MON_STEP_M 0x00040000
4380 #define CPU_SCS_DEMCR_MON_STEP_S 18
4381 
4382 // Field: [17] MON_PEND
4383 //
4384 // Pend the monitor to activate when priority permits. This can wake up the
4385 // monitor through the AHB-AP port. It is the equivalent to DHCSR.C_HALT for
4386 // Monitor debug. This register does not reset on a system reset. It is only
4387 // reset by a power-on reset. Software in the reset handler or later, or by the
4388 // DAP must enable the debug monitor.
4389 #define CPU_SCS_DEMCR_MON_PEND 0x00020000
4390 #define CPU_SCS_DEMCR_MON_PEND_BITN 17
4391 #define CPU_SCS_DEMCR_MON_PEND_M 0x00020000
4392 #define CPU_SCS_DEMCR_MON_PEND_S 17
4393 
4394 // Field: [16] MON_EN
4395 //
4396 // Enable the debug monitor.
4397 // When enabled, the System handler priority register controls its priority
4398 // level. If disabled, then all debug events go to Hard fault. DHCSR.C_DEBUGEN
4399 // overrides this bit. Vector catching is semi-synchronous. When a matching
4400 // event is seen, a Halt is requested. Because the processor can only halt on
4401 // an instruction boundary, it must wait until the next instruction boundary.
4402 // As a result, it stops on the first instruction of the exception handler.
4403 // However, two special cases exist when a vector catch has triggered: 1. If a
4404 // fault is taken during vectoring, vector read or stack push error, the halt
4405 // occurs on the corresponding fault handler, for the vector error or stack
4406 // push. 2. If a late arriving interrupt comes in during vectoring, it is not
4407 // taken. That is, an implementation that supports the late arrival
4408 // optimization must suppress it in this case.
4409 #define CPU_SCS_DEMCR_MON_EN 0x00010000
4410 #define CPU_SCS_DEMCR_MON_EN_BITN 16
4411 #define CPU_SCS_DEMCR_MON_EN_M 0x00010000
4412 #define CPU_SCS_DEMCR_MON_EN_S 16
4413 
4414 // Field: [10] VC_HARDERR
4415 //
4416 // Debug trap on Hard Fault. Ignored when DHCSR.C_DEBUGEN is cleared.
4417 #define CPU_SCS_DEMCR_VC_HARDERR 0x00000400
4418 #define CPU_SCS_DEMCR_VC_HARDERR_BITN 10
4419 #define CPU_SCS_DEMCR_VC_HARDERR_M 0x00000400
4420 #define CPU_SCS_DEMCR_VC_HARDERR_S 10
4421 
4422 // Field: [9] VC_INTERR
4423 //
4424 // Debug trap on a fault occurring during an exception entry or return
4425 // sequence. Ignored when DHCSR.C_DEBUGEN is cleared.
4426 #define CPU_SCS_DEMCR_VC_INTERR 0x00000200
4427 #define CPU_SCS_DEMCR_VC_INTERR_BITN 9
4428 #define CPU_SCS_DEMCR_VC_INTERR_M 0x00000200
4429 #define CPU_SCS_DEMCR_VC_INTERR_S 9
4430 
4431 // Field: [8] VC_BUSERR
4432 //
4433 // Debug Trap on normal Bus error. Ignored when DHCSR.C_DEBUGEN is cleared.
4434 #define CPU_SCS_DEMCR_VC_BUSERR 0x00000100
4435 #define CPU_SCS_DEMCR_VC_BUSERR_BITN 8
4436 #define CPU_SCS_DEMCR_VC_BUSERR_M 0x00000100
4437 #define CPU_SCS_DEMCR_VC_BUSERR_S 8
4438 
4439 // Field: [7] VC_STATERR
4440 //
4441 // Debug trap on Usage Fault state errors. Ignored when DHCSR.C_DEBUGEN is
4442 // cleared.
4443 #define CPU_SCS_DEMCR_VC_STATERR 0x00000080
4444 #define CPU_SCS_DEMCR_VC_STATERR_BITN 7
4445 #define CPU_SCS_DEMCR_VC_STATERR_M 0x00000080
4446 #define CPU_SCS_DEMCR_VC_STATERR_S 7
4447 
4448 // Field: [6] VC_CHKERR
4449 //
4450 // Debug trap on Usage Fault enabled checking errors. Ignored when
4451 // DHCSR.C_DEBUGEN is cleared.
4452 #define CPU_SCS_DEMCR_VC_CHKERR 0x00000040
4453 #define CPU_SCS_DEMCR_VC_CHKERR_BITN 6
4454 #define CPU_SCS_DEMCR_VC_CHKERR_M 0x00000040
4455 #define CPU_SCS_DEMCR_VC_CHKERR_S 6
4456 
4457 // Field: [5] VC_NOCPERR
4458 //
4459 // Debug trap on a UsageFault access to a Coprocessor. Ignored when
4460 // DHCSR.C_DEBUGEN is cleared.
4461 #define CPU_SCS_DEMCR_VC_NOCPERR 0x00000020
4462 #define CPU_SCS_DEMCR_VC_NOCPERR_BITN 5
4463 #define CPU_SCS_DEMCR_VC_NOCPERR_M 0x00000020
4464 #define CPU_SCS_DEMCR_VC_NOCPERR_S 5
4465 
4466 // Field: [4] VC_MMERR
4467 //
4468 // Debug trap on Memory Management faults. Ignored when DHCSR.C_DEBUGEN is
4469 // cleared.
4470 #define CPU_SCS_DEMCR_VC_MMERR 0x00000010
4471 #define CPU_SCS_DEMCR_VC_MMERR_BITN 4
4472 #define CPU_SCS_DEMCR_VC_MMERR_M 0x00000010
4473 #define CPU_SCS_DEMCR_VC_MMERR_S 4
4474 
4475 // Field: [0] VC_CORERESET
4476 //
4477 // Reset Vector Catch. Halt running system if Core reset occurs. Ignored when
4478 // DHCSR.C_DEBUGEN is cleared.
4479 #define CPU_SCS_DEMCR_VC_CORERESET 0x00000001
4480 #define CPU_SCS_DEMCR_VC_CORERESET_BITN 0
4481 #define CPU_SCS_DEMCR_VC_CORERESET_M 0x00000001
4482 #define CPU_SCS_DEMCR_VC_CORERESET_S 0
4483 
4484 //*****************************************************************************
4485 //
4486 // Register: CPU_SCS_O_STIR
4487 //
4488 //*****************************************************************************
4489 // Field: [8:0] INTID
4490 //
4491 // Interrupt ID field. Writing a value to this bit-field is the same as
4492 // manually pending an interrupt by setting the corresponding interrupt bit in
4493 // an Interrupt Set Pending Register in NVIC_ISPR0 or NVIC_ISPR1.
4494 #define CPU_SCS_STIR_INTID_W 9
4495 #define CPU_SCS_STIR_INTID_M 0x000001FF
4496 #define CPU_SCS_STIR_INTID_S 0
4497 
4498 //*****************************************************************************
4499 //
4500 // Register: CPU_SCS_O_FPCCR
4501 //
4502 //*****************************************************************************
4503 // Field: [31] ASPEN
4504 //
4505 // Automatic State Preservation enable.
4506 // When this bit is set is will cause bit [2] of the Special CONTROL register
4507 // to be set (FPCA) on execution of a floating point instruction which results
4508 // in the floating point state automatically being preserved on exception
4509 // entry.
4510 #define CPU_SCS_FPCCR_ASPEN 0x80000000
4511 #define CPU_SCS_FPCCR_ASPEN_BITN 31
4512 #define CPU_SCS_FPCCR_ASPEN_M 0x80000000
4513 #define CPU_SCS_FPCCR_ASPEN_S 31
4514 
4515 // Field: [30] LSPEN
4516 //
4517 // Lazy State Preservation enable.
4518 // Lazy state preservation is when the processor performs a context save, space
4519 // on the stack is reserved for the floating point state but it is not stacked
4520 // until the new context performs a floating point operation.
4521 // 0: Disable automatic lazy state preservation for floating-point context.
4522 // 1: Enable automatic lazy state preservation for floating-point context.
4523 #define CPU_SCS_FPCCR_LSPEN 0x40000000
4524 #define CPU_SCS_FPCCR_LSPEN_BITN 30
4525 #define CPU_SCS_FPCCR_LSPEN_M 0x40000000
4526 #define CPU_SCS_FPCCR_LSPEN_S 30
4527 
4528 // Field: [8] MONRDY
4529 //
4530 // Indicates whether the the software executing when the processor allocated
4531 // the FP stack frame was able to set the DebugMonitor exception to pending.
4532 // 0: DebugMonitor is disabled or priority did not permit setting
4533 // DEMCR.MON_PEND when the floating-point stack frame was allocated.
4534 // 1: DebugMonitor is enabled and priority permits setting DEMCR.MON_PEND when
4535 // the floating-point stack frame was allocated.
4536 #define CPU_SCS_FPCCR_MONRDY 0x00000100
4537 #define CPU_SCS_FPCCR_MONRDY_BITN 8
4538 #define CPU_SCS_FPCCR_MONRDY_M 0x00000100
4539 #define CPU_SCS_FPCCR_MONRDY_S 8
4540 
4541 // Field: [6] BFRDY
4542 //
4543 // Indicates whether the software executing when the processor allocated the FP
4544 // stack frame was able to set the BusFault exception to pending.
4545 // 0: BusFault is disabled or priority did not permit setting the BusFault
4546 // handler to the pending state when the floating-point stack frame was
4547 // allocated.
4548 // 1: BusFault is enabled and priority permitted setting the BusFault handler
4549 // to the pending state when the floating-point stack frame was allocated.
4550 #define CPU_SCS_FPCCR_BFRDY 0x00000040
4551 #define CPU_SCS_FPCCR_BFRDY_BITN 6
4552 #define CPU_SCS_FPCCR_BFRDY_M 0x00000040
4553 #define CPU_SCS_FPCCR_BFRDY_S 6
4554 
4555 // Field: [5] MMRDY
4556 //
4557 // Indicates whether the software executing when the processor allocated the FP
4558 // stack frame was able to set the MemManage exception to pending.
4559 // 0: MemManage is disabled or priority did not permit setting the MemManage
4560 // handler to the pending state when the floating-point stack frame was
4561 // allocated.
4562 // 1: MemManage is enabled and priority permitted setting the MemManage handler
4563 // to the pending state when the floating-point stack frame was allocated.
4564 #define CPU_SCS_FPCCR_MMRDY 0x00000020
4565 #define CPU_SCS_FPCCR_MMRDY_BITN 5
4566 #define CPU_SCS_FPCCR_MMRDY_M 0x00000020
4567 #define CPU_SCS_FPCCR_MMRDY_S 5
4568 
4569 // Field: [4] HFRDY
4570 //
4571 // Indicates whether the software executing when the processor allocated the FP
4572 // stack frame was able to set the HardFault exception to pending.
4573 // 0: Priority did not permit setting the HardFault handler to the pending
4574 // state when the floating-point stack frame was allocated.
4575 // 1: Priority permitted setting the HardFault handler to the pending state
4576 // when the floating-point stack frame was allocated.
4577 #define CPU_SCS_FPCCR_HFRDY 0x00000010
4578 #define CPU_SCS_FPCCR_HFRDY_BITN 4
4579 #define CPU_SCS_FPCCR_HFRDY_M 0x00000010
4580 #define CPU_SCS_FPCCR_HFRDY_S 4
4581 
4582 // Field: [3] THREAD
4583 //
4584 // Indicates the processor mode was Thread when it allocated the FP stack
4585 // frame.
4586 // 0: Mode was not Thread Mode when the floating-point stack frame was
4587 // allocated.
4588 // 1: Mode was Thread Mode when the floating-point stack frame was allocated.
4589 #define CPU_SCS_FPCCR_THREAD 0x00000008
4590 #define CPU_SCS_FPCCR_THREAD_BITN 3
4591 #define CPU_SCS_FPCCR_THREAD_M 0x00000008
4592 #define CPU_SCS_FPCCR_THREAD_S 3
4593 
4594 // Field: [1] USER
4595 //
4596 // Indicates the privilege level of the software executing was User
4597 // (Unpriviledged) when the processor allocated the FP stack frame:
4598 // 0: Privilege level was not user when the floating-point stack frame was
4599 // allocated.
4600 // 1: Privilege level was user when the floating-point stack frame was
4601 // allocated.
4602 #define CPU_SCS_FPCCR_USER 0x00000002
4603 #define CPU_SCS_FPCCR_USER_BITN 1
4604 #define CPU_SCS_FPCCR_USER_M 0x00000002
4605 #define CPU_SCS_FPCCR_USER_S 1
4606 
4607 // Field: [0] LSPACT
4608 //
4609 // Indicates whether Lazy preservation of the FP state is active:
4610 // 0: Lazy state preservation is not active.
4611 // 1: Lazy state preservation is active. floating-point stack frame has been
4612 // allocated but saving state to it has been deferred.
4613 #define CPU_SCS_FPCCR_LSPACT 0x00000001
4614 #define CPU_SCS_FPCCR_LSPACT_BITN 0
4615 #define CPU_SCS_FPCCR_LSPACT_M 0x00000001
4616 #define CPU_SCS_FPCCR_LSPACT_S 0
4617 
4618 //*****************************************************************************
4619 //
4620 // Register: CPU_SCS_O_FPCAR
4621 //
4622 //*****************************************************************************
4623 // Field: [31:2] ADDRESS
4624 //
4625 // Holds the (double-word-aligned) location of the unpopulated floating-point
4626 // register space allocated on an exception stack frame.
4627 #define CPU_SCS_FPCAR_ADDRESS_W 30
4628 #define CPU_SCS_FPCAR_ADDRESS_M 0xFFFFFFFC
4629 #define CPU_SCS_FPCAR_ADDRESS_S 2
4630 
4631 //*****************************************************************************
4632 //
4633 // Register: CPU_SCS_O_FPDSCR
4634 //
4635 //*****************************************************************************
4636 // Field: [26] AHP
4637 //
4638 // Default value for Alternative Half Precision bit. (If this bit is set to 1
4639 // then Alternative half-precision format is selected).
4640 #define CPU_SCS_FPDSCR_AHP 0x04000000
4641 #define CPU_SCS_FPDSCR_AHP_BITN 26
4642 #define CPU_SCS_FPDSCR_AHP_M 0x04000000
4643 #define CPU_SCS_FPDSCR_AHP_S 26
4644 
4645 // Field: [25] DN
4646 //
4647 // Default value for Default NaN mode bit. (If this bit is set to 1 then any
4648 // operation involving one or more NaNs returns the Default NaN).
4649 #define CPU_SCS_FPDSCR_DN 0x02000000
4650 #define CPU_SCS_FPDSCR_DN_BITN 25
4651 #define CPU_SCS_FPDSCR_DN_M 0x02000000
4652 #define CPU_SCS_FPDSCR_DN_S 25
4653 
4654 // Field: [24] FZ
4655 //
4656 // Default value for Flush-to-Zero mode bit. (If this bit is set to 1 then
4657 // Flush-to-zero mode is enabled).
4658 #define CPU_SCS_FPDSCR_FZ 0x01000000
4659 #define CPU_SCS_FPDSCR_FZ_BITN 24
4660 #define CPU_SCS_FPDSCR_FZ_M 0x01000000
4661 #define CPU_SCS_FPDSCR_FZ_S 24
4662 
4663 // Field: [23:22] RMODE
4664 //
4665 // Default value for Rounding Mode control field. (The encoding for this field
4666 // is:
4667 // 0b00 Round to Nearest (RN) mode
4668 // 0b01 Round towards Plus Infinity (RP) mode
4669 // 0b10 Round towards Minus Infinity (RM) mode
4670 // 0b11 Round towards Zero (RZ) mode.
4671 // The specified rounding mode is used by almost all floating-point
4672 // instructions).
4673 #define CPU_SCS_FPDSCR_RMODE_W 2
4674 #define CPU_SCS_FPDSCR_RMODE_M 0x00C00000
4675 #define CPU_SCS_FPDSCR_RMODE_S 22
4676 
4677 //*****************************************************************************
4678 //
4679 // Register: CPU_SCS_O_MVFR0
4680 //
4681 //*****************************************************************************
4682 // Field: [31:28] FP_ROUNDING_MODES
4683 //
4684 // Indicates the rounding modes supported by the FP floating-point hardware.
4685 // The value of this field is: 0b0001 - all rounding modes supported.
4686 #define CPU_SCS_MVFR0_FP_ROUNDING_MODES_W 4
4687 #define CPU_SCS_MVFR0_FP_ROUNDING_MODES_M 0xF0000000
4688 #define CPU_SCS_MVFR0_FP_ROUNDING_MODES_S 28
4689 
4690 // Field: [27:24] SHORT_VECTORS
4691 //
4692 // Indicates the hardware support for FP short vectors. The value of this field
4693 // is: 0b0000 - not supported.
4694 #define CPU_SCS_MVFR0_SHORT_VECTORS_W 4
4695 #define CPU_SCS_MVFR0_SHORT_VECTORS_M 0x0F000000
4696 #define CPU_SCS_MVFR0_SHORT_VECTORS_S 24
4697 
4698 // Field: [23:20] SQUARE_ROOT
4699 //
4700 // Indicates the hardware support for FP square root operations. The value of
4701 // this field is: 0b0001 - supported.
4702 #define CPU_SCS_MVFR0_SQUARE_ROOT_W 4
4703 #define CPU_SCS_MVFR0_SQUARE_ROOT_M 0x00F00000
4704 #define CPU_SCS_MVFR0_SQUARE_ROOT_S 20
4705 
4706 // Field: [19:16] DIVIDE
4707 //
4708 // Indicates the hardware support for FP divide operations. The value of this
4709 // field is: 0b0001 - supported.
4710 #define CPU_SCS_MVFR0_DIVIDE_W 4
4711 #define CPU_SCS_MVFR0_DIVIDE_M 0x000F0000
4712 #define CPU_SCS_MVFR0_DIVIDE_S 16
4713 
4714 // Field: [15:12] FP_EXCEPTION_TRAPPING
4715 //
4716 // Indicates whether the FP hardware implementation supports exception
4717 // trapping. The value of this field is: 0b0000 - not supported.
4718 #define CPU_SCS_MVFR0_FP_EXCEPTION_TRAPPING_W 4
4719 #define CPU_SCS_MVFR0_FP_EXCEPTION_TRAPPING_M 0x0000F000
4720 #define CPU_SCS_MVFR0_FP_EXCEPTION_TRAPPING_S 12
4721 
4722 // Field: [11:8] DOUBLE_PRECISION
4723 //
4724 // Indicates the hardware support for FP double-precision operations. The value
4725 // of this field is: 0b0000 - not supported.
4726 #define CPU_SCS_MVFR0_DOUBLE_PRECISION_W 4
4727 #define CPU_SCS_MVFR0_DOUBLE_PRECISION_M 0x00000F00
4728 #define CPU_SCS_MVFR0_DOUBLE_PRECISION_S 8
4729 
4730 // Field: [7:4] SINGLE_PRECISION
4731 //
4732 // Indicates the hardware support for FP single-precision operations. The value
4733 // of this field is: 0b0010 - supported.
4734 #define CPU_SCS_MVFR0_SINGLE_PRECISION_W 4
4735 #define CPU_SCS_MVFR0_SINGLE_PRECISION_M 0x000000F0
4736 #define CPU_SCS_MVFR0_SINGLE_PRECISION_S 4
4737 
4738 // Field: [3:0] A_SIMD
4739 //
4740 // Indicates the size of the FP register bank. The value of this field is:
4741 // 0b0001 - supported, 16 x 64-bit registers.
4742 #define CPU_SCS_MVFR0_A_SIMD_W 4
4743 #define CPU_SCS_MVFR0_A_SIMD_M 0x0000000F
4744 #define CPU_SCS_MVFR0_A_SIMD_S 0
4745 
4746 //*****************************************************************************
4747 //
4748 // Register: CPU_SCS_O_MVFR1
4749 //
4750 //*****************************************************************************
4751 // Field: [31:28] FP_FUSED_MAC
4752 //
4753 // Indicates whether the FP supports fused multiply accumulate operations. The
4754 // value of this field is: 0b0001 - supported.
4755 #define CPU_SCS_MVFR1_FP_FUSED_MAC_W 4
4756 #define CPU_SCS_MVFR1_FP_FUSED_MAC_M 0xF0000000
4757 #define CPU_SCS_MVFR1_FP_FUSED_MAC_S 28
4758 
4759 // Field: [27:24] FP_HPFP
4760 //
4761 // Indicates whether the FP supports half-precision floating-point conversion
4762 // operations. The value of this field is: 0b0001 - supported.
4763 #define CPU_SCS_MVFR1_FP_HPFP_W 4
4764 #define CPU_SCS_MVFR1_FP_HPFP_M 0x0F000000
4765 #define CPU_SCS_MVFR1_FP_HPFP_S 24
4766 
4767 // Field: [7:4] D_NAN_MODE
4768 //
4769 // Indicates whether the FP hardware implementation supports only the Default
4770 // NaN mode. The value of this field is: 0b0001 - hardware supports propagation
4771 // of NaN values.
4772 #define CPU_SCS_MVFR1_D_NAN_MODE_W 4
4773 #define CPU_SCS_MVFR1_D_NAN_MODE_M 0x000000F0
4774 #define CPU_SCS_MVFR1_D_NAN_MODE_S 4
4775 
4776 // Field: [3:0] FTZ_MODE
4777 //
4778 // Indicates whether the FP hardware implementation supports only the
4779 // Flush-to-Zero mode of operation. The value of this field is: 0b0001 -
4780 // hardware supports full denormalized number arithmetic.
4781 #define CPU_SCS_MVFR1_FTZ_MODE_W 4
4782 #define CPU_SCS_MVFR1_FTZ_MODE_M 0x0000000F
4783 #define CPU_SCS_MVFR1_FTZ_MODE_S 0
4784 
4785 
4786 #endif // __CPU_SCS__
© Copyright 1995-2021, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale