版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、微處理器(sor、微型計(jì)算機(jī)puter、單片機(jī)(Single-A sor incorporates(表現(xiàn)為) the functions of a computers central unit (CPU)onaegratedcircuit,1(IC)oratmostafew egratedcircuits(集成電路作為 器(RAM、ROM和EPROM等Aputer is a computer微處理器(sor、微型計(jì)算機(jī)puter、單片機(jī)(Single-A sor incorporates(表現(xiàn)為) the functions of a computers central unit (CPU)o
2、naegratedcircuit,1(IC)oratmostafew egratedcircuits(集成電路作為 器(RAM、ROM和EPROM等Aputer is a computer sor as its central sing unit. includes sor, memory, and input/output (I/O). They are physically small . keyboardandscreenfor input and output)are alcomputers 塊Amicrocontroller(sometimes abbreviated(縮寫)CuCo
3、rMCU) is asmall computer on circuitaprogrammableinput/output器件). Program he form of flashorOTP ROMis also often included on chip, as well as a typically small amount of thesorsusedalcomputersorothergenerale , ALU 。Inanunita tperformsarithmeticandlogicaloperations. TheALUisafundamental(基本的)building o
4、f the central sing unit of a computer, and even the simplest sors one for ech as ma aining timers. The sors found inside modern CPUs graphics(圖解計(jì)算)singunitsmodate(適應(yīng))erfulandcomplexALUs;asinglecomponentmaycontainanumberof Incomputing and lly in computer hardware, controller isachip, ancard, a stand-
5、alone (獨(dú))device (usually called a control Incomputing and lly in computer hardware, controller isachip, ancard, a stand-alone (獨(dú))device (usually called a control tripheraldevice.Thismaybealinkntwopartsofacomputer(for leatmanagesstomemoryforthecomputeroracontrolleronanexternal (部tmanagestheoperationo
6、f(andconnectiont bus累加器(A)accumulator:運(yùn)算前用于保存操作數(shù),運(yùn)算后用于保存結(jié)果。anaccumulatorisaregister inermediatearithmeticandlogicresultsare TheMemory Data Register (MDR) istheregister ofa computerst containsdata to be stored in the computer storage (e.g. RAM), or the data after a fetch from computer storage. It act
7、s like a buffer(緩存區(qū)) and holds t is copied from memoryreadyforthe sortouse(ID:IRIncomputing, aninstruction register (IR) is the part of aCPUs instructioncurrentlybeingexecutedort stores The program counter (PC)is a computerisinitsinstructionsor t indicates where TheMemory Address Register (MAR)is aC
8、PUt either stores the address from which data will befetched to the CPU or the address to which data will be and 器還接收CPU的控制信號(hào),以確定執(zhí)行讀/Connect puter with the 8 bit address bus and 8 bit data bus, address bus groupofeightdata 器還接收CPU的控制信號(hào),以確定執(zhí)行讀/Connect puter with the 8 bit address bus and 8 bit data b
9、us, address bus groupofeightdata CPU to the memory address decoder, todetermineselected unit. The storage receives CPU signals determinetheread/write Theconnectionofexternal andsormust go througherface adapter(I erface),eachI/erface and the corresponding external device has a fixed (Binarymlc計(jì)算機(jī)中常用編
10、碼:BCD(BinaryCodedDecimal)ASCII(American StandardCodeMachinenumber:thecomputerexpressed numbersinTrue value: the value represented by the number of machines The absolute value ofthe ode+theabsolutevalueoftheoriginalcode=Theabsolute value of the absolute value of the negativecomplement, -1 = negative
11、the Overflow: refers to the result of the operation number of symbols of beyond the -128-range,anddestroyedthesign l Function Register,用以存放可以讀 Two l Function Register,用以存放可以讀 Two 16-bit timer / counters, each of which can be set for the count to count events,sobesetfortimingcontrolcomputer,andaccord
12、ingtothecountor 一個(gè)全雙工 full UART( 通用異步接收發(fā)送器 Universal 行通信(UsedtoimplementserialcommunicationandPC.)nthemicrocontrollerorOn-cillator and clock generation circuit, but the need for external quartz 來(lái)選擇的省電方式空閑方式(Idle Mode)和掉電方式Mode15%;掉電方式中,片內(nèi)振蕩器停止工作,一切工作暫停,只保存片內(nèi) RAM 中的內(nèi)容,直到下一次硬件復(fù)位為止,此時(shí)電流降至Compared with
13、8051, er-saving work, leisure er-down Operating frequency can be reduced to 0Hz, wo software saving- idlemode(IdleMode)er-downmodeerDown,theMode),theMode stops the CPU, RAM, timer / counters, serial line port errupt system continueworking,thecurrent can bereducedto 15% oferdown mode, on-cillator to
14、stop working, all work spended, only to save the contents theon-chip RAM, untilthe rdware reset.Thecurrent dropsbelow15 sminimumto0.6. WhenmultipleMCUtocompeteusingtheexternalbus,youcancontrolthebus 11. 89C51的CPU運(yùn)算器:包括 ALU,8 位暫存器 1. WhenmultipleMCUtocompeteusingtheexternalbus,youcancontrolthebus 11.
15、 89C51的CPU運(yùn)算器:包括 ALU,8 位暫存器 1(TMP1)temporary)、暫存器 2(TMP2,8ACCB 和程序狀態(tài)寄存器PSW Program ACCisoften used asanoperand操作數(shù))by othe ALUinputoperator theotherfromtheTMP1theoperandsconducted,theresultssentbacktotheThePSWisusedtoindicatetheusinformationoftheinstruction Bregistermultiply,andperationswhenusedtosto
16、reoperands,alsousedstorepartoftheresultsofheabsenceofoperation,canbeusedgeneral-eregisters.ThereisabitaccumulatorCforhandlingbit 。The program counter by two 8-bit CH and PCL, a total of 16, save addressofthenextinstructiontobeexecuted.Oscillatorandtimingcircuitsneedexternal quartz crystal and freque
17、ncy tuning capacitor, the frequency of 0-24MHz, basic beat ofthe pulse signal as the 89C51, the smallesttime unit.12. 單片機(jī)引腳結(jié)構(gòu)圖(圖示2. XTAL1(19 腳)XTAL2(18 腳。XTAL2 crystalpinsis(19feet)andare (18feet). XTAL2 pick end ofthe external crystal fine-tuning capacitor, the output of ernal circuitXTAL1 isconnec
18、tedtothe otherside,theinputofernaloscillation circuitfrequencyisthenatural frequencyofthecrystal,tochecktheoscillationcircuitis working properly,canbeusedoscilloscopeviewXTAL2whetherthec ntisapulseoutput.Ifanexternalclock, XTAL2 should be left unconnected, XTAL1 is RST、ALE、PSEN/EA/。RSTcircuitfrequen
19、cyisthenatural frequencyofthecrystal,tochecktheoscillationcircuitis working properly,canbeusedoscilloscopeviewXTAL2whetherthec ntisapulseoutput.Ifanexternalclock, XTAL2 should be left unconnected, XTAL1 is RST、ALE、PSEN/EA/。RST(9 腳完成復(fù)位。ALE(Address latch enable,30 腳)89C51正常工作時(shí),ALE 好壞。器29 腳) 89C51 Cont
20、rol signal pins, RST, ALE, PSEN / and EA / RST (9 feet): to ma ain two machine cycles high to complete reset. ALE (Address the latch the enable, 30 feet) 89C51 properly,theALEitivepulse signal,afrequency of 1/6ofthe oscillatorfrequency,candetermine thechipis good or bad.CPUto soff-chip memory,the AL
21、Esignal as a latched low eight address control signal. PSEN (ProgramStore Enable, memory,29feet)to memoryinstruction basis of the chipmemory address allow the output terminal, when the89C51 chip fetch machine cycle output two pulses work. EA (Enable Address, 31 feet) onlytoallowtheinput,thenthehighc
22、sFlashROM,thenthelowstoexternalInput / output portsP0-P3.Quasi-t isusedastheinput, you shouldwriteaport multiplexing 13. 64KB ROM 64KBROM1000H- FH,片內(nèi)外 編址。RAM 用于存放運(yùn)算的中間結(jié)果、數(shù)據(jù)暫存和緩沖、標(biāo)志位等,片內(nèi) 256 字節(jié),地址從 0000H-00FFH,片外從 0100H- FH128RAM RAM32字節(jié)(00-1F)為thechipcanbeexpandedupto64KBROM,theFH,ece inside and the
23、unifiedaddressing.RAMusedtostore ermediateresultsofoperationsfortemporarystorage and buffering flag, on-chip256-byte address from 0000H-00FFH, off-chip FH.Thelower128bytesofon-chipRAMisreallytheRAMarea,ofwhichthereare89C51 64KB ROM and data memory for the memory: program memory, 64KB of RAM.ROM storing programmed procedures and table data, on-chip Flash ROM 4KBad
溫馨提示
- 1. 本站所有資源如無(wú)特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025版房地產(chǎn)項(xiàng)目預(yù)售合同示范文本4篇
- 2025版臺(tái)式一體機(jī)商場(chǎng)采購(gòu)合同包含軟件安裝與培訓(xùn)服務(wù)3篇
- 2025年建筑材料堆放場(chǎng)地租賃與供應(yīng)鏈管理合同3篇
- 二零二五版民營(yíng)醫(yī)院兒科醫(yī)師及護(hù)士勞動(dòng)合同4篇
- 二零二五年餐飲業(yè)短期服務(wù)員派遣合同3篇
- 2025年度高科技產(chǎn)品遠(yuǎn)期交易合同4篇
- 2025年度綠色建筑節(jié)能改造合同6篇
- 2025年度數(shù)據(jù)中心機(jī)房租賃與環(huán)保責(zé)任承諾合同3篇
- 二零二五年度智能門窗系統(tǒng)研發(fā)與安裝一體化服務(wù)合同4篇
- 2025年環(huán)保型布草生產(chǎn)與銷售一體化合同3篇
- 工業(yè)自動(dòng)化生產(chǎn)線操作手冊(cè)
- 房地產(chǎn)銷售任務(wù)及激勵(lì)制度
- 并購(gòu)指南(如何發(fā)現(xiàn)好公司)
- DL-T-1642-2016環(huán)形混凝土電桿用腳扣
- 銅礦成礦作用與地質(zhì)環(huán)境分析
- 30題紀(jì)檢監(jiān)察位崗位常見面試問題含HR問題考察點(diǎn)及參考回答
- 詢價(jià)函模板(非常詳盡)
- 《AI營(yíng)銷畫布:數(shù)字化營(yíng)銷的落地與實(shí)戰(zhàn)》
- 麻醉藥品、精神藥品、放射性藥品、醫(yī)療用毒性藥品及藥品類易制毒化學(xué)品等特殊管理藥品的使用與管理規(guī)章制度
- 乘務(wù)培訓(xùn)4有限時(shí)間水上迫降
- 2023年低年級(jí)寫話教學(xué)評(píng)語(yǔ)方法(五篇)
評(píng)論
0/150
提交評(píng)論