FreeCalypso > hg > tcs211-pirelli
comparison chipsetsw/drivers/drv_app/r2d/lcds/E_Sample/r2d_tfd_lcd.h @ 0:509db1a7b7b8
initial import: leo2moko-r1
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 01 Jun 2015 03:24:05 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:509db1a7b7b8 |
---|---|
1 #ifndef _R2D_ESAMPLE_CMDS_H_ | |
2 #define _R2D_ESAMPLE_CMDS_H_ | |
3 | |
4 // #define LCD_activate *(volatile unsigned short*) 0x2400004 = 0xA6 | |
5 // #define LCD_deactivate *(volatile unsigned short*) 0x2400000 = 0xA6 | |
6 | |
7 | |
8 #define LCD_DISON 0xAF | |
9 #define LCD_DISOFF 0xAE | |
10 #define LCD_DISNOR 0xA6 | |
11 #define LCD_DISINV 0xA7 | |
12 #define LCD_DISCTL 0xCA | |
13 #define LCD_GCP64 0xCB | |
14 #define LCD_GCP16 0xCC | |
15 #define LCD_GSSET 0xCD | |
16 #define LCD_SLPIN 0x95 | |
17 #define LCD_SLPOUT 0x94 | |
18 #define LCD_SD_PSET 0x75 | |
19 #define LCD_MD_PSET 0x76 | |
20 #define LCD_SD_CSET 0x15 | |
21 #define LCD_MD_CSET 0x16 | |
22 #define LCD_DATCTL 0xBC | |
23 #define LCD_RAMWR 0x5C | |
24 #define LCD_RAMRD 0x5D | |
25 #define LCD_PTLIN 0xA8 | |
26 #define LCD_PTLOUT 0xA9 | |
27 #define LCD_ASCSET 0xAA | |
28 #define LCD_SCSTART 0xAB | |
29 #define LCD_VOLCTL 0xC6 | |
30 #define LCD_NOP 0x25 | |
31 #define LCD_OSCISEL 0x7 | |
32 #define LCD_3500KSET 0xD1 | |
33 #define LCD_3500KEND 0xD2 | |
34 #define LCD_14MSET 0xD3 | |
35 #define LCD_14MEND 0xD4 | |
36 | |
37 | |
38 | |
39 #define INIT_3500KSET 0x45 | |
40 #define INIT_14MSET 0x4B | |
41 #define INIT_DATCTL 0x28 /* 5.6.5 bits for D-Sample */ | |
42 | |
43 #define INIT_OSCISEL 0x05 | |
44 #define INIT_VOLCTL 0x1A /* 0x16*/ /* Nominel "volume" */ | |
45 #define INIT_VOLCTL_Ton 0x98 /* Activate power-IC timer */ | |
46 #define INIT_GSSET 0x00 | |
47 | |
48 #define DISCTL_PARAM_NBR 11 | |
49 #define GCP64_PARAM_NBR 126 | |
50 #define GCP16_PARAM_NBR 15 | |
51 #define MD_PSET_PARAM_NBR 4 | |
52 #define MD_CSET_PARAM_NBR 4 | |
53 #define SD_PSET_PARAM_NBR 4 | |
54 #define SD_CSET_PARAM_NBR 4 | |
55 #define ASCSET_PARAM_NBR 7 | |
56 #define SCSTART_PARAM_NBR 2 | |
57 | |
58 /* | |
59 extern const unsigned char INIT_DISCTL[DISCTL_PARAM_NBR]; | |
60 extern const unsigned char INIT_GCP64[GCP64_PARAM_NBR]; | |
61 extern const unsigned char INIT_GCP16[GCP16_PARAM_NBR]; | |
62 extern const unsigned char INIT_MD_PSET[MD_PSET_PARAM_NBR]; | |
63 extern const unsigned char INIT_MD_CSET[MD_CSET_PARAM_NBR] ; | |
64 | |
65 extern const unsigned char INIT_SD_PSET[SD_PSET_PARAM_NBR]; | |
66 extern const unsigned char INIT_SD_CSET[SD_CSET_PARAM_NBR]; | |
67 | |
68 extern const unsigned char INIT_ASCSET[ASCSET_PARAM_NBR]; | |
69 extern const unsigned char INIT_SCSTART[SCSTART_PARAM_NBR]; | |
70 */ | |
71 #endif |