Os motores de busca de Datasheet de Componentes eletrônicos |
|
HT45R2K-C Folha de dados(PDF) 90 Page - Holtek Semiconductor Inc |
|
HT45R2K-C Folha de dados(HTML) 90 Page - Holtek Semiconductor Inc |
90 / 105 page Rev. 1.40 90 �a��� 1�� �01� Rev. 1.40 91 �a��� 1�� �01� HT45R2K-C/-B/-A Dual Slope 16K/8K/4K ASSP MCU for Body Fat Scale HT45R2K-C/-B/-A Dual Slope 16K/8K/4K ASSP MCU for Body Fat Scale rotateinstructionsexistdependingonprogramrequirements.Rotateinstructionsareusefulforserial portprogrammingapplicationswheredatacanberotatedfromaninternalregisterintotheCarry bitfromwhereitcanbeexaminedandthenecessaryserialbitsethighorlow.Anotherapplication whererotatedataoperationsareusedistoimplementmultiplicationanddivisioncalculations. Branches and Control Transfer ProgrambranchingtakestheformofeitherjumpstospecifiedlocationsusingtheJMPinstructionor toasubroutineusingtheCALLinstruction.Theydifferinthesensethatinthecaseofasubroutine call,theprogrammustreturntotheinstructionimmediatelywhenthesubroutinehasbeencarried out.ThisisdonebyplacingareturninstructionRETinthesubroutinewhichwillcausetheprogram tojumpbacktotheaddressrightaftertheCALLinstruction.InthecaseofaJMPinstruction,the programsimplyjumpstothedesiredlocation.Thereisnorequirementtojumpbacktotheoriginal jumpingoffpointasinthecaseoftheCALLinstruction.Onespecialandextremelyusefulset ofbranchinstructionsaretheconditionalbranches.Hereadecisionisfirstmaderegardingthe conditionofacertaindatamemoryorindividualbits.Dependingupontheconditions,theprogram willcontinuewiththenextinstructionorskipoveritandjumptothefollowinginstruction.These instructionsarethekeytodecisionmakingandbranchingwithintheprogramperhapsdetermined bytheconditionofcertaininputswitchesorbytheconditionofinternaldatabits. Bit Operations TheabilitytoprovidesinglebitoperationsonDataMemoryisanextremelyflexiblefeatureofall Holtekmicrocontrollers.Thisfeatureisespeciallyusefulforoutputportbitprogrammingwhere individualbitsorportpinscanbedirectlysethighorlowusingeitherthe"SET[m].i"or"CLR[m]. i"instructionsrespectively.Thefeatureremovestheneedforprogrammerstofirstreadthe8-bit outputport,manipulatetheinputdatatoensurethatotherbitsarenotchangedandthenoutputthe portwiththecorrectnewdata.Thisread-modify-writeprocessistakencareofautomaticallywhen thesebitoperationinstructionsareused. Table Read Operations Datastorageisnormallyimplementedbyusingregisters.However,whenworkingwithlarge amountsoffixeddata,thevolumeinvolvedoftenmakesitinconvenienttostorethefixeddatain theDataMemory.Toovercomethisproblem,HoltekmicrocontrollersallowanareaofProgram Memorytobesetupasatablewheredatacanbedirectlystored.Asetofeasytouseinstructions providesthemeansbywhichthisfixeddatacanbereferencedandretrievedfromtheProgram Memory. Other Operations Inadditiontotheabovefunctionalinstructions,arangeofotherinstructionsalsoexistsuchas the"HALT"instructionforPower-downoperationsandinstructionstocontroltheoperationof theWatchdogTimerforreliableprogramoperationsunderextremeelectricorelectromagnetic environments.Fortheirrelevantoperations,refertothefunctionalrelatedsections. |
Nº de peça semelhante - HT45R2K-C_15 |
|
Descrição semelhante - HT45R2K-C_15 |
|
|
Ligação URL |
Privacy Policy |
ALLDATASHEETPT.COM |
ALLDATASHEET é útil para você? [ DONATE ] |
Sobre Alldatasheet | Publicidade | Contato conosco | Privacy Policy | roca de Link | Lista de Fabricantes 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 |