26 lines
450 B
C
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
|