Skip to main content

ToggleSync

Type Alias ToggleSync 

Source
pub type ToggleSync = Sync<Obj<bool>, CircuitUnit, Obj<bool>>;
Expand description

A 1-bit toggle flip-flop.

State: bool starting at false. Input: CircuitUnit (no data input). Output: the current state; next cycle’s state is its negation.

Aliased Type§

pub struct ToggleSync { /* private fields */ }