| Electronic Components Datasheet Search |
|
HT45F0060 Datasheet(PDF) 22 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F0060 Datasheet(HTML) 22 Page - Holtek Semiconductor Inc |
|
22 / 95 page ![]() Rev. 1.00 22 July 19, 2017 Rev. 1.00 23 July 19, 2017 HT45F0060 RGB Dimming LED Flash MCU HT45F0060 RGB Dimming LED Flash MCU Accumulator – ACC TheAccumulatoriscentraltotheoperationofanymicrocontrollerandiscloselyrelatedwith operationscarriedoutbytheALU.TheAccumulatoristheplacewhereallintermediateresults fromtheALUarestored.WithouttheAccumulatoritwouldbenecessarytowritetheresultof eachcalculationorlogicaloperationsuchasaddition,subtraction,shift,etc.,totheDataMemory resultinginhigherprogrammingandtimingoverheads.Datatransferoperationsusuallyinvolve thetemporarystoragefunctionoftheAccumulator;forexample,whentransferringdatabetween oneuser-definedregisterandanother,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.TBLPandTBHParethetablepointersandindicatethelocation wherethetabledataislocated.Theirvaluemustbesetupbeforeanytablereadcommandsare executed.Theirvaluecanbechanged,forexampleusingthe"INC"or"DEC"instructions,allowing foreasytabledatapointingandreading.TBLHisthelocationwherethehighorderbyteofthetable dataisstoredafteratablereaddatainstructionhasbeenexecuted.Notethatthelowerordertable databyteistransferredtoauserdefinedlocation. Status Register – STATUS This8-bitregistercontainsthezeroflag(Z),carryflag(C),auxiliarycarryflag(AC),overflowflag (OV),powerdownflag(PDF),andwatchdogtime-outflag(TO).Thesearithmetic/logicaloperation andsystemmanagementflagsareusedtorecordthestatusandoperationofthemicrocontroller. WiththeexceptionoftheTOandPDFflags,bitsinthestatusregistercanbealteredbyinstructions likemostotherregisters.AnydatawrittenintothestatusregisterwillnotchangetheTOorPDFflag. Inaddition,operationsrelatedtothestatusregistermaygivedifferentresultsduetothedifferent instructionoperations.TheTOflagcanbeaffectedonlybyasystempower-up,aWDTtime-outor byexecutingthe"CLRWDT"or"HALT"instruction.ThePDFflagisaffectedonlybyexecuting the"HALT"or"CLRWDT"instructionorduringasystempower-up. TheZ,OV,AC,andCflagsgenerallyreflectthestatusofthelatestoperations. • Cissetifanoperationresultsinacarryduringanadditionoperationorifaborrowdoesnottake placeduringasubtractionoperation;otherwiseCiscleared.Cisalsoaffectedbyarotatethrough carryinstruction. • ACissetifanoperationresultsinacarryoutofthelownibblesinaddition,ornoborrowfrom thehighnibbleintothelownibbleinsubtraction;otherwiseACiscleared. • Zissetiftheresultofanarithmeticorlogicaloperationiszero;otherwiseZiscleared. • OVissetifanoperationresultsinacarryintothehighest-orderbitbutnotacarryoutofthe highest-orderbit,orviceversa;otherwiseOViscleared. |
|
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 |