Ok, I have attached the circuit diagram and LTSpice simulation.
It is near impossible to generate three different events with a single logic high or low. Another state is required to fullfil the task.
Referring to the circuit, consider what happens to NPN Q2 when:
a) MCU pin is HIGH
b) MCU pin is LOW
The answer is simple. When CLK(MCU pin) is high, Q2 is biased on via R2 and MCU port pin. It conducts and LATCH is low. If CLK is LOW, then Q2 has no bias and stop conducting, giving a HIGH on the collector.
Now, what if I ask what happens if the link(A) between the circuit and the MCU pin is severed? Well, Q2 is still biased via R2 and R3, with the remaining charges from R1/C1. I have chosen appropriate values for R2 and R3 such that Q2 remains in conduction under this case. Therefore the collector voltage remains LOW. The voltage at CLK is not zero, but being the voltage drop across R3 plus the Vbe drop of Q2. If this voltage is 1.5V or lower, then it will be considered a LOW under CMOS logic level. C1 will discharge until it reaches this voltage level, simulating a LOW on DAT line.
While we can't physically severed the connection between the circuit and the MCU, we can achieve the same result by placing the MCU pin in high impedance mode, or to put it simply, changes it from output mode into input mode.
If we alter the timing between the states we can manipulate the DAT voltage level too. The four cases are:
1. MCU pin is High (idle state)
2. MCU pin is disconnected for a short interval (shift a high bit)
3. MCU pin is disconnected for long interval (shift a low bit)
4. MCU pin is LOW (generate LATCH signal)
The next image is the proposed software steps required to generate the signal on the MCU pin. I would code this up on an AVR and see how the design responses. Fingers crossed.