AnsweredAssumed Answered

k20 global interrupt

Question asked by Koorosh Hajiani on May 27, 2016
Latest reply on May 29, 2016 by Daniel Chen


I have a project running in KDS. When I use



to enable the global interrupts I keep getting error(undefined reference to it).

Then I used


asm(" CPSIE i");  and it complains about "asm"

My goal is to enable the pin interrupt on port B and I believe I know how to do that however before doing that I need to enable the global interrupts.

the target is a K20 production board.

Any ideas?



Koorosh Hajiani