bit bang

Transmission of data on a serial line accomplished by rapidly changing a single output bit, in software, at the appropriate times. The technique is a simple loop with eight OUT and SHIFT instruction pairs for each byte. Input is more interesting. And full-duplex (doing input and output at the same time) is one way to separate the real hackers from the wannabees.
Bit bang was used on certain early models of Prime computers, presumably when UARTs were too expensive, and on archaic Zilog Z80 micros with a Zilog PIO but no SIO. In an interesting instance of the cycle of reincarnation, this technique is now (1991) coming back into use on some RISC architectures because it consumes such an infinitesimal part of the processor that it actually makes sense not to have a UART.
[Jargon File]


Read Also:

  • Bit-bashing

    bit bashing

  • Bit-between-one-s-teeth

    bit between one’s teeth

  • Bitbrace

    brace (def 3).

  • Bit–by–bit

    a small piece or quantity of anything: a bit of string. a short time: Wait a bit. Informal. an amount equivalent to 12½ U.S. cents (used only in even multiples): two bits; six bits. an act, performance, or routine: She’s doing the Camille bit, pretending to be near collapse. a stereotypic or habitual set of […]

Disclaimer: Bit-bang definition / meaning should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional. All content on this website is for informational purposes only.