|
XPoint 0.1.0
Hardware-agnostic crosspoint matrix routing library
|
Virtual (host-side) shift-register driver for unit testing. More...
Go to the source code of this file.
Classes | |
| class | ShiftRegisterDriver |
| Host-only virtual shift-register driver — no hardware dependency. More... | |
Virtual (host-side) shift-register driver for unit testing.
Maintains a byte-shadow array mirroring what a real 74HC595 chain would hold. No hardware is touched; used by the host test suite. Individual bytes are inspectable via byteAt() to verify bit-packing logic.
Bit packing: output index idx maps to byte idx/8, bit idx%8 (LSB = bit 0). The mapper function must return indices in [0, nOut).