資源簡(jiǎn)介
本程序通過(guò)DriverWorks實(shí)現(xiàn)對(duì)PCI9054 BAR0,BAR2的數(shù)據(jù)寫(xiě)入,讀出。讀寫(xiě)方式是Direct IO方式。值得一提的是,采用該方式所能達(dá)到的讀寫(xiě)數(shù)據(jù)速度只有幾M。另外,程序中沒(méi)有加入中斷控制等操作。這些我會(huì)在今后不斷得完善。
代碼片段和文件信息
//?Test.cpp
//
//?Generated?by?DriverWizard?version?DriverStudio?2.6.0?(Build?336)
//
//?This?console?application?demonstrates?how?to?open?a?handle
//?to?a?device?in?your?driver?and?communicate?with?the?driver
//?using?Read?Write?and?DeviceIoControl?calls?as?appropriate.
//
//?This?test?program?attempts?to?open?the?device?with?link?name
//?PCI9054Device?which?corresponds?to?Unit?0?of?the?
//?PCI9054Device?device?class?in?the?driver.
//
//?You?can?build?this?application?using?the?command?line?compiler?with
//?the?following?command:
//
// cl?Test.cpp
//
#include?
#include?
#include?
#include?
#include?“..\PCI9054ioctl.h“
typedef?void?VOIDFUNC();
//?Prototypes
void?Usage(void);
void?ShowIoctlValues(void);
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件?????372224??2003-10-23?11:46??PCI9054實(shí)現(xiàn)IO讀寫(xiě)操作\PCI9054開(kāi)發(fā)過(guò)程.doc
?????文件???????1247??2003-11-05?02:49??PCI9054實(shí)現(xiàn)IO讀寫(xiě)操作\使用說(shuō)明.txt
?????文件?????????15??2003-10-18?14:30??PCI9054實(shí)現(xiàn)IO讀寫(xiě)操作\PCI9054\dirs
?????文件????????427??2003-10-18?14:30??PCI9054實(shí)現(xiàn)IO讀寫(xiě)操作\PCI9054\PCI9054.dsw
?????文件?????132096??2003-10-29?19:54??PCI9054實(shí)現(xiàn)IO讀寫(xiě)操作\PCI9054\PCI9054.ncb
?????文件????????796??2003-10-18?14:30??PCI9054實(shí)現(xiàn)IO讀寫(xiě)操作\PCI9054\PCI9054ioctl.h
?????文件???????1444??2003-10-18?14:30??PCI9054實(shí)現(xiàn)IO讀寫(xiě)操作\PCI9054\readme.txt
?????文件????????291??2003-10-18?14:30??PCI9054實(shí)現(xiàn)IO讀寫(xiě)操作\PCI9054\exe\makefile
?????文件????????864??2003-10-18?14:30??PCI9054實(shí)現(xiàn)IO讀寫(xiě)操作\PCI9054\exe\sources
?????文件??????18560??2003-10-29?19:48??PCI9054實(shí)現(xiàn)IO讀寫(xiě)操作\PCI9054\exe\Test.cpp
?????文件???????3576??2003-10-18?14:30??PCI9054實(shí)現(xiàn)IO讀寫(xiě)操作\PCI9054\exe\Test.dsp
?????文件???????1141??2003-10-29?19:54??PCI9054實(shí)現(xiàn)IO讀寫(xiě)操作\PCI9054\exe\Test.plg
?????文件?????106596??2003-10-29?19:54??PCI9054實(shí)現(xiàn)IO讀寫(xiě)操作\PCI9054\exe\objchk\i386\Test.exe
?????文件????????448??2003-10-18?14:30??PCI9054實(shí)現(xiàn)IO讀寫(xiě)操作\PCI9054\sys\function.h
?????文件????????291??2003-10-18?14:30??PCI9054實(shí)現(xiàn)IO讀寫(xiě)操作\PCI9054\sys\makefile
?????文件???????4730??2003-10-18?14:30??PCI9054實(shí)現(xiàn)IO讀寫(xiě)操作\PCI9054\sys\PCI9054.cpp
?????文件???????6712??2003-10-18?14:30??PCI9054實(shí)現(xiàn)IO讀寫(xiě)操作\PCI9054\sys\PCI9054.dsp
?????文件????????649??2003-10-18?14:30??PCI9054實(shí)現(xiàn)IO讀寫(xiě)操作\PCI9054\sys\PCI9054.h
?????文件???????3189??2003-10-18?18:14??PCI9054實(shí)現(xiàn)IO讀寫(xiě)操作\PCI9054\sys\PCI9054.inf
?????文件????????250??2003-10-29?19:54??PCI9054實(shí)現(xiàn)IO讀寫(xiě)操作\PCI9054\sys\PCI9054.plg
?????文件???????2005??2003-10-18?14:30??PCI9054實(shí)現(xiàn)IO讀寫(xiě)操作\PCI9054\sys\PCI9054.rc
?????文件??????33127??2003-10-29?17:27??PCI9054實(shí)現(xiàn)IO讀寫(xiě)操作\PCI9054\sys\PCI9054Device.cpp
?????文件???????2677??2003-10-18?14:30??PCI9054實(shí)現(xiàn)IO讀寫(xiě)操作\PCI9054\sys\PCI9054Device.h
?????文件????????971??2003-10-18?14:30??PCI9054實(shí)現(xiàn)IO讀寫(xiě)操作\PCI9054\sys\sources
?????文件??????55579??2003-10-29?17:54??PCI9054實(shí)現(xiàn)IO讀寫(xiě)操作\PCI9054\sys\Checked\PCI9054.map
?????文件???????3189??2003-10-18?18:14??PCI9054實(shí)現(xiàn)IO讀寫(xiě)操作\PCI9054\sys\objchk\i386\PCI9054.inf
?????文件?????837820??2003-10-29?17:54??PCI9054實(shí)現(xiàn)IO讀寫(xiě)操作\PCI9054\sys\objchk\i386\PCI9054.NMS
?????文件??????71258??2003-10-29?17:54??PCI9054實(shí)現(xiàn)IO讀寫(xiě)操作\PCI9054\sys\objchk\i386\PCI9054.sys
?????文件??????59904??2002-06-25?18:13??PCI9054實(shí)現(xiàn)IO讀寫(xiě)操作\PCI9054\PCI9054.opt
?????文件??????20696??2003-11-05?02:48??PCI9054實(shí)現(xiàn)IO讀寫(xiě)操作\PCI9054應(yīng)用程序(VC)\App01.aps
............此處省略36個(gè)文件信息
評(píng)論
共有 條評(píng)論