Example: S32K148 GPIO Interrupt

Document created by Jiri Kral Employee on May 24, 2019Last modified by Jiri Kral Employee on Jun 25, 2019
Version 2Show Document
  • View in full screen mode

This simple example shows how to attach GPIO Interrupt handler to particular GPIO Pin. Example is for S32K148 EVB and uses SW4 connected to PTC 13 and Green LED connected to PTE 22. Pressing SW4 invoke interrupt and Interrupt handler toggles Green LED. 

Attachments

Outcomes