Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
sif_il3820.h File Reference
#include <stdint.h>
#include "ca821x_error.h"
#include "cascoda_chili_config.h"
Include dependency graph for sif_il3820.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SIF_IL3820_BUSY_PIN   31
 
#define SIF_IL3820_RST_PIN   15
 
#define SIF_IL3820_DC_PIN   34
 
#define SIF_IL3820_BUSY_TIMEOUT   5000
 
#define SIF_IL3820_WIDTH   128
 
#define SIF_IL3820_HEIGHT   296
 
#define ARRAY_SIZE   (SIF_IL3820_HEIGHT * SIF_IL3820_WIDTH / 8)
 

Enumerations

enum  SIF_IL3820_Update_Mode { FULL_UPDATE = 0 , PARTIAL_UPDATE }
 
enum  SIF_IL3820_Clear_Mode { WITH_CLEAR = 0 , WITHOUT_CLEAR }
 

Functions

ca_error SIF_IL3820_Initialise (SIF_IL3820_Update_Mode mode)
 EINK Initialisation. More...
 
void SIF_IL3820_Deinitialise (void)
 EINK De-Initialisation. More...
 
void SIF_IL3820_ClearDisplay (void)
 Clears the display. More...
 
void SIF_IL3820_StrongClearDisplay (void)
 Clears the display many times to make sure there is no ghost image. More...
 
void SIF_IL3820_DeepSleep (void)
 Enter deep sleep mode. More...
 
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. More...
 
void SIF_IL3820_DisplayImage (const uint8_t *image, SIF_IL3820_Clear_Mode mode)
 Follows Routines for clearing, waiting and displaying the image. More...