外文翻译--AT89S51概述.doc外文翻译--AT89S51概述.doc

收藏 分享

资源预览需要最新版本的Flash Player支持。
您尚未安装或版本过低,建议您

THEDESCRIPTIONOFAT89S511GENERALDESCRIPTIONTHEAT89S51ISALOWPOWER,HIGHPERFORMANCECMOS8BITMICROCONTROLLERWITH4KBYTESOFINSYSTEMPROGRAMMABLEFLASHMEMORYTHEDEVICEISMANUFACTUREDUSINGATMEL’SHIGHDENSITYNONVOLATILEMEMORYTECHNOLOGYANDISCOMPATIBLEWITHTHEINDUSTRYSTANDARD80C51INSTRUCTIONSETANDPINOUTTHEONCHIPFLASHALLOWSTHEPROGRAMMEMORYTOBEREPROGRAMMEDINSYSTEMORBYACONVENTIONALNONVOLATILEMEMORYPROGRAMMERBYCOMBININGAVERSATILE8BITCPUWITHINSYSTEMPROGRAMMABLEFLASHONAMONOLITHICCHIP,THEATMELAT89S51ISAPOWERFULMICROCONTROLLERWHICHPROVIDESAHIGHLYFLEXIBLEANDCOSTEFFECTIVESOLUTIONTOMANYEMBEDDEDCONTROLAPPLICATIONSTHEAT89S51PROVIDESTHEFOLLOWINGSTANDARDFEATURES4KBYTESOFFLASH,128BYTESOFRAM,32I/OLINES,WATCHDOGTIMER,TWODATAPOINTERS,TWO16BITTIMER/COUNTERS,AFIVEVECTORTWOLEVELINTERRUPTARCHITECTURE,AFULLDUPLEXSERIALPORT,ONCHIPOSCILLATOR,ANDCLOCKCIRCUITRYINADDITION,THEAT89S51ISDESIGNEDWITHSTATICLOGICFOROPERATIONDOWNTOZEROFREQUENCYANDSUPPORTSTWOSOFTWARESELECTABLEPOWERSAVINGMODESTHEIDLEMODESTOPSTHECPUWHILEALLOWINGTHERAM,TIMER/COUNTERS,SERIALPORT,ANDINTERRUPTSYSTEMTOCONTINUEFUNCTIONINGTHEPOWERDOWNMODESAVESTHERAMCONTENTSBUTFREEZESTHEOSCILLATOR,DISABLINGALLOTHERCHIPFUNCTIONSUNTILTHENEXTEXTERNALINTERRUPTORHARDWARERESET2PORTSPORT0ISAN8BITOPENDRAINBIDIRECTIONALI/OPORTASANOUTPUTPORT,EACHPINCANSINKEIGHTTTLINPUTSWHEN1SAREWRITTENTOPORT0PINS,THEPINSCANBEUSEDASHIGHIMPEDANCEINPUTSPORT0CANALSOBECONFIGUREDTOBETHEMULTIPLEXEDLOWORDERADDRESS/DATABUSDURINGACCESSESTOEXTERNALPROGRAMANDDATAMEMORYINTHISMODE,P0HASINTERNALPULLUPSPORT0ALSORECEIVESTHECODEBYTESDURINGFLASHPROGRAMMINGANDOUTPUTSTHECODEBYTESDURINGPROGRAMVERIFICATIONEXTERNALPULLUPSAREREQUIREDDURINGPROGRAMVERIFICATIONPORT1ISAN8BITBIDIRECTIONALI/OPORTWITHINTERNALPULLUPSTHEPORT1OUTPUTBUFFERSCANSINK/SOURCEFOURTTLINPUTSWHEN1SAREWRITTENTOPORT1PINS,THEYAREPULLEDHIGHBYTHEINTERNALPULLUPSANDCANBEUSEDASINPUTSASINPUTS,PORT1PINSTHATAREEXTERNALLYBEINGPULLEDLOWWILLSOURCECURRENTIILBECAUSEOFTHEINTERNALPULLUPSPORT1ALSORECEIVESTHELOWORDERADDRESSBYTESDURINGFLASHPROGRAMMINGANDVERIFICATIONPORT2ISAN8BITBIDIRECTIONALI/OPORTWITHINTERNALPULLUPSTHEPORT2OUTPUTBUFFERSCANSINK/SOURCEFOURTTLINPUTSWHEN1SAREWRITTENTOPORT2PINS,THEYAREPULLEDHIGHBYTHEINTERNALPULLUPSANDCANBEUSEDASINPUTSASINPUTS,PORT2PINSTHATAREEXTERNALLYBEINGPULLEDLOWWILLSOURCECURRENTIILBECAUSEOFTHEINTERNALPULLUPSPORT2EMITSTHEHIGHORDERADDRESSBYTEDURINGFETCHESFROMEXTERNALPROGRAMMEMORYANDDURINGACCESSESTOEXTERNALDATAMEMORYTHATUSE16BITADDRESSESMOVXDPTRINTHISAPPLICATION,PORT2USESSTRONGINTERNALPULLUPSWHENEMITTING1SDURINGACCESSESTOEXTERNALDATAMEMORYTHATUSE8BITADDRESSESMOVXRI,PORT2EMITSTHECONTENTSOFTHEP2SPECIALFUNCTIONREGISTERPORT2ALSORECEIVESTHEHIGHORDERADDRESSBITSANDSOMECONTROLSIGNALSDURINGFLASHPROGRAMMINGANDVERIFICATIONPORT3ISAN8BITBIDIRECTIONALI/OPORTWITHINTERNALPULLUPSTHEPORT3OUTPUTBUFFERSCANSINK/SOURCEFOURTTLINPUTSWHEN1SAREWRITTENTOPORT3PINS,THEYAREPULLEDHIGHBYTHEINTERNALPULLUPSANDCANBEUSEDASINPUTSASINPUTS,PORT3PINSTHATAREEXTERNALLYBEINGPULLEDLOWWILLSOURCECURRENTIILBECAUSEOFTHEPULLUPSPORT3RECEIVESSOMECONTROLSIGNALSFORFLASHPROGRAMMINGANDVERIFICATIONPORT3ALSOSERVESTHEFUNCTIONSOFVARIOUSSPECIALFEATURESOFTHEAT89S51,ASSHOWNINTHEFOLLOWINGTABLE3SPECIALFUNCTIONREGISTERSAMAPOFTHEONCHIPMEMORYAREACALLEDTHESPECIALFUNCTIONREGISTERSFRSPACEISSHOWNINTABLE51NOTETHATNOTALLOFTHEADDRESSESAREOCCUPIED,ANDUNOCCUPIEDADDRESSESMAYNOTBEIMPLEMENTEDONTHECHIPREADACCESSESTOTHESEADDRESSESWILLINGENERALRETURNRANDOMDATA,ANDWRITEACCESSESWILLHAVEANINDETERMINATEEFFECTUSERSOFTWARESHOULDNOTWRITE1STOTHESEUNLISTEDLOCATIONS,SINCETHEYMAYBEUSEDINFUTUREPRODUCTSTOINVOKENEWFEATURESINTHATCASE,THERESETORINACTIVEVALUESOFTHENEWBITSWILLALWAYSBE0INTERRUPTREGISTERSTHEINDIVIDUALINTERRUPTENABLEBITSAREINTHEIEREGISTERTWOPRIORITIESCANBESETFOREACHOFTHEFIVEINTERRUPTSOURCESINTHEIPREGISTERDUALDATAPOINTERREGISTERSTOFACILITATEACCESSINGBOTHINTERNALANDEXTERNALDATAMEMORY,TWOBANKSOF16BITDATAPOINTERREGISTERSAREPROVIDEDDP0ATSFRADDRESSLOCATIONS82H83HANDDP1AT84H85HBITDPS0INSFRAUXR1SELECTSDP0ANDDPS1SELECTSDP1THEUSERSHOULDALWAYSINITIALIZETHEDPSBITTOTHEAPPROPRIATEVALUEBEFOREACCESSINGTHERESPECTIVEDATAPOINTERREGISTERPOWEROFFFLAGTHEPOWEROFFFLAGPOFISLOCATEDATBIT4PCON4INTHEPCONSFRPOFISSETTO“1”DURINGPOWERUPITCANBESETANDRESTUNDERSOFTWARECONTROLANDISNOTAFFECTEDBYRESET4MEMORYORGANIZATIONMCS51DEVICESHAVEASEPARATEADDRESSSPACEFORPROGRAMANDDATAMEMORYUPTO64KBYTESEACHOFEXTERNALPROGRAMANDDATAMEMORYCANBEADDRESSED41PROGRAMMEMORYIFTHEEAPINISCONNECTEDTOGND,ALLPROGRAMFETCHESAREDIRECTEDTOEXTERNALMEMORYONTHEAT89S51,IFEAISCONNECTEDTOVCC,PROGRAMFETCHESTOADDRESSES0000HTHROUGHFFFHAREDIRECTEDTOINTERNALMEMORYANDFETCHESTOADDRESSES1000HTHROUGHFFFFHAREDIRECTEDTOEXTERNALMEMORY42DATAMEMORYTHEAT89S51IMPLEMENTS128BYTESOFONCHIPRAMTHE128BYTESAREACCESSIBLEVIADIRECTANDINDIRECTADDRESSINGMODESSTACKOPERATIONSAREEXAMPLESOFINDIRECTADDRESSING,SOTHE128BYTESOFDATARAMAREAVAILABLEASSTACKSPACE7WATCHDOGTIMERONETIMEENABLEDWITHRESETOUTTHEWDTISINTENDEDASARECOVERYMETHODINSITUATIONSWHERETHECPUMAYBESUBJECTEDTOSOFTWAREUPSETSTHEWDTCONSISTSOFA14BITCOUNTERANDTHEWATCHDOGTIMERRESETWDTRSTSFRTHEWDTISDEFAULTEDTODISABLEFROMEXITINGRESETTOENABLETHEWDT,AUSERMUSTWRITE01EHAND0E1HINSEQUENCETOTHEWDTRSTREGISTERSFRLOCATION0A6HWHENTHEWDTISENABLED,ITWILLINCREMENTEVERYMACHINECYCLEWHILETHEOSCILLATORISRUNNINGTHEWDTTIMEOUTPERIODISDEPENDENTONTHEEXTERNALCLOCKFREQUENCYTHEREISNOWAYTODISABLETHEWDTEXCEPTTHROUGHRESETEITHERHARDWARERESETORWDTOVERFLOWRESETWHENWDTOVERFLOWS,ITWILLDRIVEANOUTPUTRESETHIGHPULSEATTHERSTPIN5USINGTHEWDTTOENABLETHEWDT,AUSERMUSTWRITE01EHAND0E1HINSEQUENCETOTHEWDTRSTREGISTERSFRLOCATION0A6HWHENTHEWDTISENABLED,THEUSERNEEDSTOSERVICEITBYWRITING01EHAND0E1HTOWDTRSTTOAVOIDAWDTOVERFLOWTHE14BITCOUNTEROVERFLOWSWHENITREACHES163833FFFH,ANDTHISWILLRESETTHEDEVICEWHENTHEWDTISENABLED,ITWILLINCREMENTEVERYMACHINECYCLEWHILETHEOSCILLATORISRUNNINGTHISMEANSTHEUSERMUSTRESETTHEWDTATLEASTEVERY16383MACHINECYCLESTORESETTHEWDTTHEUSERMUSTWRITE01EHAND0E1HTOWDTRSTWDTRSTISAWRITEONLYREGISTERTHEWDTCOUNTERCANNOTBEREADORWRITTENWHENWDTOVERFLOWS,ITWILLGENERATEANOUTPUTRESETPULSEATTHERSTPINTHERESETPULSEDURATIONIS98XTOSC,WHERETOSC1/FOSCTOMAKETHEBESTUSEOFTHEWDT,ITSHOULDBESERVICEDINTHOSESECTIONSOFCODETHATWILLPERIODICALLYBEEXECUTEDWITHINTHETIMEREQUIREDTOPREVENTAWDTRESETINPOWERDOWNMODETHEOSCILLATORSTOPS,WHICHMEANSTHEWDTALSOSTOPSWHILEINPOWERDOWNMODE,THEUSERDOESNOTNEEDTOSERVICETHEWDTTHEREARETWOMETHODSOFEXITINGPOWERDOWNMODEBYAHARDWARERESETORVIAALEVELACTIVATEDEXTERNALINTERRUPT,WHICHISENABLEDPRIORTOENTERINGPOWERDOWNMODEWHENPOWERDOWNISEXITEDWITHHARDWARERESET,SERVICINGTHEWDTSHOULDOCCURASITNORMALLYDOESWHENEVERTHEAT89S51ISRESETEXITINGPOWERDOWNWITHANINTERRUPTISSIGNIFICANTLYDIFFERENTTHEINTERRUPTISHELDLOWLONGENOUGHFORTHEOSCILLATORTOSTABILIZEWHENTHEINTERRUPTISBROUGHTHIGH,THEINTERRUPTISSERVICEDTOPREVENTTHEWDTFROMRESETTINGTHEDEVICEWHILETHEINTERRUPTPINISHELDLOW,THEWDTISNOTSTARTEDUNTILTHEINTERRUPTISPULLEDHIGHITISSUGGESTEDTHATTHEWDTBERESETDURINGTHEINTERRUPTSERVICEFORTHEINTERRUPTUSEDTOEXITPOWERDOWNMODETOENSURETHATTHEWDTDOESNOTOVERFLOWWITHINAFEWSTATESOFEXITINGPOWERDOWN,ITISBESTTORESETTHEWDTJUSTBEFOREENTERINGPOWERDOWNMODEBEFOREGOINGINTOTHEIDLEMODE,THEWDIDLEBITINSFRAUXRISUSEDTODETERMINEWHETHERTHEWDTCONTINUESTOCOUNTIFENABLEDTHEWDTKEEPSCOUNTINGDURINGIDLEWDIDLEBIT0ASTHEDEFAULTSTATETOPREVENTTHEWDTFROMRESETTINGTHEAT89S51WHILEINIDLEMODE,THEUSERSHOULDALWAYSSETUPATIMERTHATWILLPERIODICALLYEXITIDLE,SERVICETHEWDT,ANDREENTERIDLEMODEWITHWDIDLEBITENABLED,THEWDTWILLSTOPTOCOUNTINIDLEMODEANDRESUMESTHECOUNTUPONEXITFROMIDLETIMER0ANDTIMER1INTHEAT89S51OPERATETHESAMEWAYASTIMER0ANDTIMER1INTHEAT89C51FORFURTHERINFORMATIONONTHETIMERS’OPERATION,PLEASECLICKONTHEDOCUMENTLINKBELOWHTTP//WWWATMELCOM/DYN/RESOURCES/PROD_DOCUMENTS/DOC4316PDF6INTERRUPTSTHEAT89S51HASATOTALOFFIVEINTERRUPTVECTORSTWOEXTERNALINTERRUPTSINT0ANDINT1,TWOTIMERINTERRUPTSTIMERS0AND1,ANDTHESERIALPORTINTERRUPTTHESEINTERRUPTSAREALLSHOWNINFIGURE101EACHOFTHESEINTERRUPTSOURCESCANBEINDIVIDUALLYENABLEDORDISABLEDBYSETTINGORCLEARINGABITINSPECIALFUNCTIONREGISTERIEIEALSOCONTAINSAGLOBALDISABLEBIT,EA,WHICHDISABLESALLINTERRUPTSATONCENOTETHATTABLE101SHOWSTHATBITPOSITIONSIE6ANDIE5AREUNIMPLEMENTEDUSERSOFTWARESHOULDNOTWRITE1STOTHESEBITPOSITIONS,SINCETHEYMAYBEUSEDINFUTUREAT89PRODUCTSTHETIMER0ANDTIMER1FLAGS,TF0ANDTF1,ARESETATS5P2OFTHECYCLEINWHICHTHETIMERSOVERFLOWTHEVALUESARETHENPOLLEDBYTHECIRCUITRYINTHENEXTCYCLE7OSCILLATORCHARACTERISTICSXTAL1ANDXTAL2ARETHEINPUTANDOUTPUT,RESPECTIVELY,OFANINVERTINGAMPLIFIERTHATCANBECONFIGUREDFORUSEASANONCHIPOSCILLATOR,ASSHOWNINFIGURE111EITHERAQUARTZCRYSTALORCERAMICRESONATORMAYBEUSEDTODRIVETHEDEVICEFROMANEXTERNALCLOCKSOURCE,XTAL2SHOULDBELEFTUNCONNECTEDWHILEXTAL1ISDRIVEN,ASSHOWNINFIGURE112THEREARENOREQUIREMENTSONTHEDUTYCYCLEOFTHEEXTERNALCLOCKSIGNAL,SINCETHEINPUTTOTHEINTERNALCLOCKINGCIRCUITRYISTHROUGHADIVIDEBYTWOFLIPFLOP,BUTMINIMUMANDMAXIMUMVOLTAGEHIGHANDLOWTIMESPECIFICATIONSMUSTBEOBSERVED
编号:201311171100565643    类型:共享资源    大小:51.00KB    格式:DOC    上传时间:2013-11-17
  
5
关 键 词:
教育专区 外文翻译 精品文档 外文翻译
  人人文库网所有资源均是用户自行上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作他用。
关于本文
本文标题:外文翻译--AT89S51概述.doc
链接地址:http://www.renrendoc.com/p-95643.html

当前资源信息

4.0
 
(2人评价)
浏览:40次
英文资料库上传于2013-11-17

官方联系方式

客服手机:17625900360   
2:不支持迅雷下载,请使用浏览器下载   
3:不支持QQ浏览器下载,请用其他浏览器   
4:下载后的文档和图纸-无水印   
5:文档经过压缩,下载后原文更清晰   

相关资源

  • 专题毕业课程设计论文顺通助学中心
  • Thomas_Calculus_13th(托马斯微积分 13版)Thomas_Calculus_13th(托马斯微积分 13版)
  • [机械模具数控自动化专业毕业设计外文文献及翻译]【期刊2016】借助于电缆驱动系统改进工业机器人的静态性-中文翻译[机械模具数控自动化专业毕业设计外文文献及翻译]【期刊2016】借助于电缆驱动系统改进工业机器人的静态性-中文翻译
  • [机械模具数控自动化专业毕业设计外文文献及翻译]【期刊2016】借助于电缆驱动系统改进工业机器人的静态性-外文文献[机械模具数控自动化专业毕业设计外文文献及翻译]【期刊2016】借助于电缆驱动系统改进工业机器人的静态性-外文文献
  • [机械模具数控自动化专业毕业设计外文文献及翻译]【期刊】最小化模式下料问题科林麦克迪尔米德-中文翻译[机械模具数控自动化专业毕业设计外文文献及翻译]【期刊】最小化模式下料问题科林麦克迪尔米德-中文翻译
  • [机械模具数控自动化专业毕业设计外文文献及翻译]【期刊】组合机床行业现状与发展思考-中文翻译[机械模具数控自动化专业毕业设计外文文献及翻译]【期刊】组合机床行业现状与发展思考-中文翻译
  • [机械模具数控自动化专业毕业设计外文文献及翻译]【期刊】自行航水器真正自治-中文翻译[机械模具数控自动化专业毕业设计外文文献及翻译]【期刊】自行航水器真正自治-中文翻译
  • [机械模具数控自动化专业毕业设计外文文献及翻译]【期刊】自行航水器真正自治-外文文献[机械模具数控自动化专业毕业设计外文文献及翻译]【期刊】自行航水器真正自治-外文文献
  • [机械模具数控自动化专业毕业设计外文文献及翻译]【期刊】注塑模具的设计与热分析-中文翻译[机械模具数控自动化专业毕业设计外文文献及翻译]【期刊】注塑模具的设计与热分析-中文翻译
  • [机械模具数控自动化专业毕业设计外文文献及翻译]【期刊】注塑模的单浇口优化-中文翻译[机械模具数控自动化专业毕业设计外文文献及翻译]【期刊】注塑模的单浇口优化-中文翻译
  • [机械模具数控自动化专业毕业设计外文文献及翻译]【期刊】注塑模的单浇口优化-外文文献[机械模具数控自动化专业毕业设计外文文献及翻译]【期刊】注塑模的单浇口优化-外文文献
  • [机械模具数控自动化专业毕业设计外文文献及翻译]【期刊】主轴平衡力和曲轴弯曲应力的研究-中文翻译[机械模具数控自动化专业毕业设计外文文献及翻译]【期刊】主轴平衡力和曲轴弯曲应力的研究-中文翻译
  • [机械模具数控自动化专业毕业设计外文文献及翻译]【期刊】轴对称降落伞形状的研究-中文翻译[机械模具数控自动化专业毕业设计外文文献及翻译]【期刊】轴对称降落伞形状的研究-中文翻译
  • [机械模具数控自动化专业毕业设计外文文献及翻译]【期刊】轴对称降落伞形状的研究-外文文献[机械模具数控自动化专业毕业设计外文文献及翻译]【期刊】轴对称降落伞形状的研究-外文文献
  • [机械模具数控自动化专业毕业设计外文文献及翻译]【期刊】中国乘用车燃料经济性标准的组成和影响-中文翻译[机械模具数控自动化专业毕业设计外文文献及翻译]【期刊】中国乘用车燃料经济性标准的组成和影响-中文翻译
  • [机械模具数控自动化专业毕业设计外文文献及翻译]【期刊】指垫和平面之间的动态交互作用:实验和分析-中文翻译[机械模具数控自动化专业毕业设计外文文献及翻译]【期刊】指垫和平面之间的动态交互作用:实验和分析-中文翻译
  • [机械模具数控自动化专业毕业设计外文文献及翻译]【期刊】指垫和平面之间的动态交互作用:实验和分析-外文文献[机械模具数控自动化专业毕业设计外文文献及翻译]【期刊】指垫和平面之间的动态交互作用:实验和分析-外文文献
  • [机械模具数控自动化专业毕业设计外文文献及翻译]【期刊】直线电机高速数控切断机的发展-中文翻译[机械模具数控自动化专业毕业设计外文文献及翻译]【期刊】直线电机高速数控切断机的发展-中文翻译
  • [机械模具数控自动化专业毕业设计外文文献及翻译]【期刊】直线电机高速数控切断机的发展-外文文献[机械模具数控自动化专业毕业设计外文文献及翻译]【期刊】直线电机高速数控切断机的发展-外文文献
  • [机械模具数控自动化专业毕业设计外文文献及翻译]【期刊】支持机床系统的面向对象设计-中文翻译[机械模具数控自动化专业毕业设计外文文献及翻译]【期刊】支持机床系统的面向对象设计-中文翻译
  • [机械模具数控自动化专业毕业设计外文文献及翻译]【期刊】支持机床系统的面向对象设计-外文文献[机械模具数控自动化专业毕业设计外文文献及翻译]【期刊】支持机床系统的面向对象设计-外文文献
  • [机械模具数控自动化专业毕业设计外文文献及翻译]【期刊】振动镗孔与振动钻孔的研究-中文翻译[机械模具数控自动化专业毕业设计外文文献及翻译]【期刊】振动镗孔与振动钻孔的研究-中文翻译
  • 精品推荐

    相关阅读

    人人文库
    关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服客服 - 联系我们

    网站客服QQ:2846424093    人人文库上传用户QQ群:460291265   

    [email protected] 2016-2018  renrendoc.com 网站版权所有   南天在线技术支持

    经营许可证编号:苏ICP备12009002号-5