Pin Interrupt Processor Expert Init_GPIO

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

Pin Interrupt Processor Expert Init_GPIO

ソリューションへジャンプ
871件の閲覧回数
martindusek
Contributor V

Hi,

I have difficulties getting pin interrupt on PTA12 of KL02 working. I configured Init_GPIO component, please see pictures of the configuration. I added interrupt service routine called OnChange to the main.c and at the beginning of this function I added breakpoint. However, when I connect PTA12 to GND (it has pull up) nothing happens - the breakpoint is not hit.

 

What else has to be done in order to have pin interrupt using Init_GPIO component working?

 

55973_55973.pngInit_GPIO.png55974_55974.pngInit_GPIO2.png55975_55975.pngInit_GPIO3.png

ラベル(1)
0 件の賞賛
返信
1 解決策
657件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Martin,

Please enable interrupt :

pastedImage_0.png

Hope it helps


Have a great day,

Alice

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

1 返信
658件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Martin,

Please enable interrupt :

pastedImage_0.png

Hope it helps


Have a great day,

Alice

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------