Know why cattywampus was trending last week?
Old English læccan "to grasp or seize," from Proto-Germanic *lakkijanan. Not found in other Germanic languages; probably from PIE *(s)lagw- "to seize" (see analemma). In its original sense the verb was paralleled in Middle English and then replaced by French import catch (v.). Meaning "to fasten with a latch" is mid-15c. Related: Latched; latching.
a fastening for a door, etc., late 13c., probably from latch (v.).
A digital logic circuit used to store one or more bits. A latch has a data input, a clock input and an output. When the clock input is active, data on the input is "latched" or stored and transfered to the output either immediately or when the clock input goes inactive. The output will then retain its value until the clock goes active again.
See also flip-flop.