Hello,
Sorry but we do not have a ready to use code for what you are looking for, still, you can either use the available examples in the SDK for what you need such as the gpio_interrupt and adapt it to your needs.
Another thing that you can try to do is to look for an example in the community for another M0+ kinetis device and try to adapt it to your needs.
Regards ,
Estephania