Hi,
I have difficulties getting pin interrupt on PTA12 of KL02 working. I configured Init_GPIO component, please see pictures of the configuration. I added interrupt service routine called OnChange to the main.c and at the beginning of this function I added breakpoint. However, when I connect PTA12 to GND (it has pull up) nothing happens - the breakpoint is not hit.
What else has to be done in order to have pin interrupt using Init_GPIO component working?
已解决! 转到解答。
Hello Martin,
Please enable interrupt :
Hope it helps
Have a great day,
Alice
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hello Martin,
Please enable interrupt :
Hope it helps
Have a great day,
Alice
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------