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
上傳時間: 2015-04-26
上傳用戶:cuiyashuo
接收pop3 Public Function Retrieve(ByVal rhs As Pop3Message) As Pop3Message Dim message, response As String Dim msg As New Pop3Message msg.bytes = rhs.bytes msg.number = rhs.number message = "RETR " + rhs.number.ToString + vbCrLf write(message) response = Respond() If response.Substring(0, 3) <> "+OK" Then Throw New Pop3Exception(response) End If MsgBox(msg) msg.retrieved = True While (1 = 1) response = Respond() If response = "." + vbCrLf Then Exit While Else msg.message += response End If End While Return msg End Function
標(biāo)簽: Pop3Message Function Retrieve response
上傳時間: 2013-12-28
上傳用戶:fnhhs
DELPHI basicCtrl+NUM 直接將光標(biāo)跳到NUM處,NUM是用Ctrl+Shift+NUM設(shè)置的標(biāo)號。 NUM不能用小鍵盤。 Ctrl+Home 將光標(biāo)移至文件頭。 Ctrl+End 將光標(biāo)移至文件尾。 Ctrl+B Buffer List窗口。 Ctrl+I 同Tab鍵。 Ctrl+M 同Enter鍵。 Ctrl+N 同Enter鍵,但光標(biāo)位置保持不變。 Ctrl+T 刪除光標(biāo)右邊的一個單詞。 Ctrl+Y 刪除光標(biāo)所在行。 Ctrl+Shift+↑ 光標(biāo)在函數(shù)體內(nèi)時,將光標(biāo)快速移至當(dāng)前函數(shù)聲明處。 Ctrl+Shift+↓ 光標(biāo)在函數(shù)聲明行時,將光標(biāo)快速移至函數(shù)定義處。 Ctrl+Shift+C 聲明一個過程或函數(shù)后,直接生成過程或函數(shù)的名稱、begin、end Ctrl+Shift+E 光標(biāo)在Edit窗口和Explorer窗口間切換。 Ctrl+Shift+G 插入GUID。 Ctrl+Shift+J 彈出Delphi語句提示窗口,選擇所需語句將自動完成一條語句。 Ctrl+Shift+T 在光標(biāo)行加入To-Do注釋。 Ctrl+Shift+Y 刪除光標(biāo)之后至本行末尾之間的文本。 Ctrl+F3 Call Stack窗口。 Ctrl+F4 等于File菜單中的Close項。
標(biāo)簽: basicCtrl NUM DELPHI 光標(biāo)
上傳時間: 2014-11-26
上傳用戶:kr770906
1. beep -- PWM測試 為 ADS1.2 下編譯的項目, 在sdt2.51的ADW里調(diào)試,該程序運行后在57600的超級終端里按PC機鍵盤的“+”“-” 按鍵,可以聽到BUZZ增大減小的聲音。 2. key -- 按鍵測試 為 SDT2.51 下編譯的項目, 在sdt2.51的ADW里調(diào)試,該程序運行后按FS44B0X上的按鍵key1 key2 key3 key4 相應(yīng)的發(fā)光二極管亮 3 keyint -- 按鍵中斷測試 該項目在SDT2.51下編譯調(diào)試。主程序是while空循環(huán),中斷服務(wù)程序?qū)?yīng)四個按鍵做相應(yīng)的處理,key1 按鍵點亮D1燈,并在串口打印信息,因為沒有加按鍵去抖動程序,所以,一次按鍵,產(chǎn)生幾次中斷。
上傳時間: 2013-12-25
上傳用戶:txfyddz
5 ledblink -- 跑馬燈程序 該項目在SDT2.51下編譯調(diào)試。最簡單的demo程序,運行后3個發(fā)光二極管輪流點亮。 6 timerint -- 定時器中斷demo程序 該項目在SDT2.51下編譯調(diào)試。將子目錄timerint拷貝到c:\ 下。 該demo程序的主程序是while空循環(huán),定時器中斷服務(wù)程序每500ms將3個LED反相。 在57600超級終端里也可以看到中斷發(fā)生時的信息。 7 uart -- 串口測試程序 該項目在SDT2.51下編譯調(diào)試。運行后在57600的超級終端里等待PC鍵盤的輸入,當(dāng)按下 a 或 b 或 c 按鍵時,超級終端里將顯示 You Pressed a ,You Pressed b ,You Pressed c .
標(biāo)簽: ledblink 2.51 demo SDT
上傳時間: 2015-05-05
上傳用戶:aix008
MSP430-JTAG-Adapter:MSP430-JTAG doesn’t need external power supply, as MSP430 microcontrollers require only 3-5 mA while programming and all necessary power supply is taken from the LPT port.
標(biāo)簽: MSP 430 microcontrollers JTAG-Adapter
上傳時間: 2013-12-25
上傳用戶:洛木卓
This book is about using Python to get jobs done on Windows.This intended to be a practical book focused on tasks. It doesn t aim to teach Python programming, although we do provide a brief tutorial. Instead, it aims to cover:How Python works on Windows The key integration technologies supported by Python on Windows, such as the Win32 extensions, which let you call the Windows API, and the support for COM Examples in many topic areas showing what Python can do and how to put it to work.
標(biāo)簽: This book practical intended
上傳時間: 2015-05-10
上傳用戶:ddddddos
該計算器既有經(jīng)典的GUI按鈕模式,也有類似于Matlab的命令行解釋執(zhí)行模式,并且解釋模式基于XML配置構(gòu)建,利用了Java語言強大的的反射機制,使得用戶根據(jù)需要添加自己的專用函數(shù)非常簡單和方便。 http://www.hugjava.com/projectDetail.do?id=3
上傳時間: 2015-05-18
上傳用戶:dyctj
Although there has been a lot of AVL tree libraries available now, nearly all of them are meant to work in the random access memory(RAM). Some of them do provide some mechanism for dumping the whole tree into a file and loading it back to the memory in order to make data in that tree persistent. It serves well when there s just small amount of data. When the tree is somewhat bigger, the dumping/loading process could take a lengthy time and makes your mission-critical program less efficient. How about an AVL tree that can directly use the disk for data storage ? If there s something like that, we won t need to read through the whole tree in order to pick up just a little bit imformation(a node), but read only the sectors that are neccssary for locating a certain node and the sectors in which that node lies. This is my initial motivation for writing a storage-media independent AVL Tree. However, as you step forth, you would find that it not only works fine with disks but also fine with memorys, too.
標(biāo)簽: available libraries Although nearly
上傳時間: 2014-01-22
上傳用戶:zhoujunzhen
This book isn t for uber-programmers who already have all the answers. If you think that J2EE does everything that you need it to do and you can make it sing, this book is not for you. Believe me, there are already enough books out there for you.
標(biāo)簽: uber-programmers already answers think
上傳時間: 2015-05-22
上傳用戶:tb_6877751
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1