| Electronic Components Datasheet Search |
|
HT45F12 Datasheet(PDF) 26 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F12 Datasheet(HTML) 26 Page - Holtek Semiconductor Inc |
|
26 / 104 page ![]() Rev. 0.00 �� �e�te��e� ��� �01� Rev. 0.00 �7 �e�te��e� ��� �01� HT45F12 8-Bit Flash MCU with Op Amps & Comparators HT45F12 8-Bit Flash MCU with Op Amps & Comparators Bank Pointer – BP TheDataMemoryisdividedintotwoBanks,knownasBank0andBank1.ABankPointer,which isbit0oftheBankPointerregisterisusedtoselecttherequiredDataMemorybank.Onlydatain Bank0canbedirectlyaddressed,asdatainBank1mustbeindirectlyaddressedusingMemory PointerMP1andIndirectAddressingRegisterIAR1.UsingMemoryPointerMP0andIndirect AddressingRegisterIAR0willalwaysaccessdatafromBank0,irrespectiveofthevalueofthe BankPointer.MemoryPointerMP1andIndirectAddressingRegisterIAR1canindirectlyaddress dataineitherBank0orBank1dependinguponthevalueoftheBankPointer. TheDataMemoryisinitialisedtoBank0afterareset,exceptfortheWDTtime-outresetintheIdle/ SleepMode,inwhichcase,theDataMemorybankremainsunaffected.ItshouldbenotedthatSpecial FunctionDataMemoryisnotaffectedbythebankselection,whichmeansthattheSpecialFunction RegisterscanbeaccessedfromwithineitherBank0orBank1.DirectlyaddressingtheDataMemory willalwaysresultinBank0beingaccessedirrespectiveofthevalueoftheBankPointer. BP Register Bit 7 6 5 4 3 2 1 0 Na�e — — — — — — — BP0 R/W — — — — — — — R/W POR — — — — — — — 0 Bit7~1 Unimplemented,readas"0" Bit0 BP0:SelectDataMemoryBanks 0:Bank0 1:Bank1 Accumulator – ACC TheAccumulatoriscentraltotheoperationofanymicrocontrollerandiscloselyrelatedwith operationscarriedoutbytheALU.TheAccumulatoristheplacewhereallintermediateresults fromtheALUarestored.WithouttheAccumulatoritwouldbenecessarytowritetheresultof eachcalculationorlogicaloperationsuchasaddition,subtraction,shift,etc.,totheDataMemory resultinginhigherprogrammingandtimingoverheads.Datatransferoperationsusuallyinvolve thetemporarystoragefunctionoftheAccumulator;forexample,whentransferringdatabetween oneuserdefinedregisterandanother,itisnecessarytodothisbypassingthedatathroughthe Accumulatorasnodirecttransferbetweentworegistersispermitted. Program Counter Low Register – PCL Toprovideadditionalprogramcontrolfunctions,thelowbyteoftheProgramCounterismade accessibletoprogrammersbylocatingitwithintheSpecialPurposeareaoftheDataMemory.By manipulatingthisregister,directjumpstootherprogramlocationsareeasilyimplemented.Loading avaluedirectlyintothisPCLregisterwillcauseajumptothespecifiedProgramMemorylocation, however,astheregisterisonly8-bitwide,onlyjumpswithinthecurrentProgramMemorypageare permitted.Whensuchoperationsareused,notethatadummycyclewillbeinserted. Look-up Table Registers – TBLP, TBHP, TBLH Thesethreespecialfunctionregistersareusedtocontroloperationofthelook-uptablewhichis storedintheProgramMemory.TBLPandTBHParethetablepointerandindicatesthelocation wherethetabledataislocated.Theirvaluemustbesetupbeforeanytablereadcommandsare executed.Theirvaluecanbechanged,forexampleusingthe“INC”or“DEC”instructions,allowing foreasytabledatapointingandreading.TBLHisthelocationwherethehighorderbyteofthetable dataisstoredafteratablereaddatainstructionhasbeenexecuted.Notethatthelowerordertable databyteistransferredtoauserdefinedlocation. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |