|
ESPHome 2026.2.3
|
Data Structures | |
| class | EPaperBase |
| class | EPaperJD79660 |
| JD7966x IC driver implementation. More... | |
| class | EPaperMono |
| A class for monochrome epaper displays. More... | |
| class | EPaperSpectraE6 |
| class | EpaperWaveshare |
| An epaper display that needs LUTs to be sent to it. More... | |
Enumerations | |
| enum class | EPaperState : uint8_t { IDLE , UPDATE , RESET , RESET_END , SHOULD_WAIT , INITIALISE , TRANSFER_DATA , POWER_ON , REFRESH_SCREEN , POWER_OFF , DEEP_SLEEP } |
| enum | JD79660Color : uint8_t { BLACK = 0b00 , WHITE = 0b01 , YELLOW = 0b10 , RED = 0b11 } |
| Pixel color as 2bpp. More... | |
| enum | E6Color { BLACK = 0b00 , WHITE = 0b01 , YELLOW = 0b10 , RED = 0b11 , SKIP_1 , BLUE , GREEN , CYAN , SKIP_2 } |
Functions | |
| template<typename NATIVE_COLOR > | |
| constexpr NATIVE_COLOR | color_to_bwyr (Color color, NATIVE_COLOR hw_black, NATIVE_COLOR hw_white, NATIVE_COLOR hw_yellow, NATIVE_COLOR hw_red) |
| Map RGB color to discrete BWYR hex 4 color key. | |
| Enumerator | |
|---|---|
| BLACK | |
| WHITE | |
| YELLOW | |
| RED | |
| SKIP_1 | |
| BLUE | |
| GREEN | |
| CYAN | |
| SKIP_2 | |
Definition at line 11 of file epaper_spi_spectra_e6.cpp.
|
strong |
| Enumerator | |
|---|---|
| IDLE | |
| UPDATE | |
| RESET | |
| RESET_END | |
| SHOULD_WAIT | |
| INITIALISE | |
| TRANSFER_DATA | |
| POWER_ON | |
| REFRESH_SCREEN | |
| POWER_OFF | |
| DEEP_SLEEP | |
Definition at line 11 of file epaper_spi.h.
| enum esphome::epaper_spi::JD79660Color : uint8_t |
Pixel color as 2bpp.
Must match IC LUT values.
| Enumerator | |
|---|---|
| BLACK | |
| WHITE | |
| YELLOW | |
| RED | |
Definition at line 10 of file epaper_spi_jd79660.cpp.
|
constexpr |
Map RGB color to discrete BWYR hex 4 color key.
| NATIVE_COLOR | Type of native hardware color values |
| color | RGB color to convert from |
| hw_black | Native value for black |
| hw_white | Native value for white |
| hw_yellow | Native value for yellow |
| hw_red | Native value for red |
Definition at line 31 of file colorconv.h.