]> git.zerfleddert.de Git - proxmark3-svn/blame - armsrc/LCD.h
Fix QT CXXFLAGS/LDFLAGS
[proxmark3-svn] / armsrc / LCD.h
CommitLineData
6658905f 1#ifndef __LCD\r
2#define __LCD\r
3\r
6658905f 4// The resolution of the LCD\r
5#define LCD_XRES 132\r
6#define LCD_YRES 132\r
7\r
8// 8bpp Color Mode - Some basic colors defined for ease of use\r
9// remember 8bpp color = 3xRed, 3xGreen & 2xBlue bits\r
10// organised as RRRGGGBB\r
11\r
12#define BLACK 0x00\r
13#define BLUE 0x03\r
14#define GREEN 0x1C\r
15#define CYAN 0x1F\r
16#define RED 0xE0\r
17#define MAGENTA 0xE3\r
18#define YELLOW 0xFC\r
19#define WHITE 0xFF\r
20\r
21// EPSON LCD command set\r
22#define ECASET 0x115\r
23#define EPWRCTR 0x120\r
24#define ENOP 0x125\r
25#define ERAMWR 0x15C\r
26#define ERAMRD 0x15D\r
27#define EPASET 0x175\r
28#define EEPSRRD1 0x17C\r
29#define EEPSRRD2 0x17D\r
30#define EVOLCTR 0x181\r
31#define ETMPGRD 0x182\r
32#define ESLPOUT 0x194\r
33#define ESLPIN 0x195\r
34#define EDISNOR 0x1A6\r
35#define EDISINV 0x1A7\r
36#define EPTLIN 0x1A8\r
37#define EPTLOUT 0x1A9\r
38#define EASCSET 0x1AA\r
39#define ESCSTART 0x1AB\r
40#define EDISOFF 0x1AE\r
41#define EDISON 0x1AF\r
42#define ECOMSCN 0x1BB\r
43#define EDATCTL 0x1BC\r
44#define EDISCTL 0x1CA\r
45#define EEPCOUT 0x1CC\r
46#define EEPCTIN 0x1CD\r
47#define ERGBSET8 0x1CE\r
48#define EOSCON 0x1D1\r
49#define EOSCOFF 0x1D2\r
50#define EVOLUP 0x1D6\r
51#define EVOLDOWN 0x1D7\r
52#define ERMWIN 0x1E0\r
53#define ERMWOUT 0x1EE\r
54#define EEPMWR 0x1FC\r
55#define EEPMRD 0x1FD\r
56\r
57// PHILIPS LCD command set\r
58#define PNOP 0x100\r
59#define PSWRESET 0x101\r
60#define PBSTROFF 0x102\r
61#define PBSTRON 0x103\r
62#define PRDDIDIF 0x104\r
63#define PRDDST 0x109\r
64#define PSLEEPIN 0x110\r
65#define PSLEEPOUT 0x111\r
66#define PPTLON 0x112\r
67#define PNORON 0x113\r
68#define PINVOFF 0x120\r
69#define PINVON 0x121\r
70#define PDALO 0x122\r
71#define PDAL 0x123\r
72#define PSETCON 0x125\r
73#define PDISPOFF 0x128\r
74#define PDISPON 0x129\r
75#define PCASET 0x12A\r
76#define PPASET 0x12B\r
77#define PRAMWR 0x12C\r
78#define PRGBSET 0x12D\r
79#define PPTLAR 0x130\r
80#define PVSCRDEF 0x133\r
81#define PTEOFF 0x134\r
82#define PTEON 0x135\r
83#define PMADCTL 0x136\r
84#define PSEP 0x137\r
85#define PIDMOFF 0x138\r
86#define PIDMON 0x139\r
87#define PCOLMOD 0x13A\r
88#define PSETVOP 0x1B0\r
89#define PBRS 0x1B4\r
90#define PTRS 0x1B6\r
91#define PFINV 0x1B9\r
92#define PDOR 0x1BA\r
93#define PTCDFE 0x1BD\r
94#define PTCVOPE 0x1BF\r
95#define PEC 0x1C0\r
96#define PSETMUL 0x1C2\r
97#define PTCVOPAB 0x1C3\r
98#define PTCVOPCD 0x1C4\r
99#define PTCDF 0x1C5\r
100#define PDF8C 0x1C6\r
101#define PSETBS 0x1C7\r
102#define PRDTEMP 0x1C8\r
103#define PNLI 0x1C9\r
104#define PRDID1 0x1DA\r
105#define PRDID2 0x1DB\r
106#define PRDID3 0x1DC\r
107#define PSFD 0x1EF\r
108#define PECM 0x1F0\r
109\r
110void LCDSend(unsigned int data);\r
111void LCDInit(void);\r
112void LCDReset(void);\r
113void LCDSetXY(unsigned char x, unsigned char y);\r
114void LCDSetPixel(unsigned char x, unsigned char y, unsigned char color);\r
115void LCDString (char *lcd_string, const char *font_style,unsigned char x, unsigned char y, unsigned char fcolor, unsigned char bcolor);\r
116void LCDFill (unsigned char xs,unsigned char ys,unsigned char width,unsigned char height, unsigned char color);\r
117#endif\r
Impressum, Datenschutz