lpcware

Stop all other interrupt flags while servicing one interrupt

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by Deepak Bansal on Wed Oct 03 02:11:08 MST 2012
Hi,



1. How to Stop all other interrupt flags while servicing one interrupt request & enable them after interrupt get serviced.

Like is there any Global Interrupt Enable bit or something.

2. Also while setting
NVIC_SetPriority(CT16B0_IRQn,0),
what should be min & max value of priority. Is it 0 to 31.
But LPC1317 datasheet says it have
"[B]8 programmable interrupt priority levels with hardware priority level masking[/B]"

Does that mean it can vary from 0 to 7.

3. Setting two priority to same value, will create problem, how??///

Outcomes