亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

蟲蟲首頁| 資源下載| 資源專輯| 精品軟件
登錄| 注冊(cè)

Long-distance

  • Keil C51庫函數(shù)參考

      第五章 Keil C51庫函數(shù)參考   C51強(qiáng)大功能及其高效率的重要體現(xiàn)之一在于其豐富的可直接調(diào)用的庫函數(shù),多使用庫函數(shù)使程序代碼簡單,結(jié)構(gòu)清晰,易于調(diào)試和維護(hù),下面介紹C51的庫函數(shù)系統(tǒng)。   1. 第一節(jié) 本征庫函數(shù)(intrinsic routines)和非本征證庫函數(shù)   C51提供的本征函數(shù)是指編譯時(shí)直接將固定的代碼插入當(dāng)前行,而不是用ACALL和LCALL語句來實(shí)現(xiàn),這樣就大大提供了函數(shù)訪問的效率,而非本征函數(shù)則必須由ACALL及LCALL調(diào)用。   C51的本征庫函數(shù)只有9個(gè),數(shù)目雖少,但都非常有用,列如下:   _crol_,_cror_:將char型變量循環(huán)向左(右)移動(dòng)指定位數(shù)后返回   _iror_,_irol_:將int型變量循環(huán)向左(右)移動(dòng)指定位數(shù)后返回   _lrol_,_lror_:將long型變量循環(huán)向左(右)移動(dòng)指定位數(shù)后返回   _nop_: 相當(dāng)于插入NOP   _testbit_: 相當(dāng)于JBC bitvar測(cè)試該位變量并跳轉(zhuǎn)同時(shí)清除。   _chkfloat_: 測(cè)試并返回源點(diǎn)數(shù)狀態(tài)。   使用時(shí),必須包含#inclucle 一行。   如不說明,下面談到的庫函數(shù)均指非本征庫函數(shù)  

    標(biāo)簽: Keil C51 庫函數(shù)

    上傳時(shí)間: 2013-10-19

    上傳用戶:1184599859

  • 基于MSP430單片機(jī)的智能水位計(jì)設(shè)計(jì)

      為解決我國水位監(jiān)測(cè)野外條件下長期無人看守的問題,研制開發(fā)了基于MSP430單片機(jī)的智能水位計(jì)。從其組成到各功能分別進(jìn)行了詳細(xì)的介紹,該智能水位計(jì)不僅實(shí)現(xiàn)了水位數(shù)據(jù)的實(shí)時(shí)監(jiān)測(cè)、記錄和定期采集等多種工作模式,而且提高了水位監(jiān)測(cè)精度,實(shí)現(xiàn)了水位監(jiān)測(cè)的智能化。   Abstract:   In order to solve the problems of long-term unmanned observation in the field water monitoring,an intelligence water-level meter based on MSP430 is developed composition and every function moduce of the water level meter was introduced in detail. It not only realizes water level data collection and storage, regularly gathering and so on, but also improves the water-level precision , finally realizes the intelligence.  

    標(biāo)簽: MSP 430 單片機(jī) 水位計(jì)

    上傳時(shí)間: 2013-11-17

    上傳用戶:417313137

  • 基于ARM單片機(jī)的自動(dòng)測(cè)高測(cè)距小車

    生活中許多目標(biāo)的高度和水平距離需要進(jìn)行測(cè)量。目前主要的測(cè)量方法,仍以傳統(tǒng)的皮尺丈量為主,測(cè)量效率不高,有時(shí)還很不方便,沒有技術(shù)成熟的數(shù)字式測(cè)高測(cè)距產(chǎn)品。以基本的數(shù)學(xué)方法為理論依據(jù),利用遙控小車做為載體,采用角度傳感器測(cè)量角度、霍爾傳感器測(cè)量水平距離等,通過單片機(jī)LM3S615進(jìn)行數(shù)據(jù)計(jì)算,實(shí)現(xiàn)了對(duì)待測(cè)目標(biāo)物體的高度、水平距離等數(shù)據(jù)的快速、精確和數(shù)字式的測(cè)量,高度測(cè)量精度可達(dá)99.06%,水平測(cè)量精度則可達(dá)98.06%。 Abstract:  In our lives, the height and horizontal distance of some goals are needed to be measured. Because the currently used methods are still traditional tape-based measuring methods, and the measuring efficiency is low and inconvenient so some kinds of digital and portable measuring methods or instruments are needed. Based on the basic math theory, this paper designed and manufactured a portable, digital and remote controlled measuring mobile small vehicle, which assembled with angle measuring sensor for angle measurement and Hall sensor for horizontal distance measuring. MCU LM3S615 calculated the height and horizontal distance data gotten from these sensors. The measuring process is simple, the measuring results are more accurate and the measuring efficiency is higher than traditional measure instruments. The accuracy of height and distance measurement can reach 99.06% and 98.06%.

    標(biāo)簽: ARM 單片機(jī) 自動(dòng)

    上傳時(shí)間: 2013-10-30

    上傳用戶:jackandlee

  • 基于C8051F340的數(shù)據(jù)采集器設(shè)計(jì)

    針對(duì)眾多低成本數(shù)據(jù)采集需求,采用帶有片上USB控制器和D/A轉(zhuǎn)換器的混合信號(hào)微處理器C8051F340,設(shè)計(jì)了一款可通過USB接口和LabVIEW圖形用戶界面實(shí)現(xiàn)與PC機(jī)聯(lián)機(jī)的數(shù)據(jù)采集器,同時(shí)借助系統(tǒng)的SD卡存儲(chǔ)獨(dú)立實(shí)現(xiàn)現(xiàn)場(chǎng)長時(shí)間采集數(shù)據(jù)。該數(shù)據(jù)采集器成本低,結(jié)構(gòu)簡單,體積小,已成功用于工業(yè)現(xiàn)場(chǎng)。 Abstract:  Aiming at the need of low cost data acquisition, a data acquisition device is designed based on C8051F340 which is a mixed-signal microcontroller and integrates USB controller and A/D controller on a chip.The data acquisition device which can combine with PC by USB interface and LabVIEW graphical user interface,can realize data acquisition. At the same time,it can be solely run a long time in virtue of SD card in field.The date aequisition device features low cost,simple structure and little sharp, and it has been used in industry field.

    標(biāo)簽: C8051F340 數(shù)據(jù) 集器設(shè)計(jì)

    上傳時(shí)間: 2014-05-31

    上傳用戶:1109003457

  • 基于C8051F系列單片機(jī)的無線收發(fā)電路設(shè)計(jì)

    基于幅移鍵控技術(shù)ASK(Amplitude-Shift Keying),以C8051F340單片機(jī)作為監(jiān)測(cè)終端控制器,C8051F330D單片機(jī)作為探測(cè)節(jié)點(diǎn)控制器,采用半雙工的通信方式,通過監(jiān)控終端和探測(cè)節(jié)點(diǎn)的無線收發(fā)電路,實(shí)現(xiàn)數(shù)據(jù)的雙向無線傳輸。收發(fā)電路采用直徑為0.8 mm的漆包線自行繞制成圓形空心線圈天線,天線直徑為(3.4±0.3)cm。試驗(yàn)表明,探測(cè)節(jié)點(diǎn)與監(jiān)測(cè)終端的通信距離為24 cm,通過橋接方式,節(jié)點(diǎn)收發(fā)功率為102 mW時(shí),節(jié)點(diǎn)間的通信距離可達(dá)20 cm。與傳統(tǒng)無線收發(fā)模塊相比,該無線收發(fā)電路在受體積、功耗、成本限制的場(chǎng)合有廣闊的應(yīng)用前景。 Abstract:  Based on ASK technology and with the C8051F340 and C8051F330D MCU as the controller, using half-duplex communication mode, this paper achieves bi-directional data transfer. Transceiver circuit constituted by enameled wire which diameter is 0.8mm and wound into a diameter (3.4±0.3) cm circular hollow coil antenna. Tests show that the communication distance between detection and monitoring of the terminal is 24cm,the distance is up to 20cm between two nodes when using the manner of bridging and the node transceiver power is 102mW. Compared with the conventional wireless transceiver modules, the circuit has wide application prospect in small size, low cost and low power consumption and other characteristics.

    標(biāo)簽: C8051F 單片機(jī) 無線收發(fā) 電路設(shè)計(jì)

    上傳時(shí)間: 2013-10-19

    上傳用戶:xz85592677

  • SN65LBC170,SN75LBC170,pdf(TRIP

    The SN65LBC170 and SN75LBC170 aremonolithic integrated circuits designed forbidirectional data communication on multipointbus-transmission lines. Potential applicationsinclude serial or parallel data transmission, cabledperipheral buses with twin axial, ribbon, ortwisted-pair cabling. These devices are suitablefor FAST-20 SCSI and can transmit or receivedata pulses as short as 25 ns, with skew lessthan 3 ns.These devices combine three 3-state differentialline drivers and three differential input linereceivers, all of which operate from a single 5-Vpower supply.The driver differential outputs and the receiverdifferential inputs are connected internally to formthree differential input/output (I/O) bus ports thatare designed to offer minimum loading to the buswhenever the driver is disabled or VCC = 0. Theseports feature a wide common-mode voltage rangemaking the device suitable for party-lineapplications over long cable runs.

    標(biāo)簽: 170 LBC SN TRIP

    上傳時(shí)間: 2013-10-13

    上傳用戶:ytulpx

  • LLCR Pin Socket Testing with t

    LLCR Pin Socket Testing with the Model 3732 High Density Matrix Card Computer processors (CPUs) today have come a long way from the computer processors of the past. They draw more power, run at lower voltages, and have more pins than ever before.

    標(biāo)簽: Testing Socket LLCR with

    上傳時(shí)間: 2013-10-24

    上傳用戶:whenfly

  • C51中的關(guān)鍵字及用途說明

    C51 中的關(guān)鍵字關(guān)鍵字 用途 說明auto 存儲(chǔ)種類說明 用以說明局部變量,缺省值為此break 程序語句 退出最內(nèi)層循環(huán)case 程序語句 Switch 語句中的選擇項(xiàng)char 數(shù)據(jù)類型說明 單字節(jié)整型數(shù)或字符型數(shù)據(jù)const 存儲(chǔ)類型說明 在程序執(zhí)行過程中不可更改的常量值continue 程序語句 轉(zhuǎn)向下一次循環(huán)default 程序語句 Switch 語句中的失敗選擇項(xiàng)do 程序語句 構(gòu)成do..while 循環(huán)結(jié)構(gòu)double 數(shù)據(jù)類型說明 雙精度浮點(diǎn)數(shù)else 程序語句 構(gòu)成if..else 選擇結(jié)構(gòu)enum 數(shù)據(jù)類型說明 枚舉extern 存儲(chǔ)種類說明 在其他程序模塊中說明了的全局變量flost 數(shù)據(jù)類型說明 單精度浮點(diǎn)數(shù)for 程序語句 構(gòu)成for 循環(huán)結(jié)構(gòu)goto 程序語句 構(gòu)成goto 轉(zhuǎn)移結(jié)構(gòu)if 程序語句 構(gòu)成if..else 選擇結(jié)構(gòu)int 數(shù)據(jù)類型說明 基本整型數(shù)long 數(shù)據(jù)類型說明 長整型數(shù)register 存儲(chǔ)種類說明 使用CPU 內(nèi)部寄存的變量return 程序語句 函數(shù)返回short 數(shù)據(jù)類型說明 短整型數(shù)signed 數(shù)據(jù)類型說明 有符號(hào)數(shù),二進(jìn)制數(shù)據(jù)的最高位為符號(hào)位sizeof 運(yùn)算符 計(jì)算表達(dá)式或數(shù)據(jù)類型的字節(jié)數(shù)static 存儲(chǔ)種類說明 靜態(tài)變量struct 數(shù)據(jù)類型說明 結(jié)構(gòu)類型數(shù)據(jù)swicth 程序語句 構(gòu)成switch 選擇結(jié)構(gòu)typedef 數(shù)據(jù)類型說明 重新進(jìn)行數(shù)據(jù)類型定義union 數(shù)據(jù)類型說明 聯(lián)合類型數(shù)據(jù)unsigned 數(shù)據(jù)類型說明 無符號(hào)數(shù)數(shù)據(jù)void 數(shù)據(jù)類型說明 無類型數(shù)據(jù)volatile 數(shù)據(jù)類型說明 該變量在程序執(zhí)行中可被隱含地改變while 程序語句 構(gòu)成while 和do..while 循環(huán)結(jié)構(gòu)ANSIC 標(biāo)準(zhǔn)關(guān)鍵字關(guān)鍵字 用途 說明bit 位標(biāo)量聲明 聲明一個(gè)位標(biāo)量或位類型的函數(shù)sbit 位標(biāo)量聲明 聲明一個(gè)可位尋址變量

    標(biāo)簽: C51

    上傳時(shí)間: 2013-10-08

    上傳用戶:waves_0801

  • 開放式匯編器系統(tǒng)的設(shè)計(jì)

    匯編器在微處理器的驗(yàn)證和應(yīng)用中舉足輕重,如何設(shè)計(jì)通用的匯編器一直是研究的熱點(diǎn)之一。本文提出了一種開放式的匯編器系統(tǒng)設(shè)計(jì)思想,在匯編語言與機(jī)器語言間插入中間代碼CMDL(code mapping description language)語言,打破匯編語言與機(jī)器語言的直接映射關(guān)系,由此建立起一套描述匯編語言與機(jī)器語言的開放式映射體系。基于此開放式映射體系開發(fā)了一套匯編器系統(tǒng),具有較高層次上的通用性和可移植性。【關(guān)鍵詞】指令集,CMDL,匯編器,開放式 Design of Retargetable Assembler System Liu Ling Feng Wen Nan Wang Ying Chun Jiang An Ping Ji Li Jiu IME of Peking University, 100871【摘要】An assembler plays a very important role in the field of microprocessor verifications and applications, thus how to build a retargetable assembler system has been a hotspot in this field for long time. This paper presents a new method about the retargetable assembler system design.It provides a kind of language CMDL, code mapping description language. During the process of assembling, assembler languages are firstly translated to CMDL, and then mapped to the machine codes. In an other word, CMDL is inserted between assembler languages and machine codes during the translation procedure. As a medium code, CMDL has a lot of features, such as high extraction, strong descript capabilities. It can describe almost all attributes of assembler languages. By breaking the direct mapping relationship between assembler languages and machine codes, the complexities of machine codes are hided to the users, therefore, the new retargetable assembler system has higher retargetable level by converting the mapping from assembler languages and machine codes to assembler languages and CMDL, and implementationof it becomes easier. Based on the new mapping system structure, a retargetable assemblersystem is developed. It proved the whole system has good retargetability and implantability.【關(guān)鍵詞】instruction set, symbol table, assembler, lexical analysis, retargetability

    標(biāo)簽: 開放式 匯編器

    上傳時(shí)間: 2013-10-10

    上傳用戶:meiguiweishi

  • keil使用筆記

    keil 使用筆記:在Memory窗口上輸入address_type:address才能看到正確地址的變量debug~perfermance analyzer加入要察看的模塊名稱,然后view~perfermance analyzer window 可以察看各個(gè)模塊運(yùn)行時(shí)間①Display address_type:address B:Bit address C:Code Memory Bx:Code Bank D D:80H 命令可以查看特殊寄存器 data D I:0 命令可以查看內(nèi)部RAM數(shù)據(jù)iData; D X:0 命令可以查看外部RAM數(shù)據(jù)xData; ②R1 //顯示R1 register ~R1 //顯示變量R1 R1 = R7 //對(duì)寄存器Rx操作R1 = --R7 R1 = 0x20 ③main //顯示main()的開始地址d main //顯示main()的代碼④向RAM.ROM中寫數(shù)據(jù)Enter data_type address_type:address expr,expr.... data_type:int char double float long E char data:0x20 1,2,3,4 //向data區(qū)0x20開始的地址寫1,2,3,4 變量放在RAM的30H,要把定義放在main前面!另外特別注意,內(nèi)部RAM通常供C程序存放中間變量等,所以一定要看看編譯后的程序中是否存在存儲(chǔ)單元沖突的情況,比如如果程序中 使用了別的寄存器組的話,08-1FH單元就不能用了unsigned long data i _at_ 0x30

    標(biāo)簽: keil 使用筆記

    上傳時(shí)間: 2013-11-05

    上傳用戶:dongqiangqiang

主站蜘蛛池模板: 株洲市| 福安市| 万安县| 岚皋县| 永济市| 南汇区| 乌恰县| 南阳市| 饶河县| 巴中市| 嵊泗县| 综艺| 武定县| 连南| 新巴尔虎左旗| 澄城县| 南川市| 宣威市| 甘德县| 桐乡市| 临潭县| 邛崃市| 穆棱市| 江山市| 新龙县| 新蔡县| 墨玉县| 佳木斯市| 民县| 大渡口区| 沛县| 南召县| 沁水县| 永胜县| 丽水市| 寻甸| 海南省| 东阿县| 梁山县| 东乌珠穆沁旗| 绥宁县|