Instruction encoding method for single wire serial communications
Abstract
An instruction encoding method is provided for communication between devices. Before transmission, each opcode is multiplied by two. Each operand is multiplied by two and incremented by one. Encoded opcodes and operands are sent as rising edges (i.e., voltage transitions) on a single wire connecting transmitting and receiving devices. The receiving device counts the rising edges to form a total. Even totals correspond to opcodes, odd totals correspond to operands.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 2 · Forward citations: 1.
Claims (3 — 2 Independent, 1 Dependent)
- Claim 1Independent Claim
A method for controlling a device, the method comprising: encoding an opcode m as the value 2m; encoding an operand n as the value 2n+1; controlling the voltage on a serial line to send the encoded opcode as a series 2m of rising edges; and controlling the voltage on a serial line to send the encoded operand as a series 2n+1 of rising edges.
- Claim 2Depends on #1
A method as recited in claim 1 in which the opcode corresponds to an address within the device.
- Claim 3Independent Claim
A method for controlling a device, the method comprising: counting a series of rising edges in a serial input to form a total; extracting an operand from the total when the total is odd where the operand is numerically equal to the total shifted right by one bit; and extracting an opcode from the total when the total is even where the opcode is numerically equal to the total shifted right by one bit.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗