Files
tactility/Drivers/cst328-module/include/drivers/cst328.h
T
2026-07-22 22:43:34 +02:00

25 lines
401 B
C

// SPDX-License-Identifier: Apache-2.0
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
#include <stdbool.h>
#include <tactility/drivers/gpio.h>
struct Cst328Config {
// Devicetree address hint (0x1A on the LilyGO T-Deck Pro).
uint8_t address;
bool swap_xy;
bool mirror_x;
bool mirror_y;
struct GpioPinSpec pin_reset;
};
#ifdef __cplusplus
}
#endif