9 years, 9 months ago.

how to set priority for interrupts?

Hello Sir/Madam,

i want to set priority for two interrupts on I/O pins.

could you please help me regarding this.

Question relating to:

Rapid Prototyping for general microcontroller applications, Ethernet, USB and 32-bit ARM® Cortex™-M3 based designs

1 Answer

9 years, 9 months ago.

Hello,

please don't spam the question's thread, thanks.

You need to find out the the interrupt vector number, usually placed in the mcu header file. The declaration for the function you are looking for:

__STATIC_INLINE void NVIC_SetPriority(IRQn_Type IRQn, uint32_t priority);

Regards,
0xc0170

Accepted Answer

u

posted by clarisse novello 01 Jul 2014