TI-RTOS Drivers  tidrivers_full_2_20_00_08
Macros | Functions | Variables
SharpGrLib.h File Reference
#include <ti/drivers/PIN.h>
#include <ti/drivers/SPI.h>
Include dependency graph for SharpGrLib.h:

Go to the source code of this file.

Macros

#define LANDSCAPE
 
#define MAX_PALETTE_COLORS   2
 
#define SHARP_BLACK   0x00
 
#define SHARP_WHITE   0xFF
 
#define SHARP_SEND_TOGGLE_VCOM_COMMAND   0x01
 
#define SHARP_SKIP_TOGGLE_VCOM_COMMAND   0x00
 
#define SHARP_LCD_TRAILER_BYTE   0x00
 
#define SHARP_VCOM_TOGGLE_BIT   0x40
 
#define SHARP_LCD_CMD_CHANGE_VCOM   0x00
 
#define SHARP_LCD_CMD_CLEAR_SCREEN   0x20
 
#define SHARP_LCD_CMD_WRITE_LINE   0x80
 
#define DPYCOLORTRANSLATE(c)   ((c != 0) ? c = 1 : c)
 

Functions

void SharpGrLib_sendToggleVCOMCommand ()
 
void SharpGrLib_init (SPI_Handle hSpi, PIN_Handle hPin, PIN_Id csPin)
 

Variables

const tDisplayFxns g_sharpFxns
 

Macro Definition Documentation

#define LANDSCAPE
#define MAX_PALETTE_COLORS   2
#define SHARP_BLACK   0x00
#define SHARP_WHITE   0xFF
#define SHARP_SEND_TOGGLE_VCOM_COMMAND   0x01
#define SHARP_SKIP_TOGGLE_VCOM_COMMAND   0x00
#define SHARP_LCD_TRAILER_BYTE   0x00
#define SHARP_VCOM_TOGGLE_BIT   0x40
#define SHARP_LCD_CMD_CHANGE_VCOM   0x00
#define SHARP_LCD_CMD_CLEAR_SCREEN   0x20
#define SHARP_LCD_CMD_WRITE_LINE   0x80
#define DPYCOLORTRANSLATE (   c)    ((c != 0) ? c = 1 : c)

Function Documentation

void SharpGrLib_sendToggleVCOMCommand ( )
void SharpGrLib_init ( SPI_Handle  hSpi,
PIN_Handle  hPin,
PIN_Id  csPin 
)

Variable Documentation

const tDisplayFxns g_sharpFxns
Copyright 2016, Texas Instruments Incorporated