LPC54xxx.pdf has the following description
PIO0_23
[4]5 V tolerant pin providing standard digital I/O functions with configurable modes, configurable hysteresis, and analog input. When configured as an analog input, the digital section of the pin is disabled, and the pin is not 5 V tolerant.
PIO3_18
[2] 5 V tolerant pad with programmable glitch filter (5 V tolerant if VDD present; if VDD not present, do not exceed 3.6 V); provides digital I/O functions with TTL levels and hysteresis; normal drive strength. See Figure 43. Pulse width of spikes or glitches suppressed by input filter is from 3 ns to 16 ns (simulated value).
Does this description indicate that PIO3_18 can input TTL signal?
Can PIO3_18 distinguish between H and L of CMOS and TTL?
PIO0_23 can distinguish between H and L of CMOS, but can't distinguish between H and L of TTL?