Figure 5Eight clocks are used to shift out a control byte from the PIC to the device and another 16 clocks are used to retrieve the result. Since the data input and output lines are not simultaneously active, its possible for them to share the same microcontroller I/O pin.