SparkFun SSD168x Library  v1.0.2
Library for SSD1680 / SSD1681 e-paper displays on SPI
Loading...
Searching...
No Matches
qwiic_grbuffer.h File Reference
#include <stdint.h>
#include "res/qwiic_resdef.h"
Include dependency graph for qwiic_grbuffer.h:
This graph shows which files directly or indirectly include this file:

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}
 

Detailed Description

Date
2026

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

https://github.com/sparkfun/SparkFun_SSD168x_Library

Macro Definition Documentation

◆ kByteNBits

#define kByteNBits   8

◆ kPageMax

#define kPageMax   200

◆ kPageMin

#define kPageMin   -1

◆ mod_byte

#define mod_byte (   _value_)    (_value_ & 0x07)

◆ swap_int

#define swap_int (   _a_,
  _b_ 
)    (((_a_) ^= (_b_)), ((_b_) ^= (_a_)), ((_a_) ^= (_b_)))

Typedef Documentation

◆ QwDrawBitmapFn

typedef void(* QwDrawBitmapFn) (void *, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t *, uint8_t, uint8_t)

◆ QwDrawCircleFn

typedef void(* QwDrawCircleFn) (void *, uint8_t, uint8_t, uint8_t, uint8_t)

◆ QwDrawPntFn

typedef void(* QwDrawPntFn) (void *, uint8_t, uint8_t, uint8_t)

◆ QwDrawTextFn

typedef void(* QwDrawTextFn) (void *, uint8_t, uint8_t, const char *, uint8_t)

◆ QwDrawTwoPntFn

typedef void(* QwDrawTwoPntFn) (void *, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t)

Variable Documentation

◆ COLOR_OFF

const uint8_t COLOR_OFF
extern

◆ COLOR_ON

const uint8_t COLOR_ON
extern

◆ text_byte_bits

const uint8_t text_byte_bits[8] = {0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80}