-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Description
The current GPIO driver used for the LPC5500 family and the superset board LPCXpresso55S69 configure pin interrupts using the on-chip peripheral PINT. The PINT allows up to 8 GPIO pins to trigger interrupts, and each have a different IRQ. But the PINT is limited to just 8 pins in this family. The LPC5500 devices also have another GPIO interrupt controller called GINT that enables many more pins to generate interrupts using shared IRQs.
This enhancement should add support in the GPIO driver for the GINT, for applications that desire more than 8 GPIO interrupt pins. It is acceptable for the enhanced driver to require the application to choose just one option at build time, to simplify for everyone: use either PINT or GINT.
The driver source file currently using the PINT is \drivers\gpio\gpio_mcux_lpc.c, and is included when CONFIG_GPIO_MCUX_LPC is selected. Changing this driver would also impact the supported devices LPC54114, i.MX RT685 and the open PR for RT595.
Thank you