BYTEBUS  (ARMweb only) -- OBSOLETE, use P1(pin)
 

To read more than 1 bit at a time, the FIO1PIN register can be read directly.

#include <LPC21xx>          ' or <LPC17xx> for SuperPRO / PROplus

x = FIO0PIN   ' read the 32 bits of port 0

y = FIO1PIN   ' read the 32 bits of port 1 (only 10 are connected externally on the ARMweb)