#define LPC1700_PIN(X) ((X) & 31)
LPC1700_PIN extracts the LPC1700 pin within a port from an encoded PLATFORM_PIN_CONNECTION_t value.
In other words, LPC1700_PIN(LPC1700_PAD(x, y)) == y.
LPC1700_PAD, LPC1700_PORT