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