迪文科技论坛

 找回密码
 立即注册
搜索
查看: 871|回复: 0

[DEMO]DMG12480C068_03W T5L DGUS II project

[复制链接]

542

主题

159

回帖

1万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
10522
发表于 2020-9-3 20:48:58 | 显示全部楼层 |阅读模式
The demo mainly demonstrates the main functions of the T5L_DGUSII platform,For a better demo, the description pointer and the 22. Bin file of power-on loading data are used.
For example,
(1)Turn touch sounds on or off
The variable address of 0x80 starts with a 2-word storage instruction:OFF(0x):5A 00 00 71,ON:5A 00 00 79.
So,we just need store the instruction into the 22.bin file that can load data to RAM when power-on,
And then,configure the sync control,after pressing, load the data to 0x80 to close and open the touch sound.

(2)Reset
The variable address of 0x0004 starts with a 2-word storage instruction(0x):55 AA 5A A5,
So,we just need store the instruction into the 22.bin file that can load data to RAM when power-on,
And then,configure the sync control,after pressing, load the data to 0x0004 to reset.

(3)Music playback
The hardware configuration file is configured to play music,
Select play voice ID and touch it to play.

(4)Synchrodata return
There are three states: first press, continuous press, and release press. So a pinch returns three sets of data to a specified variable space.
For example,
Press different Numbers to correspond to changes in 3 groups of ICONS,in the demo.

(5)HEX
Firstly,store the HEX data to be displayed into the 22.bin file that can load data to RAM when power-on, so the HEX control page displays the HEX data.
BCD function:
The HEX control turns the BCD function on and off by encapsulating the properties of the control with a description pointer, and by modifying the description information in conjunction with key value returns.
For example,
The data(11 22 33 44 1A 1B 1C 1D) is stored in the address of 2080H of the 22.bin file,The description pointer is set to 2010H.
As we know,the high_byte of the address of 2014H controls the statue of BCD function,so Write 0x86 to the 2014H high byte to enable BCD function,0x06 to disable.

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|迪文科技论坛 ( 京ICP备05033781号-1 )

GMT+8, 2024-4-27 17:03 , Processed in 0.070879 second(s), 22 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表