Hello David,
Thank you for your useful answer. I use Codewarrior 10.6 with Freedom FRDM-KE02Z4 board and MKE02Z64VQH2 CPU on board.
Now I have found the Init_KBI component in PE, and I added this component to my project.
I write the name of ISR in configuration of the component as you did, and then PE generated a method in KBI0.h as your example as your example: PE_ISR(my_kbio0_int)
Now I want to add several pins and every pin is connected to own key, so I need separate interrupt for each pin, how should I implement it?
In other words, if I want to for example pin PTA0 light the blue LED and PTA1 increment a counter, how can I implement this two in "Events" independently?
Is it possible you extend your example i.e. for two independent pins?
Thank you!
Kind regards,
Siamack