| 전자부품 데이터시트 검색엔진 |
|
HT45F0060 데이터시트(PDF) 22 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F0060 데이터시트(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. |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |