How to configure GPIO interrupt in PE?

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

How to configure GPIO interrupt in PE?

跳至解决方案
2,407 次查看
rabbit
Contributor III

Try to setup PTC18 as input, and causing interrupt at falling edge.

I am using PE to do setup, I can configure PTC18 as input, but I can't setup its interrupt at falling edge. 

0 项奖励
回复
1 解答
1,391 次查看
BlackNight
NXP Employee
NXP Employee

Hello,

I assume you are using Kinetis/ARM?

There is the ExtInt (External Interrupt) component you could use.

Additionally, other settings for a pin like pull-up/pull-down/interrupt edges are defined in the Init_GPIO component.

Have a look at this article:

Tutorial: Bits and Pins with Kinetis and the FRDM-KL25Z Board | MCU on Eclipse

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,392 次查看
BlackNight
NXP Employee
NXP Employee

Hello,

I assume you are using Kinetis/ARM?

There is the ExtInt (External Interrupt) component you could use.

Additionally, other settings for a pin like pull-up/pull-down/interrupt edges are defined in the Init_GPIO component.

Have a look at this article:

Tutorial: Bits and Pins with Kinetis and the FRDM-KL25Z Board | MCU on Eclipse

0 项奖励
回复
1,391 次查看
rabbit
Contributor III

Thanks. It is in Init_GPIO component.

0 项奖励
回复
1,391 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

what chip do you work with?

0 项奖励
回复