RS232.C was written to provide all of the basic functionality needed to employ serial I/O in any application written with Borland C language compilers. Some features are: 1. Ease of use. No assembly language or library files are used and a simple "#include" statement is all that is required to access all of the functions provided. 2. Both input and output are buffered and interrupt driven for efficiency. 3. Serial ports 1 - 4 are supported on PC, AT and PS/2 compatibles.Chained interrupts used on port 3 and 4 are allowed for so as not to interfere with devices such as a mouse or printer. Transmission speeds of 110 to 115200 baud are available. 4. Detection and utilization of hardware buffered UARTs (NS16550AF etc.) found in some machines is automatic. 5. Interrupt driven hardware and XON/XOFF flow control is provided for. 6. All source code is included. RS232.C can be used with all memory models.
標簽: functionality provide written employ
上傳時間: 2016-08-24
上傳用戶:小眼睛LSL
X28xx功能單元使用.doc 例1、初始化鎖相環及外設時鐘函數 例2、.cmd格式文件舉例 例3、定時器中斷應用舉例 例4、利用事件管理器輸出多種頻率的正弦信號輸出例程 例5、SPI和DAC TLV 5617接口例程 例6、CAN總線消息發送例程 例7、使用FIFO緩沖發送數據 例8、使用FIFO緩沖接收數據 例9、ADC應用舉例
上傳時間: 2016-11-14
上傳用戶:hasan2015
指定一個數字轉換回十進位,八進位,十六進位#include <stdio.h> #include <stdlib.h> int main(void) { int number =89 printf("數字 %d\n",number) /* %d 為十進位輸出格式*/ printf("八進位為 %o\n",number) /* %o 為八進位輸出格式*/ printf("十六進位為%x\n",number) /* %x 為十六進位輸出格式*/ system("pause") return 0 }
上傳時間: 2013-11-29
上傳用戶:tyler
兩臺處理機A 和B處理n個作業。設第i個作業交給機器 A 處理時需要時間ai,若由機器B 來處理,則需要時間bi。由于各作 業的特點和機器的性能關系,很可能對于某些i,有ai >=bi,而對于 某些j,j!=i,有aj<bj。既不能將一個作業分開由兩臺機器處理,也沒 有一臺機器能同時處理2 個作業。設計一個動態規劃算法,使得這兩 臺機器處理完成這n 個作業的時間最短(從任何一臺機器開工到最后 一臺機器停工的總時間)。研究一個實例:(a1,a2,a3,a4,a5,a6)= (2,5,7,10,5,2);(b1,b2,b3,b4,b5,b6)=(3,8,4,11,3,4)
上傳時間: 2014-01-14
上傳用戶:獨孤求源
A novel met hod t o p artially compensate sigma2delta shap ed noise is p rop osed. By injecting t he comp en2 sation cur rent int o t he p assive loop f ilte r during t he delay time of t he p hase f requency detect or ( PFD) , a maximum reduction of t he p hase noise by about 16dB can be achieved. Comp a red t o ot he r compensation met hods , t he tech2 nique p rop osed he re is relatively simple and easy t o implement . Key building blocks f or realizing t he noise cancel2 lation , including t he delay va riable PFD and comp ensation cur rent source , a re sp ecially designed. Bot h t he behavior level and circuit level simulation results a re p resented.
標簽: sigma2delta compensate injecting artially
上傳時間: 2013-12-18
上傳用戶:qlpqlq
CAN1.c and CAN2.c are a simple example of configuring a CAN network to transmit and receive data on a CAN network, and how to move information to and from CAN RAM message objects. Each C8051F040-TB CAN node is configured to send a message when it s P3.7 button is depressed/released, with a 0x11 to indicate the button is pushed, and 0x00 when released. Each node also has a message object configured to receive messages. The C8051 tests the received data and will turn on/off the target board s LED. When one target is loaded with CAN2.c and the other is loaded with CAN1.c, one target board s push-button will control the other target board s LED, establishing a simple control link via the CAN bus and can be observed directly on the target boards.
標簽: CAN configuring and transmit
上傳時間: 2013-12-11
上傳用戶:weiwolkt
大三下學期做的計算機網絡的課程設計,文檔格式文件,有用的朋友可以下載-junior next semester so the computer network of curriculum design, document format, useful friends can be downloaded
標簽: curriculum computer semester network
上傳時間: 2013-12-12
上傳用戶:lwwhust
加密的步驟 1) 計算N的有效位數tn(以字節數計),將最高位的零忽略掉,令tn1=tn-1。比如N=0x012A05,其有效位數tn=5,tn1=4。 2) 將明文數據A分割成tn1位(以字節數計)的塊,每塊看成一個大數,塊數記為bn。從而,保證了每塊都小于N。 3) 對A的每一塊Ai進行Bi=Ai^E MOD N運算。Bi就是密文數據的一塊,將所有密文塊合并起來,就得到了密文數據B。
上傳時間: 2014-12-05
上傳用戶:caozhizhi
atmel公司AVR帶can接口控制器的編程指南,PDF格式,指導你如何編寫CANBUS通訊程序。(如何初始化can,如何編寫atmel can控制器的中斷服務程序)。 是不可多得的好教程,atmel公司canbus這方面的編程資料網上很難找的。
上傳時間: 2013-11-29
上傳用戶:it男一枚
spoj CCOST . Usage of a 2 dimensional fenwick tree.Querying (log(n)^2) a 2 dimensional matrix for sub sum and updating a cell in O(logn)
標簽: dimensional Querying fenwick matrix
上傳時間: 2017-03-02
上傳用戶:chfanjiang