Can GPIO pin configured as an interrupt pin on LPC55S69?

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

Can GPIO pin configured as an interrupt pin on LPC55S69?

跳至解决方案
971 次查看
sushmasan
Contributor II

Hello Team,

Just wanted to check, I am using LPC55S69 microcontroller for my application.

I am using one of the GPIO pin (Example: PIO1_27) to control the soft power switch. Can I configure it as an interrupt pin?

I also noticed GINT0 (Group GPIO Input Interrupt 0) register. Can it be used for a group of GPIO pins (or) Can it be used for a single GPIO pin also?

Please let me know.

0 项奖励
回复
1 解答
953 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

HI sushmasan,

There are GPIO interrupt registers which configure the pins  to generate interrupts. GPIO interrupts will require you to read the GPIO interrupt registers to see which pins caused the interrupt to occur.

Using the PINTx interrupts is going to allow faster interrupt service routines, since each has its own interrupt vector. There is PINT demo code under SDK folder. We can use it as reference.

Hope this will help you,

Jun Zhang

在原帖中查看解决方案

0 项奖励
回复
2 回复数
948 次查看
sushmasan
Contributor II

Hi @ZhangJennie ,

Thanks for the update. I just realized from the user manual there is a PINT support also.

0 项奖励
回复
954 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

HI sushmasan,

There are GPIO interrupt registers which configure the pins  to generate interrupts. GPIO interrupts will require you to read the GPIO interrupt registers to see which pins caused the interrupt to occur.

Using the PINTx interrupts is going to allow faster interrupt service routines, since each has its own interrupt vector. There is PINT demo code under SDK folder. We can use it as reference.

Hope this will help you,

Jun Zhang

0 项奖励
回复