lpcware

NMI vs NVIC

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by Muis on Mon Dec 10 04:16:22 MST 2012
When I want to create a timer interrupt, I can do it the usual way:

NVIC_EnableIRQ(CT16B1_IRQn);

Or through NMI:

NMI_Init( CT16B1_IRQn );

Can anyone explain the difference in behaviour between NMI interrupts and NVIC interrupts? Why should I choose one above the other?

Outcomes