From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Platform:ARM Cortex-M" |
|---|
| claim | "The NVIC is at 0xE000E100: ISER +0x000, ICER +0x080, ISPR +0x100, ICPR +0x180, IABR +0x200 (8 words each) and IPR +0x300 (240 priority bytes, one per interrupt)." |
|---|
| scope | | level | "platform" |
|---|
| applies_to | "Armv7-M Cortex-M3/M4/M7; M0/M0+ have fewer words" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "NVIC_Type" |
|---|
| size | "0xE04" |
|---|
| address | | kind | "hardware" |
|---|
| value | "0xE000E100" |
|---|
|
|---|
| fields | | offset | "0x0" |
|---|
| size | 32 |
|---|
| type | "uint32_t[8]" |
|---|
| name | "ISER" |
|---|
| notes | "set enable" |
|---|
|
| offset | "0x80" |
|---|
| size | 32 |
|---|
| type | "uint32_t[8]" |
|---|
| name | "ICER" |
|---|
| notes | "clear enable" |
|---|
|
| offset | "0x100" |
|---|
| size | 32 |
|---|
| type | "uint32_t[8]" |
|---|
| name | "ISPR" |
|---|
| notes | "set pending" |
|---|
|
| offset | "0x180" |
|---|
| size | 32 |
|---|
| type | "uint32_t[8]" |
|---|
| name | "ICPR" |
|---|
| notes | "clear pending" |
|---|
|
| offset | "0x200" |
|---|
| size | 32 |
|---|
| type | "uint32_t[8]" |
|---|
| name | "IABR" |
|---|
| notes | "active bit" |
|---|
|
| offset | "0x300" |
|---|
| size | 240 |
|---|
| type | "uint8_t[240]" |
|---|
| name | "IPR" |
|---|
| notes | "priority, upper bits used" |
|---|
|
| offset | "0xE00" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "STIR" |
|---|
| notes | "software trigger interrupt, write-only" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "NVIC_BASE = SCS_BASE + 0x100; NVIC_Type" |
|---|
| repo | "https://github.com/ARM-software/CMSIS_6" |
|---|
| commit | "d4a772e65df07a79ffe69c169a72d9bde4e5e7a6" |
|---|
| path | "CMSIS/Core/Include/core_cm4.h" |
|---|
| lines | "419-432" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "NVIC registers" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T18:23:45.217Z" |
|---|
| verifications | |
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T01:30:09.209Z" |
|---|
| summary | "Struct size was wrong: NVIC_Type in CMSIS_6 core_cm4.h ends with STIR at +0xE00, so sizeof is 0xE04, not 0xE00. Added STIR; reserved gaps are ISER..IABR stride 0x80, IABR to IPR 0x100." |
|---|
| changed | |
|---|
|
|
|---|