Can GPIO pin configured as an interrupt pin on LPC55S69?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can GPIO pin configured as an interrupt pin on LPC55S69?

Jump to solution
984 Views
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 Kudos
Reply
1 Solution
966 Views
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

View solution in original post

0 Kudos
Reply
2 Replies
961 Views
sushmasan
Contributor II

Hi @ZhangJennie ,

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

0 Kudos
Reply
967 Views
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 Kudos
Reply