I am trying to implement a switch that works like the description in the picture. In my research I came across the T flip-flop, however a T flip-flop requires a clock signal. I don't have that.
Is there a latch that works like a T flip-flop? Is there any way to implement an asynchronous T flip-flop (with only one input pulse)? In a sense, I want to use one input as a set and reset at the same time. The first change from 0 to 1 is used as a set and the change after that is used for the reset. Is there a name for such circuit?