AnsweredAssumed Answered

k20 global interrupt

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

Hi,

I have a project running in KDS. When I use

 

__enable_irq();

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?

 

Regards,

Koorosh Hajiani

Outcomes