ProtoCore v1.0.16
Deterministic, zero-heap network stack for embedded targets
Loading...
Searching...
No Matches
gpio_map.h File Reference

Browser GPIO pin-mapper / diagnostics (PROTOCORE_ENABLE_GPIO_MAP). More...

#include "protocore_config.h"

Go to the source code of this file.

Detailed Description

Browser GPIO pin-mapper / diagnostics (PROTOCORE_ENABLE_GPIO_MAP).

Exposes a compile-time table of GPIO pins (number, label, configured direction, live level) as JSON so a browser diag panel can show the pin map and toggle outputs. The live read and write go through protocore_platform_gpio_* where a pin seam exists; the JSON serializer and the control-POST parser are pure and host-tested. No allocation: the pin table is caller-owned and the JSON is written into a caller buffer.

Author
Douglas Quigg (dstroy0)
Date
2026

Definition in file gpio_map.h.