One idea is use multiplexer or gate logic for Pin 14,16
This logic controled by other Pin or CPU signal.
I will show you soon.
You can also use the port in configuration register which uses the routing net/mux.
See Register TRM for the part you are using.
Thank you all for solutions provided. I have been able to look on mux until now.
I do have a question related solutions:
does transfer speed between input pins and output pins depend on CPU clock ?
I mean I would like to use a PSoC4 and from input to output pins should handle a 200Khz signal.
Thank you !
Pin to Pin transition time is not depend on CPU clock.
It is a hardware, i.e: Pin1 to Pin2
However, pin selection time is depend on CPU,
in case of software is switching MUX.
About Pin to Pin delay,
See Electrical specifications of each device data sheet.
[ GPIO AC Specifications ]
It is up to 100MHz around.