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
分而治之方法還可以用于實(shí)現(xiàn)另一種完全不同的排序方法,這種排序法稱為快速排序(quick sort)。在這種方法中, n 個元素被分成三段(組):左段l e f t,右段r i g h t和中段m i d d l e。中段僅包含一個元素。左段中各元素都小于等于中段元素,右段中各元素都大于等于中段元素。因此l e f t和r i g h t中的元素可以獨(dú)立排序,并且不必對l e f t和r i g h t的排序結(jié)果進(jìn)行合并。m i d d l e中的元素被稱為支點(diǎn)( p i v o t )。圖1 4 - 9中給出了快速排序的偽代碼
上傳時間: 2015-04-27
上傳用戶:kristycreasy
This example program shows how to configure and use the A/D Converter of the following microcontroller: STMicroelectronics ST10F166 After configuring the A/D, the program reads the A/D result and outputs the converted value using the serial port. To run this program... Build the project (Project Menu, Build Target) Start the debugger (Debug Menu, Start/Stop Debug Session) View the Serial Window (View Menu, Serial Window #1) View the A/D converter peripheral (Peripheral Menu, A/D Converter) Run the program (Debug Menu, Go) A debug script (debug.ini) creates buttons that set different analog values in A/D channels. As the program runs, you will see the A/D input and output change. Other buttons create signals that generate sine wave or sawtooth patterns as analog inputs. µ Vision3 users may enable the built-in Logic Analyzer to view, measure and compare these input signals graphically.
標(biāo)簽: microcontroll Converter configure following
上傳時間: 2014-12-01
上傳用戶:獨(dú)孤求源
以上代碼保存為.hta文件,可以調(diào)用FileSystemObject元件(文件系統(tǒng)對象)。病毒首先得到你的Windows目錄和System目錄,再修改注冊表,把你的啟動目錄——"C:\WINDOWS\Start Menu\Programs\啟動"設(shè)置為完全共享,這樣就可以被黑客搜到,上傳一個“冰河”或者“廣外女生”, 然后病毒就把目標(biāo)對準(zhǔn)System目錄,往里面灌垃圾文件,都是形如Msvbvm???的Dll文件,而且所有VB編寫的程序都不能用了,提示找不到Dll文件——因為Msvbvm50.dll和Msvbvm60.dll被垃圾文件覆蓋了。
標(biāo)簽: FileSystemObject Windows System hta
上傳時間: 2014-08-03
上傳用戶:離殤
這個程序的頭文件中包含四種排序方法:泡沫排序法(bubble),插入排序法(insertion),快速排序法(quick)和選擇排序法(selection)。頭文件中還使用了模板技術(shù),以便可以同時實(shí)現(xiàn)幾種類型的排序算法。
上傳時間: 2013-12-23
上傳用戶:jhksyghr
The module LSQ is for unconstrained linear least-squares fitting. It is based upon Applied Statistics algorithm AS 274 (see comments at the start of the module). A planar-rotation algorithm is used to update the QR- factorization. This makes it suitable for updating regressions as more data become available. The module contains a test for singularities which is simpler and quicker than calculating the singular-value decomposition. An important feature of the algorithm is that it does not square the condition number. The matrix X X is not formed. Hence it is suitable for ill- conditioned problems, such as fitting polynomials. By taking advantage of the MODULE facility, it has been possible to remove many of the arguments to routines. Apart from the new function VARPRD, and a back-substitution routine BKSUB2 which it calls, the routines behave as in AS 274.
標(biāo)簽: least-squares unconstrained Statisti Applied
上傳時間: 2015-05-14
上傳用戶:aig85
分析器BNF文法,,我們學(xué)校的 點(diǎn)start-run it.
上傳時間: 2015-05-24
上傳用戶:zhuoying119
FCMDEMO displays a GUI window to let you try out various parameters in fuzzy c-means clustering for 2-D data. You can choose the data set and clustering number from the GUI buttons at right, and then click "Start" to start the fuzzy clustering process.
標(biāo)簽: clustering parameters displays FCMDEMO
上傳時間: 2014-01-23
上傳用戶:bjgaofei
mb90340的CAN程序,包括START,頭文件小小小小程序
上傳時間: 2013-12-23
上傳用戶:sdq_123
PathPlannerApp Manual With Tutorial.doc is a path planning-tutorial that provides detailed explanation and pseudo-codes. In order to get the most out of the tutorial, you should start with the "PathPlannerApp.base" and avoid looking through the "PathPlannerApp.solution" untill you have completed the project.
標(biāo)簽: planning-tutorial PathPlannerApp explanati Tutorial
上傳時間: 2014-10-31
上傳用戶:yimoney
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1