AnsweredAssumed Answered

How to generate software interrupts and what about CMSIS?

Question asked by Oskar Örnvall on Dec 30, 2011
Latest reply on Jan 2, 2012 by Oskar Örnvall

Hi, I need to generate software interrupts and I'm using the K60 twr board.

I have previously done like this:

 

#include "MK60N512MD100.h"
#include "core_cm4.h"

 

NVIC_EnableIRQ((IRQn_Type) 94); //Enable Software interrupts

 

NVIC->STIR = 94; //Genarate the interrupt. 

 

 

How do I do this when using MQX?, the problem is that the include files conflicts with the MQX libraries.

 

Outcomes