Graphics::DisplayList::Header Union Reference
Each list entry starts with a header. More...
#include <DisplayList.h>
Collaboration diagram for Graphics::DisplayList::Header:
Public Attributes | |
struct { | |
Code code: 4 | |
uint8_t len: 4 | |
}; | |
uint8_t | u8 |
Static Public Attributes | |
static constexpr uint8_t | lenMax {15} |
Detailed Description
Each list entry starts with a header.
This information is interpreted by the display driver but should translate to a single display command.
Each command has fixed content with optional variable data. Length can be packed with command (0-31), or an additional uint8_t or uint16_t.
setPixel(uint8_t x, uint8_t y, void* data, uint8_t len) COL(uint8_t x, uint8_t len) ROW(uint8_t y, 1) DAT data, len
setPixel(uint16_t x, uint8_t y, void* data, uint16_t len) COL(uint16_t x, uint16_t len) ROW(uint8_t y, 1) DAT data, len
fillRect(uint16_t x, uint16_t y, uint16_t w, uint16_t h, data len) COL16 x, w ROW16 y, h
Member Data Documentation
◆ @68
struct { ... } |
◆ code
Code Graphics::DisplayList::Header::code |
◆ len
uint8_t Graphics::DisplayList::Header::len |
◆ lenMax
|
staticconstexpr |
◆ u8
uint8_t Graphics::DisplayList::Header::u8 |
The documentation for this union was generated from the following file: