Skip to main content
Tobe
Senior III
September 19, 2024
Solved

NVIC IABR - Information about what interrupt is active cant be found

  • September 19, 2024
  • 1 reply
  • 2322 views

Where can i get the information about which interrupt is activated for each of those bits? How can such information be so hard to find? Cant find it on the ARM website! Just the information, that it shows activated interrupts, which is essentially useless... *facepalm*

Best answer by TDK

Easier to get this information from the VECTACTIVE field in SCB->ICSR.

LSB of IABR0 corresponds to "NVIC position" 0 which is WWDG1 here. Goes up from there, 32 per register.

13 of them don't have "NVIC position" values because they're system interrupts and not reported anywhere in IABR.

1 reply

TDK
September 19, 2024

Interrupts past the first 16 are vendor-defined. They are the in the reference manual of the relevant chip. For example:

TDK_0-1726771357865.png

 

"If you feel a post has answered your question, please click ""Accept as Solution""."
Tobe
TobeAuthor
Senior III
September 19, 2024

I see 13 without a NVIC position. I still dont know which bit corresponds to which interrupt.

Tesla DeLorean
Guru
September 19, 2024

Enumerate the entire table..

Architecturally:

256 bits on IABR [0..7]

16 System Handler

240 IRQHandlers (assigned by implementer, so STMicro for STM32's)

16 + 240 = 256

Divider the Address in Vector Table by 4

Check IABR0.15 is asserted whilst in SysTick_Handler

Check IABR0.26 is asserted whilst in EXTI4_IRQHandler

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..