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

Arduino digitalWrite() 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  ArduinoDirectGPIODriver
 XPointDriver implementation that calls digitalWrite() per node. More...
 

Detailed Description

Arduino digitalWrite() driver for the XPoint crosspoint matrix.

Each matrix node maps to one Arduino GPIO pin via a user-supplied function pointer. begin() iterates all nodes and calls pinMode(OUTPUT) on each; setNodeHardware() calls pinMode(OUTPUT) and digitalWrite() immediately.

No batching, no SPI/I2C, no commitPhysicalUpdates() needed. Suited for small relay matrices driven directly from MCU GPIO pins.

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