bits2Byte
Composes one byte from 8 bit signals.
Processing
- Byte = Σ (bit_k & 1) << k, k = 0..7 (bit_0 is the LSB).
Usage
- Typical inputs:
Devectorizer.element0→bit_0;Devectorizer.element1→bit_1;Devectorizer.element2→bit_2;Devectorizer.element3→bit_3. - Typical outputs:
Byte→DataViewer.input_0.
Data format
- Inputs: UInt8 scalars (0 or 1). Output: UInt8 scalar.
Outputs
| Name | Description |
|---|---|
Byte | Composed byte. Type: UInt8 |
Inputs
| Name | Description |
|---|---|
bit_0 | Bit 0 (LSB). Type: UInt8 |
bit_1 | Bit 1. Type: UInt8 |
bit_2 | Bit 2. Type: UInt8 |
bit_3 | Bit 3. Type: UInt8 |
bit_4 | Bit 4. Type: UInt8 |
bit_5 | Bit 5. Type: UInt8 |
bit_6 | Bit 6. Type: UInt8 |
bit_7 | Bit 7 (MSB). Type: UInt8 |
RTMaps Toolkits Documentation