Added: now declines to pass on output if in input mode for ports A and B.
Added: now declines to pass on output if in input mode for ports A and B.

TomHarte/CLK,TomHarte/CLK,TomHarte/CLK,TomHarte/CLK,TomHarte/CLK