User manual

PROFESIONAL, CREDITABLE, SUCCESSFULL DWIN DGUS v2.0 Specification
Beijing DWIN Technology Co., Ltd. - 7 - www.dwin.com.cn/en
Images Space
DWIN DGUS v2.0 software use 224MB (256MB K600+) or 2016MB (2GB K600+) to save the images,
corresponding to different resolution, can save a number of pictures as the table below.
Screen Resolution
256MB K600+
2GB K600+
320×240
869
7807
480×272
869
7807
640×480
290
2602
800×480
290
2602
800×600
217
1952
1024×600
174
1561
1024×768
145
1301
Register Space
Dwin DGUS v2.0 software provides one register interface (256 Bytes), used for processing hardware or image
display etc. The register space is defined as follows:
Register Address
Definition
Byte length
Description
0x00
Version
1
DGUS version number, BCD code, 0x20 indicates V2.0
0x01
LED_NOW
1
LED brightness control register, 0x00-0x40
0x02
BZ_TIME
1
The buzzer control register: Unit is 10mS
0x03
PIC_ID
2
Reading: the current display page ID
Writing: switch to a specified page(process control)
0x05
TP_Flag
1
0x5A=there are updating news for touch panel;
Others= no updating.
Touch panel data is no longer updated if user did not clear the flag after
data retrieving
0x06
TP_Status
1
0x01=press in first time; 0x03=keep pressing; 0x02=uplift pressing;
Others=invalid
0x07
TP_Position
4
Coordinate of touching position: X_H:Y_H:L
0x0B
TPC_Enable
1
0x00=Disable the Touch panel. Others=Touch panel is enabled.(The
default is 0xFF)
0x0C-0x0F
Retained
4
Undefined
0x10-0x1A
R0-RA
11
Mapping of SD card config. register, only read for serial port, valid for
writing
0x1F
RTC_COM_ADJ
1
0x5A=RTC data is rewritten through serial port. Cleared when RTC is
modified by DGUS.
0x20
RTC_NOW
16
YY:MM:DD:WW:HH:MM:SS
0x30-0x3F
Retention
16
Undefined
0x40
En_Lib_OP
1
0x5A indicates user apply for doing operation in Font Storage, value will
be cleared after the operation is done.
0x41
Lib_OP_Mode
1
0x50: Transfer the specified data in the variable storage space to specified
font storage.
0xA0: Transfer the specified data in the font storage to variable storage.
0x42
Lib_ID
1
Specified font storage space, 0x40-0x7F, 128K Words each font library
file, maximum capacity is 8M Words (16MB).
0x43
Lib_Address
3
Specified the first (Word) address for data operation in Font storage,
0x00:00:00-0x01:FF:FF
0x46
VP
2
Specified the first (Word) address for data operation in Variables storage,
0x00:00-0x6F:FF
0x48
OP_Length
2
Word Length of data operation, 0x00:01-0x6F:FF
0x4A-0xFF
Retention
182
Undefined
Register space accessed by Command 0x80/0x81
Variable data memory space
DWIN DGUS v2.0 provides 28KW (56KB) SRAM as data memory for GUI variables data storage, and being as