2 \page RegMap_pg Register Mapping
\r
6 The table below associates some common register names used in CMSIS to the register names
\r
7 used in Technical Reference Manuals.
\r
9 <table class="cmtable" summary="Register Mapping">
\r
11 <th>CMSIS Register Name</th>
\r
12 <th>Cortex-M3, Cortex-M4, and Cortex-M7</th>
\r
13 <th>Cortex-M0 and Cortex-M0+</th>
\r
14 <th>Register Name</th>
\r
17 <th colspan="4">Nested Vectored Interrupt Controller (NVIC) Register Access</th>
\r
20 <td>NVIC->ISER[]</td>
\r
21 <td>NVIC_ISER0..7</td>
\r
23 <td>Interrupt Set-Enable Registers</td>
\r
26 <td>NVIC->ICER[]</td>
\r
27 <td>NVIC_ICER0..7</td>
\r
29 <td>Interrupt Clear-Enable Registers</td>
\r
32 <td>NVIC->ISPR[]</td>
\r
33 <td>NVIC_ISPR0..7</td>
\r
35 <td>Interrupt Set-Pending Registers</td>
\r
38 <td>NVIC->ICPR[]</td>
\r
39 <td>NVIC_ICPR0..7</td>
\r
41 <td>Interrupt Clear-Pending Registers</td>
\r
44 <td>NVIC->IABR[]</td>
\r
45 <td>NVIC_IABR0..7</td>
\r
47 <td>Interrupt Active Bit Register</td>
\r
51 <td>NVIC_IPR0..59</td>
\r
53 <td>Interrupt Priority Register</td>
\r
59 <td>Software Triggered Interrupt Register</td>
\r
62 <th colspan="4">System Control Block (SCB) Register Access</th>
\r
68 <td>CPUID Base Register</td>
\r
74 <td>Interrupt Control and State Register</td>
\r
80 <td>Vector Table Offset Register</td>
\r
86 <td>Application Interrupt and Reset Control Register</td>
\r
92 <td>System Control Register</td>
\r
98 <td>Configuration and Control Register</td>
\r
101 <td>SCB->SHP[]</td>
\r
104 <td>System Handler Priority Registers</td>
\r
107 <td>SCB->SHCSR</td>
\r
110 <td>System Handler Control and State Register</td>
\r
116 <td>Configurable Fault Status Registers</td>
\r
122 <td>HardFault Status Register</td>
\r
128 <td>Debug Fault Status Register</td>
\r
131 <td>SCB->MMFAR</td>
\r
134 <td>MemManage Fault Address Register</td>
\r
140 <td>BusFault Address Register</td>
\r
146 <td>Auxiliary Fault Status Register</td>
\r
149 <td>SCB->PFR[]</td>
\r
150 <td>ID_PFR0..1</td>
\r
152 <td>Processor Feature Registers</td>
\r
158 <td>Debug Feature Register</td>
\r
164 <td>Auxiliary Feature Register</td>
\r
167 <td>SCB->MMFR[]</td>
\r
168 <td>ID_MMFR0..3</td>
\r
170 <td>Memory Model Feature Registers</td>
\r
173 <td>SCB->ISAR[]</td>
\r
174 <td>ID_ISAR0..4</td>
\r
176 <td>Instruction Set Attributes Registers</td>
\r
179 <td>SCB->CPACR</td>
\r
182 <td>Coprocessor Access Control Register</td>
\r
185 <th colspan="4">System Control and ID Registers not in the SCB (SCnSCB) Register Access</th>
\r
188 <td>SCnSCB->ICTR</td>
\r
191 <td>Interrupt Controller Type Register</td>
\r
194 <td>SCnSCB->ACTLR</td>
\r
197 <td>Auxiliary Control Register</td>
\r
200 <th colspan="4">System Timer (SysTick) Control and Status Register Access</th>
\r
203 <td>SysTick->CTRL</td>
\r
206 <td>SysTick Control and Status Register</td>
\r
209 <td>SysTick->LOAD</td>
\r
212 <td>SysTick Reload Value Register</td>
\r
215 <td>SysTick->VAL</td>
\r
218 <td>SysTick Current Value Register</td>
\r
221 <td>SysTick->CALIB</td>
\r
223 <td>SYST_CALIB</td>
\r
224 <td>SysTick Calibaration Value Register</td>
\r
227 <th colspan="4">Data Watchpoint and Trace (DWT) Register Access</th>
\r
233 <td>Control Register</td>
\r
236 <td>DWT->CYCCNT</td>
\r
237 <td>DWT_CYCCNT</td>
\r
239 <td>Cycle Count Register</td>
\r
242 <td>DWT->CPICNT</td>
\r
243 <td>DWT_CPICNT</td>
\r
245 <td>CPI Count Register</td>
\r
248 <td>DWT->EXCCNT</td>
\r
249 <td>DWT_EXCCNT</td>
\r
251 <td>Exception Overhead Count Register</td>
\r
254 <td>DWT->SLEEPCNT</td>
\r
255 <td>DWT_SLEEPCNT</td>
\r
257 <td>Sleep Count Register</td>
\r
260 <td>DWT->LSUCNT</td>
\r
261 <td>DWT_LSUCNT</td>
\r
263 <td>LSU Count Register</td>
\r
266 <td>DWT->FOLDCNT</td>
\r
267 <td>DWT_FOLDCNT</td>
\r
269 <td>Folded-instruction Count Register</td>
\r
275 <td>Program Counter Sample Register</td>
\r
278 <td>DWT->COMP0..3</td>
\r
279 <td>DWT_COMP0..3</td>
\r
281 <td>Comparator Register 0..3</td>
\r
284 <td>DWT->MASK0..3</td>
\r
285 <td>DWT_MASK0..3</td>
\r
287 <td>Mask Register 0..3</td>
\r
290 <td>DWT->FUNCTION0..3</td>
\r
291 <td>DWT_FUNCTION0..3</td>
\r
293 <td>Function Register 0..3</td>
\r
296 <th colspan="4">Instrumentation Trace Macrocell (ITM) Register Access</th>
\r
299 <td>ITM->PORT[]</td>
\r
300 <td>ITM_STIM0..31</td>
\r
302 <td>Stimulus Port Registers</td>
\r
308 <td>Trace Enable Register</td>
\r
314 <td>ITM Trace Privilege Register</td>
\r
320 <td>Trace Control Register</td>
\r
323 <th colspan="4">Trace Port Interface (TPIU) Register Access</th>
\r
326 <td>TPI->SSPSR</td>
\r
329 <td>Supported Parallel Port Size Register</td>
\r
332 <td>TPI->CSPSR</td>
\r
333 <td>TPIU_CSPSR</td>
\r
335 <td>Current Parallel Port Size Register</td>
\r
341 <td>Asynchronous Clock Prescaler Register</td>
\r
347 <td>Selected Pin Protocol Register</td>
\r
353 <td>Formatter and Flush Status Register</td>
\r
359 <td>Formatter and Flush Control Register</td>
\r
365 <td>Formatter Synchronization Counter Register</td>
\r
368 <td>TPI->TRIGGER</td>
\r
374 <td>TPI->FIFO0</td>
\r
375 <td>FIFO data 0</td>
\r
377 <td>Integration ETM Data</td>
\r
380 <td>TPI->ITATBCTR2</td>
\r
386 <td>TPI->ITATBCTR0</td>
\r
392 <td>TPI->FIFO1</td>
\r
393 <td>FIFO data 1</td>
\r
395 <td>Integration ITM Data</td>
\r
398 <td>TPI->ITCTRL</td>
\r
399 <td>TPIU_ITCTRL</td>
\r
401 <td>Integration Mode Control</td>
\r
404 <td>TPI->CLAIMSET</td>
\r
407 <td>Claim tag set</td>
\r
410 <td>TPI->CLAIMCLR</td>
\r
413 <td>Claim tag clear</td>
\r
416 <td>TPI->DEVID</td>
\r
417 <td>TPIU_DEVID</td>
\r
419 <td>TPIU_DEVID</td>
\r
422 <td>TPI->DEVTYPE</td>
\r
423 <td>TPIU_DEVTYPE</td>
\r
425 <td>TPIU_DEVTYPE</td>
\r
428 <th colspan="4">Memory Protection Unit (MPU) Register Access</th>
\r
434 <td>MPU Type Register</td>
\r
440 <td>MPU Control Register</td>
\r
446 <td>MPU Region Number Register</td>
\r
452 <td>MPU Region Base Address Register</td>
\r
458 <td>MPU Region Attribute and Size Register</td>
\r
461 <td>MPU->RBAR_A1..3</td>
\r
462 <td>MPU_RBAR_A1..3</td>
\r
464 <td>MPU alias Register</td>
\r
467 <td>MPU->RSAR_A1..3</td>
\r
468 <td>MPU_RSAR_A1..3</td>
\r
470 <td>MPU alias Register</td>
\r
473 <th colspan="4">Floating Point Unit (FPU) Register Access [only Cortex-M4 and Cortex-M7 both with FPU]</th>
\r
476 <td>FPU->FPCCR</td>
\r
479 <td>FP Context Control Register</td>
\r
482 <td>FPU->FPCAR</td>
\r
485 <td>FP Context Address Register</td>
\r
488 <td>FPU->FPDSCR</td>
\r
491 <td>FP Default Status Control Register</td>
\r
494 <td>FPU->MVFR0..1</td>
\r
497 <td>Media and VFP Feature Registers</td>
\r