// SPDX-License-Identifier: Apache-2.0 #pragma once #ifdef __cplusplus extern "C" { #endif #include #include #include #include struct Hx8357Config { uint16_t horizontal_resolution; uint16_t vertical_resolution; int32_t gap_x; int32_t gap_y; bool swap_xy; bool mirror_x; bool mirror_y; bool invert_color; uint32_t pixel_clock_hz; struct GpioPinSpec pin_dc; struct GpioPinSpec pin_reset; bool reset_active_high; // Optional reference to this display's backlight device, NULL if none. struct Device* backlight; }; #ifdef __cplusplus } #endif