User manual

PROFESIONAL, CREDITABLE, SUCCESSFULL DWIN DGUS v2.0 Specification
Beijing DWIN Technology Co., Ltd. - 11 - www.dwin.com.cn/en
3 Data Format
Due to the aim of the embedded system application, considering conveniences of user proceed, DWIN DGUS v2.0
adopted integer (word), unsigned integer (word) and long integer (double word) for indicating the data as follows:
Integer: -32768 (0x8000) to +32767 (0x7FFF)
Unsigned integer: 0 (0x0000) to 65535 (0xFFFF)
Long integer: -2147483648 (0x80000000) to +2147483647 (0x7FFFFFFF)
Decimal indicated by fixed-point decimal representation that defined by user self, for example: 0x4D2(1234) indicats
12.34 if there are two decimal digits.
DWIN DGUS v2.0 adopted 65K-color systems as following color plate definition:
65K-color Definition
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Define
R4
R3
R2
R1
R0
G5
G4
G3
G2
G1
G0
B4
B3
B2
B1
B0
Red 0xF800
Green 0x07E0
Blue 0x001F