Converts serial data from three types inputs, to the other outputs.