39 #ifndef __SHARPLCD_H__ 40 #define __SHARPLCD_H__ 54 #define MAX_PALETTE_COLORS 2 56 #define SHARP_BLACK 0x00 57 #define SHARP_WHITE 0xFF 59 #define SHARP_SEND_TOGGLE_VCOM_COMMAND 0x01 60 #define SHARP_SKIP_TOGGLE_VCOM_COMMAND 0x00 62 #define SHARP_LCD_TRAILER_BYTE 0x00 64 #define SHARP_VCOM_TOGGLE_BIT 0x40 65 #define SHARP_LCD_CMD_CHANGE_VCOM 0x00 66 #define SHARP_LCD_CMD_CLEAR_SCREEN 0x20 67 #define SHARP_LCD_CMD_WRITE_LINE 0x80 93 #define DPYCOLORTRANSLATE(c) ((c != 0) ? c = 1 : c) // Why not (!!c)? 100 extern const Graphics_Display_Functions
g_sharpFxns;
105 #endif // __SHARPLCD_H__ Serial Peripheral Interface (SPI) Driver Interface.
void SharpGrLib_init(SPI_Handle hSpi, uint32_t csPin)
SPI Global configuration.
Definition: SPI.h:750
const Graphics_Display_Functions g_sharpFxns
void SharpGrLib_sendToggleVCOMCommand(void)