![]() |
SparkFun SSD168x Library
v1.0.2
Library for SSD1680 / SSD1681 e-paper displays on SPI
|
Go to the source code of this file.
Classes | |
| struct | QwEpRect |
| class | _QwEpIDraw |
| struct | _QwEpIDraw_vtable |
| struct | pageStateEp_t |
| class | QwEpGrBufferDevice |
Macros | |
| #define | kByteNBits 8 |
| #define | mod_byte(_value_) (_value_ & 0x07) |
| #define | swap_int(_a_, _b_) (((_a_) ^= (_b_)), ((_b_) ^= (_a_)), ((_a_) ^= (_b_))) |
| #define | kPageMin -1 |
| #define | kPageMax 200 |
Typedefs | |
| typedef void(* | QwDrawPntFn) (void *, uint8_t, uint8_t, uint8_t) |
| typedef void(* | QwDrawTwoPntFn) (void *, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t) |
| typedef void(* | QwDrawCircleFn) (void *, uint8_t, uint8_t, uint8_t, uint8_t) |
| typedef void(* | QwDrawBitmapFn) (void *, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t *, uint8_t, uint8_t) |
| typedef void(* | QwDrawTextFn) (void *, uint8_t, uint8_t, const char *, uint8_t) |
Variables | |
| const uint8_t | COLOR_ON |
| const uint8_t | COLOR_OFF |
| const uint8_t | text_byte_bits [8] = {0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80} |
SPDX-License-Identifier: MIT
Please see LICENSE.md for more details
A library to control SSD1680/1 e-Paper displays via SPI
Original I2C version by Paul Clark @ SparkFun Electronics, April 2026 SPI rework by Claude, directed by Paul Clark @ SparkFun Electronics, November 2026
| #define kByteNBits 8 |
| #define kPageMax 200 |
| #define kPageMin -1 |
| #define mod_byte | ( | _value_ | ) | (_value_ & 0x07) |
| #define swap_int | ( | _a_, | |
| _b_ | |||
| ) | (((_a_) ^= (_b_)), ((_b_) ^= (_a_)), ((_a_) ^= (_b_))) |
| typedef void(* QwDrawBitmapFn) (void *, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t *, uint8_t, uint8_t) |
| typedef void(* QwDrawCircleFn) (void *, uint8_t, uint8_t, uint8_t, uint8_t) |
| typedef void(* QwDrawPntFn) (void *, uint8_t, uint8_t, uint8_t) |
| typedef void(* QwDrawTextFn) (void *, uint8_t, uint8_t, const char *, uint8_t) |
| typedef void(* QwDrawTwoPntFn) (void *, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t) |
|
extern |
|
extern |
| const uint8_t text_byte_bits[8] = {0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80} |