外文翻譯--AT89C2051.doc_第1頁
外文翻譯--AT89C2051.doc_第2頁
外文翻譯--AT89C2051.doc_第3頁
外文翻譯--AT89C2051.doc_第4頁
外文翻譯--AT89C2051.doc_第5頁
已閱讀5頁,還剩3頁未讀 繼續(xù)免費閱讀

付費下載

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認(rèn)領(lǐng)

文檔簡介

AT89C2051AT89C2051ismadeintheATMELCorporation,whichisthelow-voltage,high-performanceCMOS8-bitmicrocontroller,Tabletscontainingrepeated2kbytesofprogrammemoryerasableread-only(PEROM)andrandom128bytesdatamemory(RAM),deviceusingATMELshighdensity,non-volatilememorytechnology,CompatiblewiththestandardofMCS-51instructionset,built-chip8-bitgeneral-purposecentralprocessingunitandrepeatedlywritetheFlashmemory,whichcaneffectivelyreducethedevelopmentcosts.AT89C2051featuresapowerfulsingle-chipcanprovidecost-effectiveinmanyApplications.Mainfeatures:CompatibletheMCS51commandsystem;Containsthe2KBmemoryre-programmingFLASH(1000);2.76Vvoltagerange;thewholeStaticwork:0Hz24KHz;Secrets2ProgramMemoryLock1288-bitinternalRAM15programmableI/OlinesTwo16-bittimer/counter6interruptsources,twoexternalinterruptsourcesProgrammableSerialChannelHighPrecisionVoltageComparator(P1.0,P1.1,P3.6);HavetheoutputportoftheLEDdirectdriveLow-poweridleandpower-downmodeThepinPictureofAT89C2051PictureonethepinofAT89C2051123456ABCD654321DCBATitleNumberRevisionSizeBDate:21-May-2009SheetofFile:D:ProgramFilesDesignExplorer99SELibrarySchProtelDOSSchematicLibraries.ddbDrawnBy:20191817161514131211GNDP3.5P3.4P3.3P3.2XTAL1XTAL2P3.1P3.0RSTP3.7P1.0P1.1P1.2P1.3P1.4P1.5P1.6P1.7VCC12345678910AT89C2051sfunctionaldescription:VCC:PowerSupplyVoltageGND:landP1port:P1mouthisagroupof8-bitbi-directionalI/Ointerface,P1.2P1.7provideinternalpull-upresistor,P1.0andP1.1internalsupremepull-upresistor.P1mouthoutputbuffercanabsorbthecurrent20mAanddirect-driveLED.WhenProgrammingandcalibration,P1mouthastheeighthaddressreceive.P3mouth:P3portP3.0P3.5,P3.7istheinternalpull-upresistorwiththesevenbi-directionalI/Ointerface.DidnotbringouttheP3.6,ItasagenericI/Oport,butcannotvisit.Canbeusedasafixed-chipinputcomparatoroutputsignal.whenP3write1,theywerehighedtheinternalpull-upresistorcanberaisedasaninputport.P3portspecialfunctionasshownintable1:Table1P3mouthsspecialfeatures引腳功能特性P3.0RXD(串行輸入口)P3.1TXD(串行輸出口)P3.20INT(外中斷0)P3.31INT(外中斷1)P3.4T0(定時/計數(shù)器0外部輸入)P3.5T1(定時/計數(shù)器1外部輸入)RST:Resetoutput.Whentheoscillatordevicereset,RSTpintomaintainthehighleveloftwomachinecycletime.XTAL1:theRP-oscillatoramplifierandinternalclockgeneratorinput.XTAL2:RP-oscillatoroutputamplifier.TimerOverviewoftheTimer89C2051single-chip-chiphastwo16-bittimer/counter,Thatisthetimer0(T0)andTimer1(T1).Theyallhavefromtimetotimeandeventcountfunction,Canbeusedfortimingcontrol,delayofexternalevents,suchascountingandtestingoccasions.TimersT0andT1two16-bittimersinfactis16-bitcounterplus1.Amongthem,T0compositionedbythetwo8-bitspecialfunctionregistersTH0andTL0;T1posedbytheTH1andTL1.ThesefunctionswerecontroledbythespecialfunctionregistersTMODandTCONWhensettotheworkinthetiming,Throughthepincountoftheexternalpulsesignal.Whentheinputpulsesignalgeneratedbythefallingedgeof1-0,Thevalueoftimerplus1.AtofeverymachinecycleduringtheS5P2samplingpinT0andT1theinputlevel,ifamachinecyclebeforesamplevalueof1,Thenextmachinecyclesamplingvalueis0,Thecounterplus1.SincethenduringS3P1ofthemachinecycle,Newvaluewillintothecounter.soDetectionofa1-0transitionofthetwomachinecycles,SoThemaximumcountfrequencyofoscillationfrequencyof1/24.Inadditiontotheoptionofworkfromtimetotimeorcount,Eachtimer/counterhavefourkindsofworkmode,Thatis,eachoftimercircuitkindsoffourconstituteastructuralmodelTwolow-powermodeIdlemodeInidlemode,CPUtomaintainsleepandall-chipperipheralsremainactive,thiswaygeneratedinSoftware,Atthispoint,ChipRAMandallthecontentsofspecialfunctionregistersremainunchanged.Idlemodewasterminatedbyanyinterruptrequestpermissiontoorhardwarereset.P1.0andP1.1,inthenon-useofexternalpull-upresistoronthecaseshouldbesetto0,Orintheuseofpull-upresistorissetto1.Itshouldbenotedthat:whenusesofhardwareresetTerminationidlemode,AT89C2051isusuallystoppedfromtheprogramuntiltheinternalresetcontrolofthetwomachinecyclesbeforetherestoreprocedureService.InthiscasethehardwarewithintheprohibitionofthereadingandwritingofinternalRAM,However,toallowaccesstoports,ToeliminatetheHardwareresetintheidlemodeofportaccidentsmaywrite,Inprinciple,toentertheidlemodeofinstructionshouldnotbeunderthecommandofapinoranexternalmemoryportforavisit.Power-downmodeInpower-downmode,theoscillatortostopworking,enterthepower-downmode,Instructions,whowasthelastone,theimplementationoftheDirective,ChipRAMandallthecontentsofspecialfunctionregisterstheterminationofthepreviouspower-downmodebefrozen.Towithdrawfrompower-downmodeistheonlywaytoresetthehardware,ResetwillredefinealltheSpecialFunctionRegistersbutDoesnotchangethecontentsofRAMbeforethetheVccworkreturnedtonormallevelsShallbenullandvoidandmustberesettomaintainacertainperiodoftimeinordertorestartandoscillatorstabilityP1.0andP1.1inthenon-useofexternalpull-upresistoronthecaseshouldbesetto0,Orintheuseofpull-upresistorissetto1.OscillatorOscillatorconnectedclientXTAL1:RP-oscillatoramplifierandinternalclockgeneratorinputXTAL2:RP-oscillatoramplifieroutputCharacteristicsofOscillatorXTAL1,XTAL2waretheRP-chiposcillatoramplifierinputsandoutputs,Quartzcrystalcanbecomposedoftheclockoscillatororceramicoscillator,Formoreinformati

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

最新文檔

評論

0/150

提交評論