This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Configuring interrupts in KL25Z cortex m0+

Hello,
I am currently working with FRDM KL25Z board. I wish to write a code for object counter using interrupt. I don't know how to program nvic for this purpose. It will be of great help if someone provide me example code for configure nvic.

Note: in place of led and detector module I am using a switch for generating signal for detection of object. I am connecting this switch to pin 0 of port A.

Thanks in advance.