OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [CORTEX_AT91SAM3U256_IAR/] [AT91Lib/] [drivers/] [lcd/] [color.h] - Blame information for rev 580

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 580 jeremybenn
/* ----------------------------------------------------------------------------
2
 *         ATMEL Microcontroller Software Support
3
 * ----------------------------------------------------------------------------
4
 * Copyright (c) 2008, Atmel Corporation
5
 *
6
 * All rights reserved.
7
 *
8
 * Redistribution and use in source and binary forms, with or without
9
 * modification, are permitted provided that the following conditions are met:
10
 *
11
 * - Redistributions of source code must retain the above copyright notice,
12
 * this list of conditions and the disclaimer below.
13
 *
14
 * Atmel's name may not be used to endorse or promote products derived from
15
 * this software without specific prior written permission.
16
 *
17
 * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR
18
 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
19
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
20
 * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT,
21
 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
22
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
23
 * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
24
 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
25
 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
26
 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
 * ----------------------------------------------------------------------------
28
 */
29
 
30
#ifndef COLOR_H
31
#define COLOR_H
32
 
33
//------------------------------------------------------------------------------
34
/// RGB 24 Bpp
35
/// RGB 888
36
/// R7R6R5R4 R3R2R1R0 G7G6G5G4 G3G2G1G0 B7B6B5B4 B3B2B1B0
37
//------------------------------------------------------------------------------
38
#define COLOR_BLACK          0x000000
39
#define COLOR_WHITE          0xFFFFFF
40
 
41
#define COLOR_BLUE           0x0000FF
42
#define COLOR_GREEN          0x00FF00
43
#define COLOR_RED            0xFF0000
44
 
45
#define COLOR_NAVY           0x000080
46
#define COLOR_DARKBLUE       0x00008B
47
#define COLOR_DARKGREEN      0x006400
48
#define COLOR_DARKCYAN       0x008B8B
49
#define COLOR_CYAN           0x00FFFF
50
#define COLOR_TURQUOISE      0x40E0D0
51
#define COLOR_INDIGO         0x4B0082
52
#define COLOR_DARKRED        0x800000
53
#define COLOR_OLIVE          0x808000
54
#define COLOR_GRAY           0x808080
55
#define COLOR_SKYBLUE        0x87CEEB
56
#define COLOR_BLUEVIOLET     0x8A2BE2
57
#define COLOR_LIGHTGREEN     0x90EE90
58
#define COLOR_DARKVIOLET     0x9400D3
59
#define COLOR_YELLOWGREEN    0x9ACD32
60
#define COLOR_BROWN          0xA52A2A
61
#define COLOR_DARKGRAY       0xA9A9A9
62
#define COLOR_SIENNA         0xA0522D
63
#define COLOR_LIGHTBLUE      0xADD8E6
64
#define COLOR_GREENYELLOW    0xADFF2F
65
#define COLOR_SILVER         0xC0C0C0
66
#define COLOR_LIGHTGREY      0xD3D3D3
67
#define COLOR_LIGHTCYAN      0xE0FFFF
68
#define COLOR_VIOLET         0xEE82EE
69
#define COLOR_AZUR           0xF0FFFF
70
#define COLOR_BEIGE          0xF5F5DC
71
#define COLOR_MAGENTA        0xFF00FF
72
#define COLOR_TOMATO         0xFF6347
73
#define COLOR_GOLD           0xFFD700
74
#define COLOR_ORANGE         0xFFA500
75
#define COLOR_SNOW           0xFFFAFA
76
#define COLOR_YELLOW         0xFFFF00
77
 
78
#endif // #define COLOR_H
79
 
80
 
81
 
82
 
83
 
84
 
85
 
86
 
87
 
88
 
89
 
90
 
91
 
92
 
93
 
94
 
95
 
96
 
97
 
98
 
99
 
100
 
101
 
102
 
103
 
104
 
105
 
106
 
107
 
108
 
109
 
110
 
111
 
112
 
113
 
114
 
115
 
116
 
117
 
118
 
119
 
120
 
121
 
122
 
123
 
124
 
125
 
126
 
127
 
128
 
129
 
130
 
131
 
132
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.