Need help in understanding NVIC

Hi,

While using statement like;
NVIC_SetPriority(I2C_IRQn,Set_priority);

What is max & min value for Set_priority. Can two interrupts have same priority.

Also when I am in some ISR, how to diasable all other interrupts while servicing that ISR.

Like in 8 & 16 bit we have GIE bit. What the equivalent function in cortex-M3

More questions in this forum