This the second tutorial of the Writing Device Drivers series. There seems to be a lot of interest in the topic, so this article will pick up where the first left off. The main focus of these articles will be to build up little by little the knowledge needed to write device drivers. In this article, we will be building on the same example source code used in part one. In this article, we will expand on that code to include Read functionality, Handle Input/Ouput Controls also known as IOCTLs, and learn a bit more about IRPs.
标签: the interest tutorial Drivers
上传时间: 2016-01-28
上传用户:lmeeworm
(1)上电后LCD背光打开,并显示倒计时5秒,然后时钟开始工作。 (2)用模式键(*)切换模式,如显示时间、日期、闹钟1、闹钟2等,并且可以用上、下键控制加1、减1或是闹钟的On、Off。 (3)原程序有16个键,包括0~9数字键,可以直接输入要设置的时间值,但后来将数字键取消了,你仍然可以通过修改程序的部分注释恢复此功能。 (4)闹钟有2路,时间到后闹2分钟,可按任意键取消本次闹钟。闹钟响时有2种音调,是用PIC的PWM实现的。 (5)按任意键可打开背光,1分钟后自动关闭背光。 (6)RA0~RA3为按键扫描输入,应接下拉电阻。
上传时间: 2013-12-25
上传用户:shanml
2. Using Gaussian elimination method and Gaussian elimination method with row scaled method to solve the following tri-diagonal system for n=10 and 100
标签: method elimination Gaussian scaled
上传时间: 2013-12-31
上传用户:lyy1234
自相似、长相关业务的生成及TCP拥塞控制的研究 目前,Internet的规模日益增大,承载的业务种类也不断增加.Internet已给人们的生活和工作带来了巨大的利益和影响.21世纪是通信的世纪,是互连网的世纪.经过20多年的发展,Internet已经在全球取得巨大的成功.该文对自相似、长相关基本理论进行了研究,得出了生成自相似、长相关业务的方法,即通过重尾分布ON/OFF源的N-Burst模型的聚合业务来生成自相似、长相关业务,使用国际上比较通用的仿真软件NS-2来进行仿真.并基于此特征业务,对TCP性能进行分析.最后对TCP拥塞控制进行改进,以适合自相似、长相关的的网络特性,提高网络性能.
上传时间: 2013-12-18
上传用户:yxgi5
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
基于opnet的移动模型源代码,采用on/off模型仿真,不可多得
上传时间: 2014-01-22
上传用户:66666
Hibernate: A Developer s Notebook shows you how to use Hibernate to automate persistence: you write natural Java objects and some simple configuration files, and Hibernate automates all the interaction between your objects and the database. You don t even need to know the database is there, and you can change from one database to another simply by changing a few statements in a configuration file. If you ve needed to add a database backend to your application, don t put it off. It s much more fun than it used to be, and Hibernate: A Developer s Notebook shows you why.
标签: Hibernate persistence Developer you
上传时间: 2016-04-07
上传用户:123啊
This function obtains a unitary matrix Q such that: d=diag(Q *diag(lmd)*Q). In other words, it gives a way to generate a matrix with given eigenvalues and diagonal elements. By Daniel Perez Palomar (last revision: May 10, 2004). Feel free to distribute this file as it is (without including any modifications).
标签: diag function obtains unitary
上传时间: 2013-12-19
上传用户:dsgkjgkjg
/* * The internal form of a hash table. * * The table is an array indexed by the hash of the key collisions * are resolved by hanging a linked list of hash entries off each * element of the array. Although this is a really simple design it * isn t too bad given that pools have a low allocation overhead. */ split from apache for general usage
上传时间: 2014-01-07
上传用户:gtf1207
usb bulk 传输例程。 * The bulkusb driver is a generic function driver, based on the Windows Driver Model (WDM). * Supports Plug and Play(PnP), Power Management(PM), Windows Management Instrumentation (WMI) and the Selective Suspend (SS) features. * This sample is based off the selSusp DDK sample. Please refer the selSusp sample and the DDK docs to understand the handling of PnP, PM, WMI and SS features and implementations. * The USB device used for this sample is a generic Intel I82930 USB evaluation board programmed with a simple loopback test using a 64 KB circular buffer. None of the code in the sample is specific to this controller chip.
标签: driver function Windows bulkusb
上传时间: 2016-04-25
上传用户:270189020