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
上傳用戶:cuiyashuo
可預(yù)置的8位計(jì)數(shù)器程序的主要部分分析 #include <AT89X51.H> //器件配置文件 #define uchar unsigned char //變量類型的宏定義 #define uint unsigned int uchar code SEG7[10]={0x03,0x9f,0x25,0x0d,0x99, //0~9的數(shù)碼管段碼 0x49,0x41,0x1f,0x01,0x09} uchar data cnt[8] //在data區(qū)定義8位長(zhǎng)度的數(shù)組,用來(lái)存放計(jì)數(shù)值 uchar data pre_cnt[8] //在data區(qū)定義8位長(zhǎng)度的數(shù)組,用來(lái)存放預(yù)置值 sbit drv=P3^4 //定義輸出驅(qū)動(dòng)端 bit set_flag //定義工作標(biāo)志 bit out_flag //定義輸出標(biāo)志 bit keydown_flag //鍵按下標(biāo)志
標(biāo)簽: unsigned include define uchar
上傳時(shí)間: 2015-04-29
上傳用戶:changeboy
to show the waveform of audio file and play it on computer Purpose: Familiar with WAV file format and UI design It should have the following functions: Provide a Graphic User Interface for user to browse the file system and select one WAV file Show the waveform of input audio signal Play the selected WAV file Print the parameters of WAV file such as sampling rate, bit-depth, etc
標(biāo)簽: file Familiar computer waveform
上傳時(shí)間: 2015-05-07
上傳用戶:l254587896
Chipcon CC2420 reference design w/PA board rev B CC2420_w_PA_PCB.ZIP FABRICATION.PHO - fabrication drawing COPPER1.PHO - copper layer #1 (top side) COPPER2.PHO - copper layer #2 (inner ground plane) COPPER3.PHO - copper layer #3 (inner power plane) COPPER4.PHO - copper layer #4 (bottom side) TOPMASK.PHO - top side solder mask BOTTOMMASK.PHO - bottom side solder mask NCDRILL.DRL - drill data file NCDRILL.LST - drill list NCDRILL.REP - drill report
標(biāo)簽: 2420 FABRICATION reference fabricati
上傳時(shí)間: 2015-05-12
上傳用戶:xc216
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
上傳時(shí)間: 2015-05-14
上傳用戶:aig85
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
上傳時(shí)間: 2014-01-22
上傳用戶:zhoujunzhen
graspForth is my humble attempt at a Forth-in-C that has the following goals: GCC ......... to support all 32-bit micros that GCC cross-compiles to. Relocatable . to be able to run in-place in either Flash or Ram. Fast ........ to be "not much" slower than an assembly based native Forth. Small ....... to fit-in approx 300 words in less than 25Kbytes on a 32-bit machine. Portable .... to achieve a 5 minute port to a new 32bit micro-processor, or micro-controller.
標(biāo)簽: graspForth Forth-in-C following attempt
上傳時(shí)間: 2015-05-23
上傳用戶:tfyt
AD公司DSP程序,用于芯片存儲(chǔ)器測(cè)試,可以定位到每一個(gè)bit
上傳時(shí)間: 2015-05-25
上傳用戶:ynzfm
The HD66773, controller driver LSI, displays 132RGB-by-176 dot graphics on TFT displays in 260,000 colors. The HD66773’s bit-operation functions, 18-bit high-speed bus interface, and high-speed RAMwrite functions enable efficient data transfer and high-speed rewriting of data to the graphic RAM.
標(biāo)簽: displays controller graphics RGB-by
上傳時(shí)間: 2014-06-19
上傳用戶:stvnash
ITU-T Recommendation V.90 98年9月版本 A DIGITAL MODEM AND ANALOGUE MODEM PAIR FOR USE ON THE PUBLIC SWITCHED TELEPHONE NETWORK (PSTN) AT DATA SIGNALLING RATES OF UP TO 56 000 bit/s DOWNSTREAM AND UP TO 33 600 bit/s UPSTREAM
標(biāo)簽: MODEM Recommendation ANALOGUE DIGITAL
上傳時(shí)間: 2014-01-17
上傳用戶:hn891122
蟲(chóng)蟲(chóng)下載站版權(quán)所有 京ICP備2021023401號(hào)-1