本代碼為查表法CRC16和CRC32校驗(yàn)的表生成和校驗(yàn)程序。使用此代碼可以任意多項(xiàng)式生成CRC16和CRC32的程序。另有文件實(shí)現(xiàn)CRC16和CRC32的校驗(yàn)。 使用生成的表格,即可以在嵌入式中實(shí)現(xiàn)RAM和ROM區(qū)的校驗(yàn)。源程序在MSP430上實(shí)現(xiàn),現(xiàn)整理成通用C版本。
上傳時間: 2015-04-08
上傳用戶:VRMMO
HD7279(c語言)驅(qū)動 程序作用:測試Sage Tech.開發(fā)板(MCP300)中hd7279鍵盤顯示芯片是否能正常工作 程序功能:按下1號鍵顯示0、1、2、3,按下2號鍵顯示c、d、e、f,按下3號鍵顯示4、5 、6、7 按下4號鍵顯示8、9、a、b,按下0號鍵點(diǎn)亮4個LED燈
上傳時間: 2015-04-08
上傳用戶:xuanjie
DSP2407平臺下用C語言實(shí)現(xiàn)的數(shù)控直線插補(bǔ)源代碼。T2中斷插補(bǔ)周期2ms,可設(shè)定兩組PWM輸出狀態(tài),實(shí)現(xiàn)兩個電機(jī)控制。使用了數(shù)字增量插補(bǔ)時間分割法進(jìn)行直線插補(bǔ)。
上傳時間: 2015-04-26
上傳用戶:二驅(qū)蚊器
分而治之方法還可以用于實(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
2410開發(fā)板在ADS下的A/D轉(zhuǎn)換測試程序。 運(yùn)行步驟: 1 打開ad.mcp工程文件 2 運(yùn)行 3 用一根導(dǎo)線連接ad 輸入0通道,觀察屏幕輸出數(shù)據(jù)的變化 文件說明: ad_test.c:開發(fā)板初始化文件 ad.c :ad測試主文件
標(biāo)簽: 2410 ADS mcp 運(yùn)行
上傳時間: 2013-12-18
上傳用戶:二驅(qū)蚊器
2410開發(fā)板在ADS下的D/A轉(zhuǎn)換測試程序。 運(yùn)行步驟: 1 打開DA.mcp工程文件 2 運(yùn)行 3 使用示波器, 連接示波器與開發(fā)板上的DA輸出和地線, 觀察示波器上的變化 文件說明: ad_test.c 開發(fā)板初始化文件 ad.c ad實(shí)驗(yàn)主程序文件
標(biāo)簽: 2410 ADS mcp 運(yùn)行
上傳時間: 2015-05-01
上傳用戶:leehom61
The project KEIL_IODemo shows how to use memory allocation routines (malloc) and char I/O (printf, scanf) via a serial interface with the Keil ARM toolchain. The I/O functions are adapted for the Analog Devices ADuC7000 series using the SERIAL.C module. The example also shows the efficiency of the Keil CA ARM Compiler run-time library which is tuned for single chip systems.
標(biāo)簽: KEIL_IODemo allocation routines project
上傳時間: 2013-12-08
上傳用戶:ve3344
UART I/O and Memory Allocation Example for GNU The project GNU_IODemo shows how to use memory allocation routines (malloc) and char I/O (printf, scanf) via a serial interface with the GNU toolchain. The I/O functions are adapted for the Analog Devices ADuC7000 series using the SERIAL.C module. The example also shows the efficiency of the Keil CA ARM Compiler run-time library which is tuned for single chip systems.
標(biāo)簽: Allocation GNU_IODemo Example project
上傳時間: 2015-05-04
上傳用戶:Amygdala
The subject which is to us propos¨¦ is as follows: calculation of the degr¨¦ d¡ ¯ inconsistance d¡ ¯ un logical program possibilist in C++. We thus work on a logical program possibilist, it be-¨¤-statement a logical program resulting from non-classique logic. The goal first of this project is of d¨¦ terminer if a logical program is consisting or not of share the calculation of sound degr¨¦ d¡ ¯ inconsistance.
標(biāo)簽: brvbar calculation subject follows
上傳時間: 2013-12-18
上傳用戶:yulg
本書全面介紹了UNIX系統(tǒng)的程序設(shè)計界面—系統(tǒng)調(diào)用界面和標(biāo)準(zhǔn)C庫提供的許多函數(shù)。 本書的前15章著重于理論知識的闡述,主要內(nèi)容包括UNIX文件和目錄、進(jìn)程環(huán)境、進(jìn)程控制、進(jìn)程間通信以及各種I/O。在此基礎(chǔ)上,分別按章介紹了多個應(yīng)用實(shí)例,包括如何創(chuàng)建數(shù)據(jù)庫函數(shù)庫,PostScript 打印機(jī)驅(qū)動程序,調(diào)制解調(diào)器撥號器及在偽終端上運(yùn)行其他程序的程序等。 本書內(nèi)容豐富權(quán)威,概念清晰精辟,一直以來被譽(yù)為UNIX編程的“圣經(jīng)”,對于所有UNIX程序員—無論是初學(xué)者還是專家級人士—都是一本無價的參考書籍。
標(biāo)簽: UNIX 程序設(shè)計 標(biāo)準(zhǔn)
上傳時間: 2013-12-02
上傳用戶:dancnc
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1