freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

單片機(jī)外文翻譯---at89s52單片機(jī)-單片機(jī)-wenkub.com

2025-01-15 07:56 本頁面
   

【正文】 波特率產(chǎn)生工作模式與自動(dòng)重載模式相似,因此, TH2 的翻轉(zhuǎn)使得定時(shí)器 2 寄存器重載被軟件預(yù)置 16位值的 RCAP2H和 RCAP2L中的值。在這種工作模式下, EXF2不能觸發(fā)中斷。 T2EX 上的一個(gè)邏輯 0 使得定時(shí)器 2 向下計(jì)數(shù)。在這種模式下, T2EX引腳控制著計(jì)數(shù)的方向。定時(shí)器工作于捕捉模式, RCAP2H和 RCAP2L的值可以由軟件預(yù)設(shè)。 DCEN=0 時(shí),定時(shí)器 2 自動(dòng)計(jì)數(shù)。 當(dāng)定時(shí)器 2 工作于 16 位自動(dòng)重載模式,可對(duì)其編程實(shí)現(xiàn)向上計(jì)數(shù)或向下 計(jì)數(shù)。如果濱州 學(xué)院 本 科畢業(yè)設(shè)計(jì) (外文翻譯 ) 7 EXEN2=1,定時(shí)器 2做相同的操作。因?yàn)樽R(shí)別 1- 0的跳變需要 2個(gè)機(jī)器周期( 24個(gè)晶振周期),所以,最大的計(jì)數(shù)頻率不高于晶振頻率的 1/24。 表 3 定時(shí)器 2工作模式 RCLK +TCLK CP/RL2 TR2 MODE 0 0 1 16位自動(dòng)重載 0 1 1 16位捕捉 1 X 1 波特率發(fā)生 器 X X 0 (不用) 在計(jì)數(shù)工作方式下,寄存器在相關(guān)外部輸入角 T2 發(fā)生 1 至 0 的下降沿時(shí)增加 1。如表 3 所示,工作模式由 T2CON中的相關(guān)位選擇。 從這個(gè)主頁,選擇“ Products”,然后選擇“ 8051Architech Flash Microcontroller”,再選擇“ Product Overview”即可。為了獲得更深入的關(guān)于 UART 的信息,可參考 ATMEL 網(wǎng)站( //)。在進(jìn)入待機(jī)模式前,特殊寄存器 AUXR的 WDIDLE位用來決定 WDT是否繼續(xù)計(jì)數(shù)。當(dāng)中斷拉高后,執(zhí)行中斷服務(wù)程序。有兩種方式可以離開掉電模式:硬件復(fù)位或通過一個(gè)激 活的外部中斷。當(dāng) WDT 計(jì)數(shù)器溢出時(shí),將給 RST 引腳產(chǎn)生一個(gè)復(fù)位脈沖輸出,這個(gè)復(fù)位脈沖持續(xù) 96個(gè)晶振周期( TOSC),其中 TOSC=1/FOSC。當(dāng)計(jì)數(shù)達(dá)到 8191(1FFFH)時(shí), 13 位計(jì)數(shù)器將會(huì)溢出,這將會(huì)復(fù)位器件。除了復(fù)位(硬件復(fù)位或 WDT溢出復(fù)位),沒有辦法停止 WDT工作。 WDT 由 13位計(jì)數(shù)器和特殊功能寄存器中的看門狗定時(shí)器復(fù)位存儲(chǔ)器( WDTRST)構(gòu)成。例如,下面的間接尋址方式中, R0 內(nèi)容為 0A0H,訪問的是地址 0A0H的寄存器,而不是 P2口(它的地址也是 0A0H)。也就是說高 128字節(jié)與特殊功能寄存器有相同的地址,而物理上是分開的。 如果 EA 引腳接地,程序讀取只從外部存儲(chǔ)器開始。 XTAL1: 振蕩器反相放大器和內(nèi)部時(shí)鐘發(fā)生電路的輸入端。 EA /VPP: 訪問外部程序存儲(chǔ)器控制信號(hào)。否則, ALE 將被微弱拉高。在一般情況下, ALE 以晶振六分之一的固定頻率輸出脈沖,可用來作為外部定時(shí)器或時(shí)鐘使用。特殊寄存器 AUXR(地址 8EH)上的 DISRTO位可以使此功能無效。在 flash編程和校驗(yàn)時(shí), P3口也接收一些控制信號(hào)。 P3口 : P3 口是一個(gè)有內(nèi)部上拉電阻的 8 位雙向 I/O 口, p2 輸出緩沖器能驅(qū)動(dòng) 4 個(gè) TTL 邏輯電平。在訪問外部程序存儲(chǔ)器或用 16位地址讀取外部數(shù)據(jù)存儲(chǔ)器(例如執(zhí)行MOVX DPTR)時(shí), P2 口送出高八位地址。濱州學(xué)院本 科畢業(yè)設(shè)計(jì) (外文翻譯 ) 2 在 flash 編程和校驗(yàn)時(shí), P1口接收低 8 位地址字節(jié)。 P1 口: P1 口是一個(gè)具有內(nèi)部上拉電阻的 8 位雙向 I/O 口, p1 輸出緩沖器能驅(qū)動(dòng) 4 個(gè) TTL 邏輯電平。當(dāng)訪問外部程序和數(shù)據(jù)存儲(chǔ)器時(shí), P0 口也被作為低 8 位地址 /數(shù)據(jù)復(fù)用。掉電保護(hù)方式下, RAM 內(nèi)容被保存,振蕩器被凍結(jié),單片機(jī)一切工作停止,直到下一個(gè)中斷或硬件復(fù)位為止。在單芯片上,擁有靈巧的 8 位 CPU 和在系統(tǒng)可編程 Flash,使得 AT89S52 為眾多嵌入式控制應(yīng)用系統(tǒng)提供高靈活、超有效的解決方案。 畢業(yè)設(shè)計(jì)( 外文翻譯 ) 題 目 系 (院) 專 業(yè) 學(xué)生姓名 學(xué) 號(hào) 指導(dǎo)教師 職 稱 2021 年 6 月 15 日 濱州 學(xué)院 本 科畢業(yè)設(shè)計(jì) (外文翻譯 ) 1 AT89S52 The AT89S52 is a lowpower, highperformance CMOS 8bit microcontroller with 8K bytes of insystem programmable Flash memory. The device is manufactured using Atmel’s highdensity nonvolatile memory technology and is patible with the industrystandard 80C51 instruction set and pinout. The onchip Flash allows the program memory to be reprogrammed insystem or by a conventional nonvolatile memory programmer. By bining a versatile 8bit CPU with insystem programmable Flash on a monolithic chip, the Atmel AT89S52 is a powerful microcontroller which provides a highlyflexible and costeffective solution to many embedded control applications. The AT89S52 provides the following standard features: 8K bytes of Flash, 256 bytes of RAM, 32 I/O lines, Watchdog timer, two data pointers, three 16bit timer/counters, a sixvector twolevel interrupt architecture, a full duplex serial port, onchip oscillator, and clock circuitry. In addition, the AT89S52 is designed with static logic for operation down to zero frequency and supports two software selectable power saving modes. The Idle Mode stops the CPU while allowing the RAM, timer/counters, serial port, and interrupt system to continue functioning. The Powerdown mode saves the RAM contents but freezes the oscillator, disabling all other chip functions until the next interrupt or hardware reset. VCC : Supply voltage. GND : Ground. Port 0: Port 0 is an 8bit open drain bidirectional I/O port. As an output port, each pin can sink eight TTL inputs. When 1s are written to port 0 pins, the pins can be used as highimpedance inputs. Port 0 can also be configured to be the multiplexed loworder address/data bus during accesses to external program and data memory. In this mode, P0 has internal pullups. Port 0 also receives the code bytes during Flash programming and outputs the code bytes during program verification. External pullups are required during program verification. Port 1: Port 1 is an 8bit bidirectional I/O port with internal pullups. The Port 1 output buffers can sink/source four TTL inputs. When 1s are written to Port 1 pins, they are pulled high by the internal pullups and can be used as inputs. As inputs, Port 1 pins that are externally being pulled low will source current (IIL) because of the internal pullups. In addition, and can be configured to be the timer/counter 2 external 濱州學(xué)院本 科畢業(yè)設(shè)計(jì) (外文翻譯 ) 2 count input () and the timer/counter 2 trigger input (), respectively, as shown in the following table. Port 1 also receives the loworder address bytes during Flash programming and verification. Table1 Port Pin Alternate Functions T2 (external count input to Timer/Counter 2), clockout T2EX (Timer/Counter 2 capture/reload trigger and direction control) MOSI (used for InSystem Programming) MISO (used for InSystem Programming) SCK (used for InSystem Programming) Port 2: Port 2 is an 8bit bidirectional I/O port with internal pullups. The Port 2 output buffers can sink/source four TTL inputs. When 1s are written to Port 2 pins, they are pulled high by the internal pullups and can be used as inputs. As inputs, Port 2 pins that are externally being pulled low will source current (IIL) because of the internal pullups. Port 2 emits the highorder address byte during fetches from external program memory and during accesses to external data memory that use 16bit addresses (MOVX DPTR). In this application, Port 2 uses strong internal pullups when emitting 1s. During accesses to external data memory that use 8bit addresses (MOVX RI), Port 2 emits the contents of the P2 Special Function Register. Port 2 also receives the highorder address bits and some control signals during Flash programming and verification. Port 3: Port 3 is an 8bit bidirectional
點(diǎn)擊復(fù)制文檔內(nèi)容
范文總結(jié)相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1