This firmware translates a PS/2 mouse to a USB mouse. The translator firmware is entirely interrupt driven (with the exception of sending the data via USB to the host.) An interrupt is generated when the PS/2 start bit is received, at which time the firmware will begin its receive routine. In addition to this interrupt, every 168ms a timer overflow interrupts the Main program and implements one state of the mouse state machine. This state machine handles sending bytes to and translating bytes received from the PS/2 mouse automatically. All of this is done in the background while the Main program runs in the foreground. The only operation that the Main program implements is sending mouse data to the PC via USB.
標(biāo)簽: firmware mouse translates translator
上傳時(shí)間: 2015-04-26
上傳用戶(hù):cuiyashuo
常用的子串替換、去除空格、找子串等,以包含文件用,將Main()注釋去掉,將.h改名.c就可以進(jìn)行測(cè)試。
標(biāo)簽:
上傳時(shí)間: 2015-04-27
上傳用戶(hù):hxy200501
GIF87a的壓縮,解壓縮及一些工具的源代碼,稍微修改就可以支持GIF89a, 可以在vc中使用,解碼的話(huà)只需要一個(gè)文件DGIF_LIB.C(頭文件還是需要的),加入工程中就可以使用,顯示實(shí)例可以參考文件gif2herc.c中的Main函數(shù)
上傳時(shí)間: 2013-12-22
上傳用戶(hù):希醬大魔王
一個(gè)用面向?qū)ο蠓椒ǚ庋b和編寫(xiě)的JAVA Logicgate(邏輯門(mén))運(yùn)算程序,內(nèi)附有詳細(xì)的開(kāi)發(fā)/說(shuō)明文檔(Doc文件)和分析流程圖,主程序Main()存在于:And.java 文件 請(qǐng)先編譯其余文件,最后編譯運(yùn)行And.java文件
標(biāo)簽: Logicgate JAVA 對(duì)象
上傳時(shí)間: 2014-01-07
上傳用戶(hù):qwe1234
傳教士和野人問(wèn)題是人工智能中的經(jīng)典問(wèn)題。本程序采用遞歸算法求解。定義一個(gè)函數(shù),該函數(shù)返回一個(gè)解路徑,路徑可以用規(guī)則序列表示,也可以用狀態(tài)序列表示。比如,用規(guī)則序列表示,可以表示為:(1 1)(1 0)。。。 表示:過(guò)去1個(gè)傳教士,一個(gè)野人,回來(lái)一個(gè)傳教士,。。。如果用狀態(tài)序列表示,可以表示為:(3 3 1)(2 2 0)(3 2 )。。。 路徑用一個(gè)鏈表表示,該函數(shù)返回該鏈表。在Main中調(diào)用該函數(shù),并打印輸出該路徑。
上傳時(shí)間: 2013-12-23
上傳用戶(hù):我們的船長(zhǎng)
周立功的lpc2104、05、06的ads模版,可直接使用,在Main中添加自己的程序
上傳時(shí)間: 2015-05-02
上傳用戶(hù):lepoke
這個(gè)無(wú)限位計(jì)算器,N!及N的平方了。本來(lái)是打算用堆棧去實(shí)現(xiàn)的,突然發(fā)現(xiàn)了BigDecimal這個(gè)好東東~~于是乎~~堆棧在偶的計(jì)算器里退休了。。。 這個(gè)是在JDK 5.0 Update 3下用 NetBeans 4.1寫(xiě)的,我試過(guò)了兩個(gè)1.4.2版本的,總說(shuō)找不到Main()方法,對(duì)NetBeans打的包。。偶有置疑。。。所以拆開(kāi)來(lái)。。。*.calss + 一個(gè)批處理+*.java打成了個(gè)壓縮包傳了上來(lái)~~
標(biāo)簽: 計(jì)算器
上傳時(shí)間: 2015-05-03
上傳用戶(hù):rishian
This little program shows how to use COM technology in Win32Asm. When it s run it lets the user freely decide about the presence of the program with the WS_EX_TOOLWINDOW style on the taskbar. The Main goal is to show the easiest possible example instead of killing people with the details about virtual tables, polymorphism, inheritance and using nested macros etc., etc.
標(biāo)簽: technology program little shows
上傳時(shí)間: 2015-05-03
上傳用戶(hù):kernaling
DSP啟動(dòng)源代碼,功能:初始化堆棧段,初始化數(shù)據(jù)段,跳轉(zhuǎn)到Main函數(shù)。
上傳時(shí)間: 2014-01-11
上傳用戶(hù):上善若水
急轉(zhuǎn)彎程序,可添加數(shù)據(jù)到數(shù)據(jù)表中,在VF下可連編成exe文件(Main.prg作主文件)
上傳時(shí)間: 2014-01-09
上傳用戶(hù):CSUSheep
蟲(chóng)蟲(chóng)下載站版權(quán)所有 京ICP備2021023401號(hào)-1