Electronic – MCUs which can trigger an interrupt on a port mask

gpio-external-interruptinterruptsmicrocontroller

(Hobby and learning, not a professional question.)

I'm designing a circuit which uses a CPLD to turn a half-dozen inputs into a single output which triggers an interrupt in a microcontroller.

Are there any microcontrollers where a combination of inputs (on one port) can trigger an interrupt? (Mostly interested in Cortex M0/3/4, but will consider others.)

e.g. Have an interrupt triggered only when port A matches ?1110?01. 11110001 would cause an interrupt, but 11110000 wouldn't.

Best Answer

Check out the LPC800:

From UM10601: "Up to eight pins can be selected from all GPIO pins to contribute to a boolean expression. The boolean expression consists of specified levels and/or transitions on various combinations of these pins."