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

Virtual (host-side) GPIO driver for unit testing. More...

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

Go to the source code of this file.

Classes

class  DirectGPIODriver
 Host-only virtual GPIO driver — no hardware dependency. More...
 

Detailed Description

Virtual (host-side) GPIO driver for unit testing.

Backs each matrix node with a bool in a heap array; no real hardware is touched. Used by the host test suite to verify XPoint logic without Arduino dependencies. The bool array is directly inspectable via pinState().

The mapper function must return a pin index in [0, nPins).