36 #ifndef SIF_SIF_IL3820_H
37 #define SIF_SIF_IL3820_H
47 #ifndef CASCODA_CHILI2_CONFIG
48 #error CASCODA_CHILI2_CONFIG has to be defined! Please include the file "cascoda_chili_config.h"
68 #define SIF_IL3820_BUSY_PIN 31
70 #if (CASCODA_CHILI2_CONFIG == 2)
71 #define SIF_IL3820_RST_PIN 5
73 #define SIF_IL3820_RST_PIN 15
76 #define SIF_IL3820_DC_PIN 34
80 #define SIF_IL3820_BUSY_TIMEOUT 5000
83 #define SIF_IL3820_WIDTH 128
84 #define SIF_IL3820_HEIGHT 296
87 #define ARRAY_SIZE (SIF_IL3820_HEIGHT * SIF_IL3820_WIDTH / 8)
Global error declarations for use across the Cascoda SDK.
void SIF_IL3820_StrongClearDisplay(void)
Clears the display many times to make sure there is no ghost image.
Definition: sif_il3820.c:415
SIF_IL3820_Clear_Mode
Definition: sif_il3820.h:98
void SIF_IL3820_DisplayImage(const uint8_t *image, SIF_IL3820_Clear_Mode mode)
Follows Routines for clearing, waiting and displaying the image.
Definition: sif_il3820.c:447
ca_error SIF_IL3820_overlay_qr_code(const char *text, uint8_t *image, uint8_t scale, uint8_t x, uint8_t y)
Creates a QR code and overlays it on top of a pre-existing image at the given coordinates.
Definition: sif_il3820.c:430
SIF_IL3820_Update_Mode
Definition: sif_il3820.h:91
void SIF_IL3820_Deinitialise(void)
EINK De-Initialisation.
Definition: sif_il3820.c:348
void SIF_IL3820_ClearDisplay(void)
Clears the display.
Definition: sif_il3820.c:392
ca_error SIF_IL3820_Initialise(SIF_IL3820_Update_Mode mode)
EINK Initialisation.
Definition: sif_il3820.c:313
void SIF_IL3820_DeepSleep(void)
Enter deep sleep mode.
Definition: sif_il3820.c:422
@ WITH_CLEAR
Definition: sif_il3820.h:99
@ WITHOUT_CLEAR
Definition: sif_il3820.h:100
@ PARTIAL_UPDATE
Definition: sif_il3820.h:93
@ FULL_UPDATE
Definition: sif_il3820.h:92
ca_error
Cascoda error type.
Definition: ca821x_error.h:51