NVIC (Nested Vectored Interrupt Controller) and priority configuration

Document created by HAMDI Mustapha on Apr 16, 2017Last modified by HAMDI Mustapha on Apr 20, 2017
Version 11Show Document
  • View in full screen mode

One of the key features in stm32 microcontroller is the interrupt system. The Cortex M4 have a sophisticated interrupt system called the Nested Vectored Interrupt Controller (nvic). 

The nested vector interrupt controller NVIC includes the following features:

  • 82 maskable interrupt channels for STM32F405xx/07xx and STM32F415xx/17x
  • 16 programmable priority levels (4 bits of interrupt priority are used)
  • low-latency exception and interrupt handling
  • power management control

  • implementation of system control registers


The purpose of the attached document is to outline the principles use of NVIC system and priority configuration. 


Update1: Priority project code added : EXTI0-TIMER priority 

Update2: Timer project code added, pdf updated