资源描述:
《外文翻译---具有8kb 系统可编程 flash 的8位微控制器》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、附录AATmega8TheAVRcorecombinesarichinstructionsetwith32generalpurposeworkingregisters.Allthe32registersaredirectlyconnectedtotheArithmeticLogicUnit(ALU),allowingtwoindependentregisterstobeaccessedinonesingleinstructionexecutedinoneclockcycle.Theresultingarchitectureismorecodeefficientwhile
2、achievingthroughputsuptotentimesfasterthanconventionalCISCmicrocontrollers.TheATmega8providesthefollowingfeatures:8KbytesofIn-SystemProgrammableFlashwithRead-While-Writecapabilities,512bytesofEEPROM,1KbyteofSRAM,23generalpurposeI/Olines,32generalpurposeworkingregisters,threeflexibleTimer
3、/Counterswithcomparemodes,internalandexternalinterrupts,aserialprogrammableUSART,abyteorientedTwo-wireSerialInterface,a6-channelADC(eightchannelsinTQFPandMLFpackages)wherefour(six)channelshave10-bitaccuracyandtwochannelshave8-bitaccuracy,aprogrammableWatchdogTimerwithInternalOscillator,a
4、nSPIserialport,andfivesoftwareselectablepowersavingmodes.TheIdlemodestopstheCPUwhileallowingtheSRAM,Timer/Counters,SPIport,andinterruptsystemtocontinuefunctioning.ThePower-downmodesavestheregistercontentsbutfreezestheOscillator,disablingallotherchipfunctionsuntilthenextInterruptorHardwar
5、eReset.InPower-savemode,theasynchronoustimercontinuestorun,allowingtheusertomaintainatimerbasewhiletherestofthedeviceissleeping.TheADCNoiseReductionmodestopstheCPUandallI/OmodulesexceptasynchronoustimerandADC,tominimizeswitchingnoiseduringADCconversions.InStandbymode,thecrystalresonatorO
6、scillatorisrunningwhiletherestofthedeviceissleeping.Thisallowsveryfaststart-upcombinedwithlow-powerconsumption.ThedeviceismanufacturedusingAtmel’shighdensitynon-volatilememorytechnology.TheFlashProgrammemorycanbereprogrammedIn-SystemthroughanSPIserialinterface,byaconventionalnon-volatile
7、memoryprogrammer,orbyanOn-chipbootprogramrunningontheAVRcore.ThebootprogramcanuseanyinterfacetodownloadtheapplicationprogramintheApplicationFlashmemory.SoftwareintheBootFlashSectionwillcontinuetorunwhiletheApplicationFlashSectionisupdated,providingtrueRead-While-Writeoper