Interupt Pin Control

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Interupt Pin Control

353 次查看
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 回复

275 次查看
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.