Does anyone have any information or resources regarding the NVIC (Nested Vectored Interrupt Controller) in the STM32? I've gone through the Keil USART IRQ example, but it simply configures it on one line and doesn't elaborate:
NVIC->Enable[1] |= (1 << (USART1_IRQChannel & 0x1F)); // enable interrupt
Keil STM32 USART (interrupt mode) Example: keil.com/.../359.asp
There are only 3 pages in the STM32 Reference Manual covering the NVIC (chapter 6), none of which really explain how it works: STM32 Reference Manual (PDF, 8MB) www.st.com/.../13902.pdf
Thanks...
Read section 6.1. It states....
All interrupts including the core exceptions are managed by the NVIC. For more information on exceptions and NVIC programming see Chap 5 Exceptions & Chap 8 Nested Vectored Interrupt Controller of the ARM Cortex-M3 Technical Reference Manual.
This is the manual that you want.
infocenter.arm.com/.../DDI0337E_cortex_m3_r1p1_trm.pdf
Yeah, I've gone through that as well. However, implementation can be vendor-specific. I was looking for more thorough examples of it's usage with the STM32.
I just found the firmware library documentation, which should help: www.st.com/.../familiesdocs-110.html