19#ifndef DETERMINISTICESPASYNCWEBSERVER_GPIO_MAP_H
20#define DETERMINISTICESPASYNCWEBSERVER_GPIO_MAP_H
26#if DETWS_ENABLE_GPIO_MAP
31enum class DetwsGpioDir : uint8_t
35 DETWS_GPIO_IN_PULLDOWN,
53const char *detws_gpio_dir_name(DetwsGpioDir dir);
59int detws_gpio_json(
const DetwsGpioPin *pins, uint8_t count,
char *out,
size_t cap);
65bool detws_gpio_parse_set(
const char *body,
size_t len, uint8_t *pin, uint8_t *level);
68bool detws_gpio_is_output(
const DetwsGpioPin *pins, uint8_t count, uint8_t pin);
75void detws_gpio_begin_pins(
const DetwsGpioPin *pins, uint8_t count);
78void detws_gpio_read(DetwsGpioPin *pins, uint8_t count);
81void detws_gpio_write(uint8_t pin, uint8_t level);
88void detws_gpio_map_begin(
DetWebServer &server,
const char *path, DetwsGpioPin *pins, uint8_t count);
User-facing configuration for DeterministicESPAsyncWebServer.
Single-port HTTP server with deterministic, zero-allocation execution.