Content originally posted in LPCWare by bruno on Thu Jun 28 07:24:21 MST 2012
Yes, Like Example:
/* use port0_1 as input event, interrupt test. */
GPIOSetDir( PORT0, 1, 0 );
/* port0_1, single trigger, active high. */
GPIOSetInterrupt( PORT0, 1, 0, 0, 0 );
GPIOIntEnable( PORT0, 1 );
You can write direct.
Or put #defines for don't stay confusion for you.