| Paperd.Ink Library 0.0.5
    Library for interacting with Paperd.Ink devices. | 
#include <GxEPD2_420c_Z21.h>
 
  
| Public Member Functions | |
| GxEPD2_420c_Z21 (int16_t cs, int16_t dc, int16_t rst, int16_t busy) | |
| void | clearScreen (uint8_t value=0xFF) | 
| void | clearScreen (uint8_t black_value, uint8_t color_value) | 
| void | writeScreenBuffer (uint8_t value=0xFF) | 
| void | writeScreenBuffer (uint8_t black_value, uint8_t color_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 = 400 | 
| static const uint16_t | WIDTH_VISIBLE = WIDTH | 
| static const uint16_t | HEIGHT = 300 | 
| static const GxEPD2::Panel | panel = GxEPD2::GDEQ042Z21 | 
| static const bool | hasColor = true | 
| static const bool | hasPartialUpdate = true | 
| static const bool | usePartialUpdateWindow = 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 = 16000 | 
| static const uint16_t | partial_refresh_time = 16000 | 
| 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 19 of file GxEPD2_420c_Z21.h.
| GxEPD2_420c_Z21::GxEPD2_420c_Z21 | ( | int16_t | cs, | 
| int16_t | dc, | ||
| int16_t | rst, | ||
| int16_t | busy ) | 
Definition at line 16 of file GxEPD2_420c_Z21.cpp.
| void GxEPD2_420c_Z21::clearScreen | ( | uint8_t | black_value, | 
| uint8_t | color_value ) | 
Definition at line 26 of file GxEPD2_420c_Z21.cpp.
| 
 | virtual | 
Implements GxEPD2_EPD.
Definition at line 21 of file GxEPD2_420c_Z21.cpp.
| void GxEPD2_420c_Z21::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 276 of file GxEPD2_420c_Z21.cpp.
| void GxEPD2_420c_Z21::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 263 of file GxEPD2_420c_Z21.cpp.
| void GxEPD2_420c_Z21::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 282 of file GxEPD2_420c_Z21.cpp.
| void GxEPD2_420c_Z21::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 269 of file GxEPD2_420c_Z21.cpp.
| void GxEPD2_420c_Z21::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 289 of file GxEPD2_420c_Z21.cpp.
| 
 | virtual | 
Implements GxEPD2_EPD.
Definition at line 327 of file GxEPD2_420c_Z21.cpp.
| 
 | virtual | 
Implements GxEPD2_EPD.
Definition at line 322 of file GxEPD2_420c_Z21.cpp.
| 
 | virtual | 
Implements GxEPD2_EPD.
Definition at line 295 of file GxEPD2_420c_Z21.cpp.
| 
 | virtual | 
Implements GxEPD2_EPD.
Definition at line 301 of file GxEPD2_420c_Z21.cpp.
| void GxEPD2_420c_Z21::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 83 of file GxEPD2_420c_Z21.cpp.
| 
 | virtual | 
Implements GxEPD2_EPD.
Definition at line 78 of file GxEPD2_420c_Z21.cpp.
| void GxEPD2_420c_Z21::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_420c_Z21.cpp.
| 
 | virtual | 
Implements GxEPD2_EPD.
Definition at line 164 of file GxEPD2_420c_Z21.cpp.
| void GxEPD2_420c_Z21::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 255 of file GxEPD2_420c_Z21.cpp.
| void GxEPD2_420c_Z21::writeScreenBuffer | ( | uint8_t | black_value, | 
| uint8_t | color_value ) | 
Definition at line 55 of file GxEPD2_420c_Z21.cpp.
| 
 | virtual | 
Implements GxEPD2_EPD.
Definition at line 50 of file GxEPD2_420c_Z21.cpp.
| 
 | static | 
Definition at line 33 of file GxEPD2_420c_Z21.h.
| 
 | static | 
Definition at line 27 of file GxEPD2_420c_Z21.h.
| 
 | static | 
Definition at line 30 of file GxEPD2_420c_Z21.h.
| 
 | static | 
Definition at line 28 of file GxEPD2_420c_Z21.h.
| 
 | static | 
Definition at line 25 of file GxEPD2_420c_Z21.h.
| 
 | static | 
Definition at line 26 of file GxEPD2_420c_Z21.h.
| 
 | static | 
Definition at line 34 of file GxEPD2_420c_Z21.h.
| 
 | static | 
Definition at line 32 of file GxEPD2_420c_Z21.h.
| 
 | static | 
Definition at line 31 of file GxEPD2_420c_Z21.h.
| 
 | static | 
Definition at line 29 of file GxEPD2_420c_Z21.h.
| 
 | static | 
Definition at line 23 of file GxEPD2_420c_Z21.h.
| 
 | static | 
Definition at line 24 of file GxEPD2_420c_Z21.h.