emWin实战:Application文件夹详解

需积分: 32 107 下载量 32 浏览量 更新于2024-08-09 收藏 6.41MB PDF 举报
《Application文件夹 - PCI Express Base Specification Revision 4.0》是一份详细的指南,主要针对emWin开发环境,特别是与野火STM32ISO/ISO-MINI开发板相关的应用。这份教程介绍了在STM32平台上设计图形用户界面(GUI)应用的过程,使用的是emWin GUI库,它是emWin的一种扩展,类似于ucGUI和STemWin。 教程的作者是WildFireTeam@野火科技,适用于版本V1.0。作者强调了开源共享的学习氛围,并提供了一系列配套资源,如《零死角玩转STM32》(STM32篇)、《uCOS-II移植与深入实战指南》(系统篇)、《emWin实战指南》(GUI篇)等,以及相关硬件设备的数据手册和用户手册,如WF-SIM900A和WF-NEO-6M模块。 章节4.2 Application文件夹是核心部分,它包含了官方提供的演示例程应用文件。这些文件结构清晰,每个文件对应一个具体的功能或示例,便于理解和学习。读者可以通过阅读和调试这些文件来逐步掌握emWin的使用,例如通过HelloemWin章节,学习如何配置工程文件和理解BASIC_HelloWorld工程的基本代码。 教程还涵盖了如何在Windows环境中搭建emWin的仿真环境,包括不同版本的emWin文件介绍和使用Visual Studio 2013进行模拟。第4章详述了整个仿真工程的结构,如Config(配置文件)、GUI(图形用户界面文件)、Sample(示例文件夹)等,这些都是理解emWin工作流程的关键。 此外,教程鼓励读者参考《emWin用户手册》,学会通过函数名查找库函数的说明和根据功能寻找相关函数,以便更深入地学习和使用这个强大的GUI库。整个教程以实践为导向,旨在帮助开发者快速上手并提升在STM32平台上的GUI开发技能。 总结来说,《Application文件夹 - PCI Express Base Specification Revision 4.0》是一份实用且全面的emWin开发教程,适合想要在STM32平台上开发GUI应用的工程师和爱好者参考。通过一步步的引导,读者能够掌握emWin的基础知识、工程设置和实际应用技巧。
2019-09-17 上传
1. INTRODUCTION............................................................................................................... 46 1.1. A THIRD GENERATION I/O INTERCONNECT ................................................................... 46 1.2. PCI EXPRESS LINK......................................................................................................... 49 1.3. PCI EXPRESS FABRIC TOPOLOGY .................................................................................. 50 1.3.1. Root Complex........................................................................................................ 50 1.3.2. Endpoints .............................................................................................................. 51 1.3.3. Switch .................................................................................................................... 54 1.3.4. Root Complex Event Collector .............................................................................. 55 1.3.5. PCI Express to PCI/PCI-X Bridge........................................................................ 55 1.4. PCI EXPRESS FABRIC TOPOLOGY CONFIGURATION ....................................................... 55 1.5. PCI EXPRESS LAYERING OVERVIEW.............................................................................. 56 1.5.1. Transaction Layer ................................................................................................. 57 1.5.2. Data Link Layer .................................................................................................... 57 1.5.3. Physical Layer ...................................................................................................... 58 1.5.4. Layer Functions and Services............................................................................... 58 TRANSACTION LAYER SPECIFICATION ................................................................. 62 2.1. TRANSACTION LAYER OVERVIEW.................................................................................. 62 2.1.1. Address Spaces, Transaction Types, and Usage................................................... 63 2.1.2. Packet Format Overview ...................................................................................... 65 2.2. TRANSACTION LAYER PROTOCOL - PACKET DEFINITION............................................... 67 2.2.1. Common Packet Header Fields ............................................................................ 67 2.2.2. TLPs with Data Payloads - Rules ......................................................................... 70 2.2.3. TLP Digest Rules .................................................................................................. 74 2.2.4. Routing and Addressing Rules .............................................................................. 74 2.2.5. First/Last DW Byte Enables Rules........................................................................ 78 2.2.6. Transaction Descriptor ......................................................................................... 81 2.2.7. Memory, I/O, and Configuration Request Rules................................................... 87 2.2.8. Message Request Rules ......................................................................................... 94 2.2.9. Completion Rules ................................................................................................ 115 2.2.10. TLP Prefix Rules ................................................................................................. 118 2.3. HANDLING OF RECEIVED TLPS.................................................................................... 123 2.3.1. Request Handling Rules...................................................................................... 126 2.3.2. Completion Handling Rules................................................................................ 138 2.4. TRANSACTION ORDERING ............................................................................................ 142 2.4.1. Transaction Ordering Rules ............................................................................... 142 ......