![]() |
Doly C++ SDK v1.00
|
Low-level LCD control API for Doly displays. More...
#include <stdint.h>#include <vector>Go to the source code of this file.
Classes | |
| struct | LcdData |
| Frame descriptor used by writeLcd(). More... | |
Namespaces | |
| namespace | LcdControl |
Enumerations | |
| enum class | LcdColorDepth : uint32_t { LcdColorDepth::L12BIT = 0x03 , LcdColorDepth::L18BIT = 0x06 } |
| LCD pixel color depth / bus format selection. More... | |
| enum | LcdSide : uint8_t { LEFT , RIGHT } |
| Which LCD panel to address. More... | |
Functions | |
| int8_t | LcdControl::init (LcdColorDepth depth=LcdColorDepth::L12BIT) |
| Initialize the LCD device. | |
| int8_t | LcdControl::dispose () |
| Release resources and deinitialize the LCD device. | |
| bool | LcdControl::isActive () |
| Check whether the LCD subsystem is active (initialized). | |
| void | LcdControl::LcdColorFill (LcdSide side, uint8_t R, uint8_t G, uint8_t B) |
| Fill a panel with a solid RGB color. | |
| int8_t | LcdControl::writeLcd (LcdData *frame_data) |
| Write a buffer to the LCD. | |
| int | LcdControl::getBufferSize () |
| Get required buffer size in bytes for one full frame. | |
| LcdColorDepth | LcdControl::getColorDepth () |
| Get the currently configured LCD color depth. | |
| int8_t | LcdControl::setBrightness (uint8_t value) |
| Set LCD backlight brightness. | |
| void | LcdControl::toLcdBuffer (uint8_t *output, uint8_t *input, bool input_RGBA=false) |
| Convert 24-bit (RGB) or 32-bit (RGBA) image data to the LCD buffer format. | |
| float | LcdControl::getVersion () |
| Get current library version. | |
Low-level LCD control API for Doly displays.
This header provides a minimal, low-level interface for initializing the LCD device(s), writing frame buffers, and controlling brightness.
Design notes: