资源描述:
《外文翻译---具有8kb系统可编程flash的8位微控制器》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、附录AATmega8TheAVRcorecombinesarichinstructionsetwith32generalpurposeworkingregisters.Allthe32registersaredirectlyconnectedtotheArithmeticLogicUnit(ALU),allowingtwoindependentregisterstobeaccessedinonesingleinstructionexecutedinoneclockcycle.Theresultingarchitectureismor
2、ecodeefficientwhileachievingthroughputsuptotentimesfasterthanconventionalCISCmicrocontrollers.TheATmega8providesthefollowingfeatures:8KbytesofIn-SystemProgrammableFlashwithRead-While-Writecapabilities,512bytesofEEPROM,1KbyteofSRAM,23generalpurposeI/Olines,32generalpurp
3、oseworkingregisters,threeflexibleTimer/Counterswithcomparemodes,internalandexternalinterrupts,aserialprogrammableUSART,abyteorientedTwo-wireSerialInterface,a6-channelADC(eightchannelsinTQFPandMLFpackages)wherefour(six)channelshave10-bitaccuracyandtwochannelshave8-bitac
4、curacy,aprogrammableWatchdogTimerwithInternalOscillator,anSPIserialport,andfivesoftwareselectablepowersavingmodes.TheIdlemodestopstheCPUwhileallowingtheSRAM,Timer/Counters,SPIport,andinterruptsystemtocontinuefunctioning.ThePower-downmodesavestheregistercontentsbutfreez
5、estheOscillator,disablingallotherchipfunctionsuntilthenextInterruptorHardwareReset.InPower-savemode,theasynchronoustimercontinuestorun,allowingtheusertomaintainatimerbasewhiletherestofthedeviceissleeping.TheADCNoiseReductionmodestopstheCPUandallI/Omodulesexceptasynchro
6、noustimerandADC,tominimizeswitchingnoiseduringADCconversions.InStandbymode,thecrystalresonatorOscillatorisrunningwhiletherestofthedeviceissleeping.Thisallowsveryfaststart-upcombinedwithlow-powerconsumption.ThedeviceismanufacturedusingAtmel’shighdensitynon-volatilememor
7、ytechnology.TheFlashProgrammemorycanbereprogrammedIn-SystemthroughanSPIserialinterface,byaconventionalnon-volatilememoryprogrammer,orbyanOn-chipbootprogramrunningontheAVRcore.ThebootprogramcanuseanyinterfacetodownloadtheapplicationprogramintheApplicationFlashmemory.Sof
8、twareintheBootFlashSectionwillcontinuetorunwhiletheApplicationFlashSectionisupdated,providingtrueRead-While-Writeoper