]>
cvs.zerfleddert.de Git - proxmark3-svn/blob - armsrc/LCD.h
27971eba4fc91b04e20649272e76f53d4199998a
4 #define LCD_RESET_HIGH() PIO_OUTPUT_DATA_SET |= (1<<GPIO_LRST)
5 #define LCD_RESET_LOW() PIO_OUTPUT_DATA_CLEAR |= (1<<GPIO_LRST)
7 // The resolution of the LCD
11 // 8bpp Color Mode - Some basic colors defined for ease of use
12 // remember 8bpp color = 3xRed, 3xGreen & 2xBlue bits
13 // organised as RRRGGGBB
24 // EPSON LCD command set
31 #define EEPSRRD1 0x17C
32 #define EEPSRRD2 0x17D
42 #define ESCSTART 0x1AB
50 #define ERGBSET8 0x1CE
54 #define EVOLDOWN 0x1D7
60 // PHILIPS LCD command set
62 #define PSWRESET 0x101
63 #define PBSTROFF 0x102
65 #define PRDDIDIF 0x104
67 #define PSLEEPIN 0x110
68 #define PSLEEPOUT 0x111
76 #define PDISPOFF 0x128
83 #define PVSCRDEF 0x133
100 #define PTCVOPAB 0x1C3
101 #define PTCVOPCD 0x1C4
105 #define PRDTEMP 0x1C8
113 void LCDSend(unsigned int data
);
116 void LCDSetXY(unsigned char x
, unsigned char y
);
117 void LCDSetPixel(unsigned char x
, unsigned char y
, unsigned char color
);
118 void LCDString (char *lcd_string
, const char *font_style
,unsigned char x
, unsigned char y
, unsigned char fcolor
, unsigned char bcolor
);
119 void LCDFill (unsigned char xs
,unsigned char ys
,unsigned char width
,unsigned char height
, unsigned char color
);