|
Paperd.Ink Library 0.0.5
Library for interacting with Paperd.Ink devices.
|
#include <GxEPD2_750c.h>
Public Member Functions | |
| GxEPD2_750c (int16_t cs, int16_t dc, int16_t rst, int16_t busy) | |
| void | clearScreen (uint8_t value=0x33) |
| void | clearScreen (uint8_t black_value, uint8_t red_value) |
| void | writeScreenBuffer (uint8_t value=0x33) |
| void | writeScreenBuffer (uint8_t black_value, uint8_t red_value) |
| void | writeImage (const uint8_t bitmap[], int16_t x, int16_t y, int16_t w, int16_t h, bool invert=false, bool mirror_y=false, bool pgm=false) |
| void | writeImagePart (const uint8_t bitmap[], int16_t x_part, int16_t y_part, int16_t w_bitmap, int16_t h_bitmap, int16_t x, int16_t y, int16_t w, int16_t h, bool invert=false, bool mirror_y=false, bool pgm=false) |
| void | writeImage (const uint8_t *black, const uint8_t *color, int16_t x, int16_t y, int16_t w, int16_t h, bool invert=false, bool mirror_y=false, bool pgm=false) |
| void | writeImagePart (const uint8_t *black, const uint8_t *color, int16_t x_part, int16_t y_part, int16_t w_bitmap, int16_t h_bitmap, int16_t x, int16_t y, int16_t w, int16_t h, bool invert=false, bool mirror_y=false, bool pgm=false) |
| void | writeNative (const uint8_t *data1, const uint8_t *data2, int16_t x, int16_t y, int16_t w, int16_t h, bool invert=false, bool mirror_y=false, bool pgm=false) |
| void | drawImage (const uint8_t bitmap[], int16_t x, int16_t y, int16_t w, int16_t h, bool invert=false, bool mirror_y=false, bool pgm=false) |
| void | drawImagePart (const uint8_t bitmap[], int16_t x_part, int16_t y_part, int16_t w_bitmap, int16_t h_bitmap, int16_t x, int16_t y, int16_t w, int16_t h, bool invert=false, bool mirror_y=false, bool pgm=false) |
| void | drawImage (const uint8_t *black, const uint8_t *color, int16_t x, int16_t y, int16_t w, int16_t h, bool invert=false, bool mirror_y=false, bool pgm=false) |
| void | drawImagePart (const uint8_t *black, const uint8_t *color, int16_t x_part, int16_t y_part, int16_t w_bitmap, int16_t h_bitmap, int16_t x, int16_t y, int16_t w, int16_t h, bool invert=false, bool mirror_y=false, bool pgm=false) |
| void | drawNative (const uint8_t *data1, const uint8_t *data2, int16_t x, int16_t y, int16_t w, int16_t h, bool invert=false, bool mirror_y=false, bool pgm=false) |
| void | refresh (bool partial_update_mode=false) |
| void | refresh (int16_t x, int16_t y, int16_t w, int16_t h) |
| void | powerOff () |
| void | hibernate () |
Public Member Functions inherited from GxEPD2_EPD | |
| GxEPD2_EPD (int16_t cs, int16_t dc, int16_t rst, int16_t busy, int16_t busy_level, uint32_t busy_timeout, uint16_t w, uint16_t h, GxEPD2::Panel p, bool c, bool pu, bool fpu) | |
| virtual void | init (uint32_t serial_diag_bitrate=0) |
| virtual void | init (uint32_t serial_diag_bitrate, bool initial, uint16_t reset_duration=10, bool pulldown_rst_mode=false) |
| virtual void | writeImageForFullRefresh (const uint8_t bitmap[], int16_t x, int16_t y, int16_t w, int16_t h, bool invert=false, bool mirror_y=false, bool pgm=false) |
| virtual void | writeScreenBufferAgain (uint8_t value=0xFF) |
| virtual void | writeImageAgain (const uint8_t bitmap[], int16_t x, int16_t y, int16_t w, int16_t h, bool invert=false, bool mirror_y=false, bool pgm=false) |
| virtual void | writeImagePartAgain (const uint8_t bitmap[], int16_t x_part, int16_t y_part, int16_t w_bitmap, int16_t h_bitmap, int16_t x, int16_t y, int16_t w, int16_t h, bool invert=false, bool mirror_y=false, bool pgm=false) |
| virtual void | setPaged () |
| void | setBusyCallback (void(*busyCallback)(const void *), const void *busy_callback_parameter=0) |
| void | selectSPI (SPIClass &spi, SPISettings spi_settings) |
Static Public Attributes | |
| static const uint16_t | WIDTH = 640 |
| static const uint16_t | WIDTH_VISIBLE = WIDTH |
| static const uint16_t | HEIGHT = 384 |
| static const GxEPD2::Panel | panel = GxEPD2::GDEW075Z09 |
| static const bool | hasColor = true |
| static const bool | hasPartialUpdate = true |
| static const bool | hasFastPartialUpdate = false |
| static const uint16_t | power_on_time = 50 |
| static const uint16_t | power_off_time = 50 |
| static const uint16_t | full_refresh_time = 32000 |
| static const uint16_t | partial_refresh_time = 32000 |
Additional Inherited Members | |
Static Public Member Functions inherited from GxEPD2_EPD | |
| static uint16_t | gx_uint16_min (uint16_t a, uint16_t b) |
| static uint16_t | gx_uint16_max (uint16_t a, uint16_t b) |
Public Attributes inherited from GxEPD2_EPD | |
| const uint16_t | WIDTH |
| const uint16_t | HEIGHT |
| const GxEPD2::Panel | panel |
| const bool | hasColor |
| const bool | hasPartialUpdate |
| const bool | hasFastPartialUpdate |
Protected Member Functions inherited from GxEPD2_EPD | |
| void | _reset () |
| void | _waitWhileBusy (const char *comment=0, uint16_t busy_time=5000) |
| void | _writeCommand (uint8_t c) |
| void | _writeData (uint8_t d) |
| void | _writeData (const uint8_t *data, uint16_t n) |
| void | _writeDataPGM (const uint8_t *data, uint16_t n, int16_t fill_with_zeroes=0) |
| void | _writeDataPGM_sCS (const uint8_t *data, uint16_t n, int16_t fill_with_zeroes=0) |
| void | _writeCommandData (const uint8_t *pCommandData, uint8_t datalen) |
| void | _writeCommandDataPGM (const uint8_t *pCommandData, uint8_t datalen) |
| void | _startTransfer () |
| void | _transfer (uint8_t value) |
| void | _endTransfer () |
Protected Attributes inherited from GxEPD2_EPD | |
| int16_t | _cs |
| int16_t | _dc |
| int16_t | _rst |
| int16_t | _busy |
| int16_t | _busy_level |
| uint32_t | _busy_timeout |
| bool | _diag_enabled |
| bool | _pulldown_rst_mode |
| SPIClass * | _pSPIx |
| SPISettings | _spi_settings |
| bool | _initial_write |
| bool | _initial_refresh |
| bool | _power_is_on |
| bool | _using_partial_mode |
| bool | _hibernating |
| uint16_t | _reset_duration |
| void(* | _busy_callback )(const void *) |
| const void * | _busy_callback_parameter |
Definition at line 18 of file GxEPD2_750c.h.
| GxEPD2_750c::GxEPD2_750c | ( | int16_t | cs, |
| int16_t | dc, | ||
| int16_t | rst, | ||
| int16_t | busy ) |
Definition at line 15 of file GxEPD2_750c.cpp.
| void GxEPD2_750c::clearScreen | ( | uint8_t | black_value, |
| uint8_t | red_value ) |
Definition at line 38 of file GxEPD2_750c.cpp.
|
virtual |
Implements GxEPD2_EPD.
Definition at line 20 of file GxEPD2_750c.cpp.
| void GxEPD2_750c::drawImage | ( | const uint8_t * | black, |
| const uint8_t * | color, | ||
| int16_t | x, | ||
| int16_t | y, | ||
| int16_t | w, | ||
| int16_t | h, | ||
| bool | invert = false, | ||
| bool | mirror_y = false, | ||
| bool | pgm = false ) |
Definition at line 314 of file GxEPD2_750c.cpp.
| void GxEPD2_750c::drawImage | ( | const uint8_t | bitmap[], |
| int16_t | x, | ||
| int16_t | y, | ||
| int16_t | w, | ||
| int16_t | h, | ||
| bool | invert = false, | ||
| bool | mirror_y = false, | ||
| bool | pgm = false ) |
Definition at line 301 of file GxEPD2_750c.cpp.
| void GxEPD2_750c::drawImagePart | ( | const uint8_t * | black, |
| const uint8_t * | color, | ||
| int16_t | x_part, | ||
| int16_t | y_part, | ||
| int16_t | w_bitmap, | ||
| int16_t | h_bitmap, | ||
| int16_t | x, | ||
| int16_t | y, | ||
| int16_t | w, | ||
| int16_t | h, | ||
| bool | invert = false, | ||
| bool | mirror_y = false, | ||
| bool | pgm = false ) |
Definition at line 320 of file GxEPD2_750c.cpp.
| void GxEPD2_750c::drawImagePart | ( | const uint8_t | bitmap[], |
| int16_t | x_part, | ||
| int16_t | y_part, | ||
| int16_t | w_bitmap, | ||
| int16_t | h_bitmap, | ||
| int16_t | x, | ||
| int16_t | y, | ||
| int16_t | w, | ||
| int16_t | h, | ||
| bool | invert = false, | ||
| bool | mirror_y = false, | ||
| bool | pgm = false ) |
Definition at line 307 of file GxEPD2_750c.cpp.
| void GxEPD2_750c::drawNative | ( | const uint8_t * | data1, |
| const uint8_t * | data2, | ||
| int16_t | x, | ||
| int16_t | y, | ||
| int16_t | w, | ||
| int16_t | h, | ||
| bool | invert = false, | ||
| bool | mirror_y = false, | ||
| bool | pgm = false ) |
Definition at line 327 of file GxEPD2_750c.cpp.
|
virtual |
Implements GxEPD2_EPD.
Definition at line 363 of file GxEPD2_750c.cpp.
|
virtual |
|
virtual |
Implements GxEPD2_EPD.
Definition at line 333 of file GxEPD2_750c.cpp.
|
virtual |
Implements GxEPD2_EPD.
Definition at line 339 of file GxEPD2_750c.cpp.
| void GxEPD2_750c::writeImage | ( | const uint8_t * | black, |
| const uint8_t * | color, | ||
| int16_t | x, | ||
| int16_t | y, | ||
| int16_t | w, | ||
| int16_t | h, | ||
| bool | invert = false, | ||
| bool | mirror_y = false, | ||
| bool | pgm = false ) |
Definition at line 93 of file GxEPD2_750c.cpp.
|
virtual |
Implements GxEPD2_EPD.
Definition at line 88 of file GxEPD2_750c.cpp.
| void GxEPD2_750c::writeImagePart | ( | const uint8_t * | black, |
| const uint8_t * | color, | ||
| int16_t | x_part, | ||
| int16_t | y_part, | ||
| int16_t | w_bitmap, | ||
| int16_t | h_bitmap, | ||
| int16_t | x, | ||
| int16_t | y, | ||
| int16_t | w, | ||
| int16_t | h, | ||
| bool | invert = false, | ||
| bool | mirror_y = false, | ||
| bool | pgm = false ) |
Definition at line 170 of file GxEPD2_750c.cpp.
|
virtual |
Implements GxEPD2_EPD.
Definition at line 164 of file GxEPD2_750c.cpp.
| void GxEPD2_750c::writeNative | ( | const uint8_t * | data1, |
| const uint8_t * | data2, | ||
| int16_t | x, | ||
| int16_t | y, | ||
| int16_t | w, | ||
| int16_t | h, | ||
| bool | invert = false, | ||
| bool | mirror_y = false, | ||
| bool | pgm = false ) |
Definition at line 249 of file GxEPD2_750c.cpp.
| void GxEPD2_750c::writeScreenBuffer | ( | uint8_t | black_value, |
| uint8_t | red_value ) |
Definition at line 72 of file GxEPD2_750c.cpp.
|
virtual |
Implements GxEPD2_EPD.
Definition at line 55 of file GxEPD2_750c.cpp.
|
static |
Definition at line 31 of file GxEPD2_750c.h.
|
static |
Definition at line 26 of file GxEPD2_750c.h.
|
static |
Definition at line 28 of file GxEPD2_750c.h.
|
static |
Definition at line 27 of file GxEPD2_750c.h.
|
static |
Definition at line 24 of file GxEPD2_750c.h.
|
static |
Definition at line 25 of file GxEPD2_750c.h.
|
static |
Definition at line 32 of file GxEPD2_750c.h.
|
static |
Definition at line 30 of file GxEPD2_750c.h.
|
static |
Definition at line 29 of file GxEPD2_750c.h.
|
static |
Definition at line 22 of file GxEPD2_750c.h.
|
static |
Definition at line 23 of file GxEPD2_750c.h.