21 lines
428 B
C
21 lines
428 B
C
// SPDX-License-Identifier: Apache-2.0
|
|
#pragma once
|
|
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
|
|
#include <tactility/device.h>
|
|
|
|
struct St77922Config {
|
|
uint16_t horizontal_resolution;
|
|
uint16_t vertical_resolution;
|
|
bool mirror_x;
|
|
bool mirror_y;
|
|
bool invert_color;
|
|
bool bgr_order;
|
|
uint32_t bits_per_pixel;
|
|
uint32_t pixel_clock_hz;
|
|
uint8_t transaction_queue_depth;
|
|
struct Device* backlight;
|
|
};
|