Interupt Pin Control

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

Interupt Pin Control

346 Views
projektecarus
Contributor II

Hi,

I have a TWR_K60F120M device and want to install a Interupt service routine, which gets activated by a input pins rising edge. I already raed the example and the Towers manual. As far as I understand there is a pin control register. How do I change this control register and how can i get my wished ISR working?? 

1 Reply

268 Views
Martin_
NXP Employee
NXP Employee

You can use MQX lwgpio driver. There is the source code example for lwgpio usage in MQX installation folder, in /mqx/examples/gpio/gpio.c, already with an interrupt from MCU board push button.