Files
tactility/Drivers/st7305-module/include/drivers/st7305.h
2026-07-23 23:16:58 -04:00

26 lines
450 B
C

// SPDX-License-Identifier: Apache-2.0
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
#include <stdbool.h>
#include <stdint.h>
#include <tactility/drivers/gpio.h>
struct St7305Config {
uint16_t horizontal_resolution;
uint16_t vertical_resolution;
uint32_t pixel_clock_hz;
uint8_t transaction_queue_depth;
struct GpioPinSpec pin_dc;
struct GpioPinSpec pin_reset;
bool invert_color;
};
#ifdef __cplusplus
}
#endif