Controlled by a short input pulse, the switch cycles through a sequence of output signals before returning to idle.
The input pulse is stored in C1 until the system returns to an idle state.
The input is cleared during the first stage, this ensires proper setup and hold times for a 74CH595 8bit shift register