nazarijtipusak080/shift-4-bytes@0.1.0

Contains nodes for creating arrays from bits and working with them. Creates a four-byte (20-byte) bit array with free access to the nth bit in the nth byte.
NodeDescription
draftNo description
example-4bytes-2No description
example-4bytesNo description
example-shift-countNo description
example-shift-count-2No description
mainNo description
micros-to-number
Converts from type micros to type number. (unsigned integer)
micros-to-u32
Converts micros to a 32-bit unsigned integer presented as 4 bytes.
n-bit-of-byteNo description
nbit-of-xbyte
Outputs the nth bit belonging to the xth byte from the array as a number of type "micro".
number-to-micros
Converts from type number to type micros . (unsigned integer)
shift-4-bytes
Allows you to create a 4 bytes (00000000-FFFFFFFF) from a bit stream on the "BIT" input. Updates take place on the "INC" signal. You can also get the value of the nth bit from the "nBit" output (the number is specified in "n" from 0 to 7). "inx" selects the byte from which we output "nBit" (from 0 to 3). "NUMB" is the total accumulated value.
shift-bits-array
Forms an array of input bits. Recording of a new bit occurs with the "INC" signal. The length of the array is 20 bytes. The bit number specified in "IDX" is output to the "nBit" output.
shift-count
A counter that is counting forward shifts to the left by the number of bits specified by "SHIFT" before adding a new step. "STEP" and "SHIFT" must be >=0. (Counts unsigned integers)
To use the nodes in your project you should have the nazarijtipusak080/shift-4-bytes library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.