XPoint 0.1.0
Hardware-agnostic crosspoint matrix routing library
Loading...
Searching...
No Matches
ArduinoShiftRegisterDriver.h File Reference

Software bit-bang shift-register driver for the XPoint crosspoint matrix. More...

#include "XPointDriver.h"
#include <stdint.h>
#include <Arduino.h>

Go to the source code of this file.

Classes

class  ArduinoShiftRegisterDriver
 XPointDriver implementation for daisy-chained 74HC595 shift registers. More...
 

Detailed Description

Software bit-bang shift-register driver for the XPoint crosspoint matrix.

Supports any number of daisy-chained 8-bit shift registers (e.g. 74HC595). setNodeHardware() updates a shadow byte array; commitPhysicalUpdates() clocks all bytes out MSB-first, last byte first, which loads bit 0 of the first register in a standard 74HC595 chain.

begin() must be called before first use; it configures the three control pins and drives all outputs LOW via commitPhysicalUpdates().

Note
Not usable in host (non-Arduino) builds; all methods are no-ops when ARDUINO is not defined.