I am working on S32K144 Eval board. i want to do a simple project where i can detect a external interrupt (probably by a switch connected to PTC-12) and switch on a LED. It can be done with simple if-else conditional statement also, but i want to know how to configure external interrupts for S32K144. Example projects have only internal interrupt example.
It will be great if someone could attach here a sample code which has a simple External interrupt( through switch) and toggles the LED whenever interrupt is received.