歡迎來(lái)到裝配圖網(wǎng)! | 幫助中心 裝配圖網(wǎng)zhuangpeitu.com!
裝配圖網(wǎng)
ImageVerifierCode 換一換
首頁(yè) 裝配圖網(wǎng) > 資源分類 > DOC文檔下載  

畢業(yè)設(shè)計(jì)論文 外文文獻(xiàn)翻譯 單片機(jī)類 AT89C2051 中英文對(duì)照

  • 資源ID:30153572       資源大小:58KB        全文頁(yè)數(shù):8頁(yè)
  • 資源格式: DOC        下載積分:15積分
快捷下載 游客一鍵下載
會(huì)員登錄下載
微信登錄下載
三方登錄下載: 微信開(kāi)放平臺(tái)登錄 支付寶登錄   QQ登錄   微博登錄  
二維碼
微信掃一掃登錄
下載資源需要15積分
郵箱/手機(jī):
溫馨提示:
用戶名和密碼都是您填寫的郵箱或者手機(jī)號(hào),方便查詢和重復(fù)下載(系統(tǒng)自動(dòng)生成)
支付方式: 支付寶    微信支付   
驗(yàn)證碼:   換一換

 
賬號(hào):
密碼:
驗(yàn)證碼:   換一換
  忘記密碼?
    
友情提示
2、PDF文件下載后,可能會(huì)被瀏覽器默認(rèn)打開(kāi),此種情況可以點(diǎn)擊瀏覽器菜單,保存網(wǎng)頁(yè)到桌面,就可以正常下載了。
3、本站不支持迅雷下載,請(qǐng)使用電腦自帶的IE瀏覽器,或者360瀏覽器、谷歌瀏覽器下載即可。
4、本站資源下載后的文檔和圖紙-無(wú)水印,預(yù)覽文檔經(jīng)過(guò)壓縮,下載后原文更清晰。
5、試題試卷類文檔,如果標(biāo)題沒(méi)有明確說(shuō)明有答案則都視為沒(méi)有答案,請(qǐng)知曉。

畢業(yè)設(shè)計(jì)論文 外文文獻(xiàn)翻譯 單片機(jī)類 AT89C2051 中英文對(duì)照

AT89C2051Author:Yuan Zhenming,Zhang Liang,Zhan Guohua;From: http:/www.webCT.comAT89C2051 is made in the ATMEL Corporation, which is the low-voltage, high-performance CMOS8-bit microcontroller,Tablets containing repeated 2k bytes of program memory erasable read-only (PEROM) and random 128bytes data memory (RAM), device using ATMELs high density, non-volatile memory technology, Compatible with the standard of MCS-51 instruction set, built-chip 8-bit general-purpose central processing unit and repeatedly write the Flash memory, which can effectively reduce the development costs. AT89C2051 features a powerful single-chip can provide cost-effective in many Applications.Main features:Compatible the MCS51 command system;Contains the 2KB memory re-programming FLASH (1000);2.7 6V voltage range;the whole Static work: 0Hz 24KHz;Secrets 2 Program Memory Lock128 8-bit internal RAM15 programmable I / O linesTwo 16-bit timer / counter6 interrupt sources, two external interrupt sourcesProgrammable Serial ChannelHigh Precision Voltage Comparator (P1.0,P1.1,P3.6);Have the output port of the LED direct drive Low-power idle and power-down mode The pin Picture of AT89C2051Picture one the pin of AT89C2051AT89C2051s functional description:VCC: Power Supply VoltageGND: land P1 port: P1 mouth is a group of 8-bit bi-directional I / O interface, P1.2 P1.7 provide internal pull-up resistor,P1.0 and P1.1 internal supreme pull-up resistor. P1 mouth output buffer can absorb the current 20mA and direct-drive LED.When Programming and calibration, P1 mouth as the eighth address receive.P3 mouth: P3 port P3.0 P3.5, P3.7 is the internal pull-up resistor with the seven bi-directional I / O interface. Did not bring out the P3.6,It as a generic I / O port, but can not visit. Can be used as a fixed-chip input comparator output signal. when P3 write 1, they were highed the internal pull-up resistor can be raised as an input port.P3 port special function as shown in table 1:Table 1 P3 mouths special features引腳功能特性P3.0RXD (串行輸入口)P3.1TXD (串行輸出口)P3.2 (外中斷0)P3.3 (外中斷1)P3.4T0 (定時(shí)/計(jì)數(shù)器0外部輸入)P3.5T1 (定時(shí)/計(jì)數(shù)器1外部輸入)RST:Reset output. When the oscillator device reset, RST pin to maintain the high level of two machine cycle time.XTAL1: the RP-oscillator amplifier and internal clock generator input.TimerOverview of the Timer 89C2051 single-chip-chip has two 16-bit timer / counter, That is the timer 0 (T0) and Timer 1 (T1). They all have from time to time and event count function, Can be used for timing control, delay of external events, such as counting and testing occasions. Timers T0 and T1 two 16-bit timers in fact is 16-bit counter plus 1. Among them, T0 compositioned by the two 8-bit special function registers TH0 and TL0; T1 posed by the TH1 and TL1. These functions were controled by the special function registers TMOD and TCON When set to the work in the timing, Through the pin count of the external pulse signal. When the input pulse signal generated by the falling edge of 1-0, The value of timer plus 1. At of every machine cycle during the S5P2 sampling pin T0 and T1 the input level, if a machine cycle before sample value of 1, The next machine cycle sampling value is 0, The counter plus 1. Since then during S3P1 of the machine cycle, New value will into the counter.so Detection of a 1-0 transition of the two machine cycles,So The maximum count frequency of oscillation frequency of 1 / 24. In addition to the option of work from time to time or count,Each timer / counter have four kinds of work mode, That is, each of timer circuit kinds of four constitute a structural modelTwo low-power modeIdle modeIn idle mode, CPU to maintain sleep and all-chip peripherals remain active, this way generated in Software, At this point, Chip RAM and all the contents of special function registers remain unchanged. Idle mode was terminated by any interrupt request permission to or hardware reset.P1.0 and P1.1 ,in the non-use of external pull-up resistor on the case should be set to "0", Or in the use of pull-up resistor is set to "1."It should be noted that: when uses of hardware reset Termination idle mode, AT89C2051 is usually stopped from the program until the internal reset control of the two machine cycles before the restore procedure Service. In this case the hardware within the prohibition of the reading and writing of internal RAM, However, to allow access to ports, To eliminate the Hardware reset in the idle mode of port accidents may write, In principle, to enter the idle mode of instruction should not be under the command of a pin or an external memory port for a visit.Power-down modeIn power-down mode, the oscillator to stop working, enter the power-down mode ,Instructions, who was the last one, the implementation of the Directive, Chip RAM and all the contents of special function registers the termination of the previous power-down mode be frozen. To withdraw from power-down mode is the only way to reset the hardware, Reset will redefine all the Special Function Registers but Does not change the contents of RAM before the the Vcc work returned to normal levels Shall be null and void and must be reset to maintain a certain period of time in order to restart and oscillator stabilityP1.0 and P1.1 in the non-use of external pull-up resistor on the case should be set to "0", Or in the use of pull-up resistor is set to "1."OscillatorOscillator connected clientXTAL1: RP-oscillator amplifier and internal clock generator inputXTAL2: RP-oscillator amplifier outputCharacteristics of Oscillator XTAL1, XTAL2 ware the RP-chip oscillator amplifier inputs and outputs, Quartz crystal can be composed of the clock oscillator or ceramic oscillator, For more information from the external input clock driver AT89C2051, XTAL1 input clock signal from, XTAL2 should be left vacant.As the input to the internal circuit is a 2-flip-flop, Therefore, the external clock signal input without special requirements, However, it must comply with the maximum level and minimum norms and timingAT89C2051作者:Yuan Zhenming, Zhang Liang, Zhan Guohua;來(lái)自:http:/www.webCT.comAT89C2051是美國(guó)ATMEL公司生產(chǎn)的低電壓、高性能CMOS8位單片機(jī),片內(nèi)含2k bytes的可反復(fù)擦寫的只讀程序存儲(chǔ)器(PEROM)和128bytes的隨機(jī)數(shù)據(jù)存儲(chǔ)器(RAM),器件采用ATMEL公司的高密度、非易失性存儲(chǔ)技術(shù)生產(chǎn),兼容標(biāo)準(zhǔn)MCS-51指令系統(tǒng),片內(nèi)置通用8位中央處理器和可反復(fù)擦寫的Flash存儲(chǔ)器,可有效地降低開(kāi)發(fā)成本。功能強(qiáng)大AT89C2051單片機(jī)可提供許多高性價(jià)比的應(yīng)用場(chǎng)合。3.2主要功能特性: *兼容MCS51指令系統(tǒng);*2KB可重編程FLASH存儲(chǔ)器(1000次);*2.76V電壓范圍;*全靜態(tài)工作:0Hz24KHz;*2級(jí)程序存儲(chǔ)器保密鎖定;* 1288位內(nèi)部RAM;*15條可編程I/O線; *兩個(gè)16位定時(shí)器/計(jì)數(shù)器;*6個(gè)中斷源,兩個(gè)外部中斷源;*可編程串行通道;*高精度電壓比較器(P1.0,P1.1,P3.6); *直接驅(qū)動(dòng)LED的輸出端口;*低功耗空閑和掉電模式AT89C2051的管腳引腳圖如圖2所示。 圖1 AT89C2051封裝管腳引腳圖AT89C2051引腳功能說(shuō)明:VCC:電源電壓GND:地P1口:P1口是一組8位雙向I/O接口,P1.2P1.7提供內(nèi)部上拉電阻,P1.0和P1.1內(nèi)部無(wú)上拉電阻。P1口輸出緩沖器可吸收20mA的電流并可直接驅(qū)動(dòng)LED。編程和校驗(yàn)時(shí), P1口作為第八位地址接收。P3口:P3口的P3.0P3.5、P3.7是帶有內(nèi)部上拉電阻的7個(gè)雙向I/O接口。P3.6沒(méi)有引出,它作為一個(gè)通用的I/O口,但是不可訪問(wèn)。可作為固定輸入的片內(nèi)比較器的輸出信號(hào)。當(dāng)P3口寫入1時(shí),它們被內(nèi)部的上拉電阻拉高并可作為輸入端口。P3口的特殊功能如表1所示:RST:復(fù)位輸出。當(dāng)振蕩器復(fù)位器件時(shí),要保持RST腳兩個(gè)機(jī)器周期的高電平時(shí)間。XTAL1:振蕩器的反相放大器及內(nèi)部時(shí)鐘發(fā)生器的輸入端。XTAL2:振蕩器反相放大器的輸出端。表1 P3口的特殊功能引腳功能特性P3.0RXD (串行輸入口)P3.1TXD (串行輸出口)P3.2 (外中斷0)P3.3 (外中斷1)P3.4T0 (定時(shí)/計(jì)數(shù)器0外部輸入)P3.5T1 (定時(shí)/計(jì)數(shù)器1外部輸入)定時(shí)器定時(shí)器概述89C2051單片機(jī)片內(nèi)有兩個(gè)16位定時(shí)器/計(jì)數(shù)器,即定時(shí)器0(T0)和定時(shí)器1(T1)。它們都有定時(shí)和事件計(jì)數(shù)功能,可用于定時(shí)控制、延時(shí)、對(duì)外部事件計(jì)數(shù)和檢測(cè)等場(chǎng)合。定時(shí)器T0和T1兩個(gè)16位定時(shí)器實(shí)際上都是16位加1計(jì)數(shù)器。其中,T0由兩個(gè)8位特殊功能寄存器TH0和TL0構(gòu)成;T1由TH1和TL1構(gòu)成。這些功能都由特殊功能寄存器TMOD和TCON所控制。 設(shè)置為定時(shí)工作方式時(shí),定時(shí)器計(jì)數(shù)AT89C2051片內(nèi)振蕩器輸出的經(jīng)12分頻后的脈沖,即每個(gè)機(jī)器周期使定時(shí)器的數(shù)值加1直至計(jì)滿溢出。當(dāng)AT89C205采用12MHz晶振時(shí),一個(gè)機(jī)器周期為1s,計(jì)數(shù)頻率為1MHz。設(shè)置為計(jì)數(shù)工作方式時(shí),通過(guò)引腳對(duì)外部脈沖信號(hào)計(jì)數(shù)。當(dāng)輸入脈沖信號(hào)產(chǎn)生由1至0的下降沿時(shí),定時(shí)器的值加1。在每個(gè)機(jī)器周期的S5P2期間采樣T0和T1引腳的輸入電平,若前一個(gè)機(jī)器周期采樣值為1,下一個(gè)機(jī)器周期采樣值為0,則計(jì)數(shù)器加1。此后的機(jī)器周期S3P1期間,新的數(shù)值裝入計(jì)數(shù)器。所以,檢測(cè)一個(gè)1至0的跳變需要兩個(gè)機(jī)器周期,故最高計(jì)數(shù)頻率為振蕩頻率的1/24。除了可以選擇定時(shí)或計(jì)數(shù)工作方式外,每個(gè)定時(shí)器/計(jì)數(shù)器還有4種工作模式,也就是每個(gè)定時(shí)器可構(gòu)成4種電路結(jié)構(gòu)模式。兩種低功耗模式空閑模式 在空閑模式下,CPU保持睡眠狀態(tài)而所有片內(nèi)的外設(shè)仍保持激活狀態(tài),這種方式有軟件產(chǎn)生。此時(shí),片內(nèi)RAM和所有特殊功能寄存器的內(nèi)容保持不變??臻e模式可由任何允許的中斷請(qǐng)求或者硬件復(fù)位終止。 P1.0和P1.1在不使用外部上拉電阻的情況下應(yīng)設(shè)置為“0”,或者在使用上拉電阻的情況下設(shè)置為“1”。應(yīng)注意的是:在用硬件復(fù)位終止空閑模式時(shí),AT89C2051通常從程序停止一直到內(nèi)部復(fù)位獲得控制之前的兩個(gè)機(jī)器周期處回復(fù)程序執(zhí)行。在這種情況下片內(nèi)硬件禁止對(duì)內(nèi)部RAM的讀寫,但允許對(duì)端口的訪問(wèn),要消除硬件復(fù)位終止空閑模式對(duì)端口意外寫入的可能,原則上進(jìn)入空閑模式指令的下一條指令不應(yīng)對(duì)端口引腳或外部存儲(chǔ)器進(jìn)行訪問(wèn)。掉電模式在掉電模式下,振蕩器停止工作,進(jìn)入掉電模式的指令是最后一條被執(zhí)行的指令,片內(nèi)RAM和所有特殊功能寄存器的內(nèi)容在終止掉電模式前被凍結(jié)。退出掉電模式的唯一方法是硬件復(fù)位,復(fù)位后將重新定義全部特殊功能寄存器但不改變RAM中的內(nèi)容在Vcc恢復(fù)到正常工作電平前,復(fù)位應(yīng)無(wú)效且必須保持一定時(shí)間以使振蕩器重啟動(dòng)并穩(wěn)定工作。P1.0和P1.1在不使用外部上拉電阻的情況下應(yīng)設(shè)置為“0”,或者在使用上拉電阻的情況下設(shè)置為“1”。振蕩器-振蕩器連接端XTAL1:振蕩器反相放大器以及內(nèi)部時(shí)鐘發(fā)生器的輸入端XTAL2:振蕩器反相放大器的輸出端振蕩器特征XTAL1、XTAL2為片內(nèi)振蕩器的反相放大器的輸入和輸出端,如圖3所示。可采用石英晶體或者陶瓷振蕩器組成時(shí)鐘振蕩器,如需從外部輸入時(shí)鐘驅(qū)動(dòng)AT89C2051,時(shí)鐘信號(hào)從XTAL1輸入,XTAL2應(yīng)懸空。由于輸入到內(nèi)部電路是經(jīng)過(guò)一個(gè)2分頻觸發(fā)器,所以輸入的外部時(shí)鐘信號(hào)無(wú)需特殊要求,但它必須符合電平的最大和最小值及時(shí)序規(guī)范。

注意事項(xiàng)

本文(畢業(yè)設(shè)計(jì)論文 外文文獻(xiàn)翻譯 單片機(jī)類 AT89C2051 中英文對(duì)照)為本站會(huì)員(仙***)主動(dòng)上傳,裝配圖網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)上載內(nèi)容本身不做任何修改或編輯。 若此文所含內(nèi)容侵犯了您的版權(quán)或隱私,請(qǐng)立即通知裝配圖網(wǎng)(點(diǎn)擊聯(lián)系客服),我們立即給予刪除!

溫馨提示:如果因?yàn)榫W(wǎng)速或其他原因下載失敗請(qǐng)重新下載,重復(fù)下載不扣分。




關(guān)于我們 - 網(wǎng)站聲明 - 網(wǎng)站地圖 - 資源地圖 - 友情鏈接 - 網(wǎng)站客服 - 聯(lián)系我們

copyright@ 2023-2025  zhuangpeitu.com 裝配圖網(wǎng)版權(quán)所有   聯(lián)系電話:18123376007

備案號(hào):ICP2024067431號(hào)-1 川公網(wǎng)安備51140202000466號(hào)


本站為文檔C2C交易模式,即用戶上傳的文檔直接被用戶下載,本站只是中間服務(wù)平臺(tái),本站所有文檔下載所得的收益歸上傳人(含作者)所有。裝配圖網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)上載內(nèi)容本身不做任何修改或編輯。若文檔所含內(nèi)容侵犯了您的版權(quán)或隱私,請(qǐng)立即通知裝配圖網(wǎng),我們立即給予刪除!