虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

嵌入式<b>应用</b>

  • 一:需求分析 1. 问题描述 魔王总是使用自己的一种非常精练而抽象的语言讲话,没人能听懂,但他的语言是可逐步解释成人能听懂的语言,因为他的语言是由以下两种形式的规则由人的语言逐步抽象上去的: -

    一:需求分析 1. 问题描述 魔王总是使用自己的一种非常精练而抽象的语言讲话,没人能听懂,但他的语言是可逐步解释成人能听懂的语言,因为他的语言是由以下两种形式的规则由人的语言逐步抽象上去的: ----------------------------------------------------------- (1) a---> (B1)(B2)....(Bm) (2)[(op1)(p2)...(pn)]---->[o(pn)][o(p(n-1))].....[o(p1)o] ----------------------------------------------------------- 在这两种形式中,从左到右均表示解释.试写一个魔王语言的解释系统,把 他的话解释成人能听得懂的话. 2. 基本要求: 用下述两条具体规则和上述规则形式(2)实现.设大写字母表示魔王语言的词汇 小写字母表示人的语言的词汇 希腊字母表示可以用大写字母或小写字母代换的变量.魔王语言可含人的词汇. (1) B --> tAdA (2) A --> sae 3. 测试数据: B(ehnxgz)B 解释成 tsaedsaeezegexenehetsaedsae若将小写字母与汉字建立下表所示的对应关系,则魔王说的话是:"天上一只鹅地上一只鹅鹅追鹅赶鹅下鹅蛋鹅恨鹅天上一只鹅地上一只鹅". | t | d | s | a | e | z | g | x | n | h | | 天 | 地 | 上 | 一只| 鹅 | 追 | 赶 | 下 | 蛋 | 恨 |

    标签: 语言 抽象

    上传时间: 2014-12-02

    上传用户:jkhjkh1982

  • We have a group of N items (represented by integers from 1 to N), and we know that there is some tot

    We have a group of N items (represented by integers from 1 to N), and we know that there is some total order defined for these items. You may assume that no two elements will be equal (for all a, b: a<b or b<a). However, it is expensive to compare two items. Your task is to make a number of comparisons, and then output the sorted order. The cost of determining if a < b is given by the bth integer of element a of costs (space delimited), which is the same as the ath integer of element b. Naturally, you will be judged on the total cost of the comparisons you make before outputting the sorted order. If your order is incorrect, you will receive a 0. Otherwise, your score will be opt/cost, where opt is the best cost anyone has achieved and cost is the total cost of the comparisons you make (so your score for a test case will be between 0 and 1). Your score for the problem will simply be the sum of your scores for the individual test cases.

    标签: represented integers group items

    上传时间: 2016-01-17

    上传用户:jeffery

  • The XML Toolbox converts MATLAB data types (such as double, char, struct, complex, sparse, logical)

    The XML Toolbox converts MATLAB data types (such as double, char, struct, complex, sparse, logical) of any level of nesting to XML format and vice versa. For example, >> project.name = MyProject >> project.id = 1234 >> project.param.a = 3.1415 >> project.param.b = 42 becomes with str=xml_format(project, off ) "<project> <name>MyProject</name> <id>1234</id> <param> <a>3.1415</a> <b>42</b> </param> </project>" On the other hand, if an XML string XStr is given, this can be converted easily to a MATLAB data type or structure V with the command V=xml_parse(XStr).

    标签: converts Toolbox complex logical

    上传时间: 2016-02-12

    上传用户:a673761058

  • Linux下的bt工具

    Linux下的bt工具,交叉编译可以在嵌入式里应用

    标签: Linux

    上传时间: 2014-06-12

    上传用户:h886166

  • 练习并掌握多任务实时操作系统下Task 调度、Task 间主要通信手段(信号量、消息队列等)、RISC 处理器 I/O 端口控制等内容

    练习并掌握多任务实时操作系统下Task 调度、Task 间主要通信手段(信号量、消息队列等)、RISC 处理器 I/O 端口控制等内容,并形成嵌入式实时应用软件的良好编程习惯。创建多Task,为每个Task 创建私有的Message Queue,每个Task 只通过自己的私有Message Queue 接收消息;Task 间消息通信通过向对方私有MessageQueue 发送消息完成。 Task1:管理Task。负责系统启动时同步系统中其他Task 的启动同步,利用信号量的semFlush()完成。同时接收各Task 的告警信息,告警信息需编号以logmsg 方式输出。本task 负责系统结束时的Task 删除处理。 Task2:console 命令行接收Task。接收并分析console 发来的命令行及参数。自行设置5 种以上命令,并根据命令的内容向Task3 或/及Task4 发送激励消息。同时实现系统退出命令,使系统采用适当方式安全退出。收到非法命令向Task1告警。 Task3:Led 控制Task。接收Led 控制消息(命令),自定义Led 显示方式表现命令执行情况。本task 应负责led 相关I/O port 初始化。收到非法led 控制命令向Task1 告警。 Task4:console 输出Task。接收需打印输出的字串消息(命令),输出到console。收到长度为0 或超常字串向Task1 告警。

    标签: Task RISC 多任务 信号量

    上传时间: 2016-04-12

    上传用户:iswlkje

  • 你熟悉QT吗?Linux系统上领先的GUI

    你熟悉QT吗?Linux系统上领先的GUI,现今在嵌入式领域应用广泛,此源码包为QT编译器

    标签: Linux GUI

    上传时间: 2016-04-27

    上传用户:远远ssad

  • 个人收集的读写SD卡FAT文件系统的代码

    个人收集的读写SD卡FAT文件系统的代码,都是极其经典的,有些是付费买来的,给苦苦寻觅的朋友一起打包下载了。 非常精简,非常经典,适合做嵌入式系统应用,如MP3播放,bootloader加载等等!

    标签: FAT 读写 SD卡 文件系统

    上传时间: 2013-12-21

    上传用户:netwolf

  • 华清远见

    华清远见,黑色经典系列之嵌入式linux应用程序开发详解

    标签:

    上传时间: 2013-12-30

    上传用户:cainaifa

  • 本套书分上、下册。上册以PHILIPS公司的LPC2131 ARM微控制器为核心

    本套书分上、下册。上册以PHILIPS公司的LPC2131 ARM微控制器为核心,以EasyARM2131开发板为基础,深入浅出地对LPC213x系列ARM微控制器的使用进行了详细、全方位的阐述。全书共分5章。第1章介绍EasyARM2131硬件开发平台;第2章介绍嵌入式开发软件平台;第3章着重介绍 LPC2131微控制器的体系结构和启动代码;第4章是本书的核心,以LPC2131微控制器功能部件为主线,详细介绍该芯片所有功能部件的使用,并提供详细的例程;第5章介绍LPC213x系列微控制器的硬件结构。 下册以 C/OS-II为基础,全面介绍基于OS的各种应用设计,同时介绍LPC214x系列ARM微控制器的原理及其USB驱动开发与源代码分析。 本套书可作为从事嵌入式系统应用开发工程师的参考资料,也可作为高等院校电子、自动化、机电一体化、计算机等相关专业嵌入式系统的教学参考书,特别适合于进行ARM7嵌入式开发的初学者。

    标签: PHILIPS 2131 LPC ARM

    上传时间: 2013-12-26

    上传用户:zhouli

  • 汉诺塔!!! Simulate the movement of the Towers of Hanoi puzzle Bonus is possible for using animation

    汉诺塔!!! Simulate the movement of the Towers of Hanoi puzzle Bonus is possible for using animation eg. if n = 2 A→B A→C B→C if n = 3 A→C A→B C→B A→C B→A B→C A→C

    标签: the animation Simulate movement

    上传时间: 2017-02-11

    上传用户:waizhang