AnsweredAssumed Answered

__declspec(interrupt) syntax error

Question asked by Jaroslav Brazdil on Feb 26, 2013
Latest reply on Mar 20, 2013 by Monica Arvizu

Hi everybody,

 

I'm using codewarrior 10.3  for my bareboard project with Kinetis K20.


I want to use __declspec(interrupt)  to specify interrupt function.  (I need to save all user registry).


When I use :


__declspec(interrupt) void test_int(void)

{

}

or

__interrupt__ void test_int3(void)

{

}

 

 


an syntax error occure. Can enybody help me, please?


 

Thank a lot!!!

 

Outcomes