
The term flip-flop has historically referred generically to both level-triggered (asynchronous, transparent, or opaque) and edge-triggered ( synchronous, or clocked) circuits that store a single bit of data using gates. It can also be used for counting of pulses, and for synchronizing variably-timed input signals to some reference timing signal. When used in a finite-state machine, the output and next state depend not only on its current input, but also on its current state (and hence, previous inputs). Such data storage can be used for storage of state, and such a circuit is described as sequential logic in electronics. Flip-flops and latches are fundamental building blocks of digital electronics systems used in computers, communications, and many other types of systems.įlip-flops and latches are used as data storage elements to store a single bit (binary digit) of data one of its two states represents a "one" and the other represents a "zero". It is the basic storage element in sequential logic. The circuit can be made to change state by signals applied to one or more control inputs and will output its state (often along with its logical complement too).

In electronics, flip-flops and latches are circuits that have two stable states that can store state information – a bistable multivibrator. An animated interactive SR latch ( R1, R2 = 1 kΩ R3, R4 = 10 kΩ).
