AnsweredAssumed Answered

_int_install_kernel_isr : Save/restore context

Question asked by arnogir on Dec 14, 2015
Latest reply on Jan 27, 2016 by Carlos_Musich

Hello,

 

I'm working on a K60 with MQX 4.2 and compile under KDS 3.0.0

 

I'm using _int_install_kernel_isr to have a direct interrupt and bypass MQX.

 

In reference manual, it is indicated we must save/restore register..

 

Is my interrupt function must be declared in "interrupt"?

By which way?

 

I tested _Interrupt void MyIt(void)

interrupt void MyIt

...

But nothing work.

 

Have you an idea of prefix to declare my Interrupt function? (By this way I hop the compiler will save register context and return with "rti" instead of "rts" instruction...

 

Outcomes