#define LPC1700_PORT(X) ((X) >> 5)
LPC1700_PORT extracts the LPC1700 port (see LPC1700_PORT_t) from an encoded PLATFORM_PIN_CONNECTION_t value.
In other words, LPC1700_PORT(LPC1700_PAD(x, y)) == x.
LPC1700_PAD, LPC1700_PIN