40 #ifndef __SHARPLCD_H__ 41 #define __SHARPLCD_H__ 55 #define MAX_PALETTE_COLORS 2 57 #define SHARP_BLACK 0x00 58 #define SHARP_WHITE 0xFF 60 #define SHARP_SEND_TOGGLE_VCOM_COMMAND 0x01 61 #define SHARP_SKIP_TOGGLE_VCOM_COMMAND 0x00 63 #define SHARP_LCD_TRAILER_BYTE 0x00 65 #define SHARP_VCOM_TOGGLE_BIT 0x40 66 #define SHARP_LCD_CMD_CHANGE_VCOM 0x00 67 #define SHARP_LCD_CMD_CLEAR_SCREEN 0x20 68 #define SHARP_LCD_CMD_WRITE_LINE 0x80 95 #define DPYCOLORTRANSLATE(c) ((c != 0) ? c = 1 : c) // Why not (!!c)? 103 extern const Graphics_Display_Functions
g_sharpFxns;
108 #endif // __SHARPLCD_H__
void SharpGrLib_init(SPI_Handle hSpi, uint32_t csPin)
SPI Global configuration.
Definition: SPI.h:714
void SharpGrLib_sendToggleVCOMCommand()
const Graphics_Display_Functions g_sharpFxns