Ken Van Hoeylandt 97a5b0eb74
Refactor e-paper drivers and remove chat app (#699)
Replaces the EPDiy and esp_epaper based display drivers with purpose-built drivers, and removes the Chat app.
2026-10-17 22:27:51 +02:00

32 lines
789 B
C

// SPDX-License-Identifier: Apache-2.0
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
#include <tactility/drivers/gpio.h>
/**
* The struct field order matches the binding's property order and must stay in sync with it:
* the devicetree compiler emits struct initializers in binding order, not declaration order.
*/
struct Ssd16xxConfig {
struct GpioPinSpec pin_dc;
struct GpioPinSpec pin_reset;
struct GpioPinSpec pin_busy;
struct GpioPinSpec pin_cs;
/** SPI clock frequency in Hz */
int clock_speed_hz;
/** Panel name, see the binding's panel-type */
const char* panel_type;
/** Display rotation, 0 = 0 degrees, 1 = 90, 2 = 180, 3 = 270 degrees counter-clockwise */
uint8_t rotation;
};
#ifdef __cplusplus
}
#endif