Interupt Pin Control

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Interupt Pin Control

385件の閲覧回数
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 返信

307件の閲覧回数
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.