The current state for the appropriate channel is selected by means of an N-to-1 multiplexor.
The multiplexor selects an output responsive to a control signal.