• <*n class="ft6">An entire port value can be written in one instruction.*n>
• <*n class="ft6">Mask, set, and clear operati* are supported for the entire port.*n>
All GPIO port pins are fixed-pin functi* that are enabled or disabled on the pins by the
switch matrix. Therefore each GPIO port pin is assigned to one specific pin and cannot be
moved to another pin. Except for pins SWDIO/PIO0_2, SWCLK/PIO0_3, and
RESET/PIO0_5, the switch matrix enables the GPIO port pin function by default.
8.10.1 Features
• <*n class="ft6">Bit level port registers allow a single instructio*set and clear any number of bits in*n>
one write operation.
• <*n class="ft6">Direction co*ol of individual bits.*n>
• <*n class="ft6">All I/O default to inputs with internal pull-up resistors enabled after reset - except for*n>
the I2<*n class="ft6">C-bus true open-drain pins PIO0_2 and PIO0_3.*n>
• <*n class="ft6">Pull-up/pull-down configuration, repeater, and open-drain modes can be programmed*n>
through the IOCON block for each GPIO pin (see Figure 7).
• <*n class="ft6">Co*ol of the digital output slew rate allowing to switch more outputs simultaneously*n>
withou*gr*g the power/ground distribution of the device.
8.11 Pin interrupt/pattern match engine
The pin interrupt block configures up to eight pins from all digital pins for providing eight
external interrupts connected to the NVIC.
The pattern match engine can be used, in conjunction with software, to create complex
state machines based on pin inputs.
Any digital pin, independently of the functi*elected through the switch matrix, can be
configured through the SYSCON block as input to the pin interrupt or pattern match
engine. The registers that co*ol the pin interrupt or pattern match engine are located on
the IO+ bus for fast single-cycle access.
8.11.1 Features
• <*n class="ft6">Pin interrupts*n>
– Up to eight pins can be selected from all digital pins as edge- or level-sensitive
interrupt requests. Each request creates a separate interrupt in the NVIC.
– Edge-sensitive interrupt pins can interrupt on rising or falling edges or both.
– Level-sensitive interrupt pins can be HIGH- or LOW-active.
– Pin interrupts can wake up the LPC81xM from sleep mode, deep-sleep mode, and
deep power-down mode.
• <*n class="ft6">Pin interrupt pattern match engine*n>
– Up to 8 pins can be selected from all digital pins to co*ibute to a boolean
expression. The boolean expression c*ists of specified levels and/or transiti*
on various combinati* of these pins.
– Each minters (product term) comprising the specified boolean expression can
generate its own, dedicated interrupt request