Example: S32K148 GPIO Interrupt

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Example: S32K148 GPIO Interrupt

Example: S32K148 GPIO Interrupt

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
Comments

Pay attention to

https://www.nxp.com/docs/en/application-note/AN5413.pdf

Section

2.1 Hello World

shows GPIO toggling example

If you were interested, section
2.5 Timed I/O (FTM)

shows using of FTM module

No ratings
Version history
Last update:
‎05-24-2019 05:45 AM
Updated by: