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.
已解决! 转到解答。
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
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