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