Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
|
Go to the source code of this file.
Macros | |
#define | SIF_SSD1608_BUSY_PIN 31 |
#define | SIF_SSD1608_RST_PIN 15 |
#define | SIF_SSD1608_DC_PIN 34 |
#define | SIF_SSD1608_BUSY_TIMEOUT 4000 |
#define | SIF_SSD1608_WIDTH_PHYSICAL 200 |
#define | SIF_SSD1608_HEIGHT_PHYSICAL 200 |
#define | SIF_SSD1608_WIDTH_WINDOW 192 |
#define | SIF_SSD1608_HEIGHT_WINDOW 200 |
#define | SIF_SSD1608_WIDTH (SIF_SSD1608_WIDTH_WINDOW / 2) |
#define | SIF_SSD1608_HEIGHT (SIF_SSD1608_WIDTH_WINDOW / 2) |
#define | ARRAY_SIZE (SIF_SSD1608_HEIGHT * SIF_SSD1608_WIDTH / 8) |
#define | SIF_SSD1608_TUPDATE_PARTIAL 350 |
#define | SIF_SSD1608_TUPDATE_FULL 1050 |
Enumerations | |
enum | SIF_SSD1608_Update_Mode { FULL_UPDATE = 0 , PARTIAL_UPDATE } |
enum | SIF_SSD1608_Clear_Mode { WITH_CLEAR = 0 , WITHOUT_CLEAR } |
Functions | |
ca_error | SIF_SSD1608_Initialise (SIF_SSD1608_Update_Mode mode) |
EINK Initialisation. More... | |
void | SIF_SSD1608_Deinitialise (void) |
EINK De-Initialisation. More... | |
void | SIF_SSD1608_ClearDisplay (void) |
Clears the display. More... | |
void | SIF_SSD1608_StrongClearDisplay (void) |
Clears the display many times to make sure there is no ghost image. More... | |
void | SIF_SSD1608_DeepSleep (void) |
Enter deep sleep mode. More... | |
ca_error | SIF_SSD1608_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_SSD1608_DisplayImage (const uint8_t *image, SIF_SSD1608_Clear_Mode mode, bool full_resolution) |
Follows Routines for clearing, waiting and displaying the image. More... | |
void | SIF_SSD1608_DisplayImageNoWait (const uint8_t *image, SIF_SSD1608_Clear_Mode mode, bool full_resolution) |
Same as SIF_SSD1608_DisplayImage() but does not wait for busy. More... | |
ca_error | SIF_SSD1608_PowerDown (void *aContext) |
callback function for power-down when not waiting for busy signal More... | |
Variables | |
bool | sif_ssd1608_display_is_busy |