| Electronic Components Datasheet Search |
|
HT45F4MA Datasheet(PDF) 29 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F4MA Datasheet(HTML) 29 Page - Holtek Semiconductor Inc |
|
29 / 145 page ![]() Rev. 1.20 28 De�e��e� 1�� 201� Rev. 1.20 29 De�e��e� 1�� 201� HT45F4MA/HT45FH4MA/HT45FH4MA-1 Power Bank Flash MCU HT45F4MA/HT45FH4MA/HT45FH4MA-1 Power Bank Flash MCU 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,ACandCflagsgenerallyreflectthestatusofthelatestoperations. • Cissetifanoperationresultsinacarryduringanadditionoperationorifaborrowdoesnottake placeduringasubtractionoperation;otherwiseCiscleared.Cisalsoaffectedbyarotatethrough carryinstruction. • ACissetifanoperationresultsinacarryoutofthelownibblesinaddition,ornoborrowfrom thehighnibbleintothelownibbleinsubtraction;otherwiseACiscleared. • Zissetiftheresultofanarithmeticorlogicaloperationiszero;otherwiseZiscleared. • OVissetifanoperationresultsinacarryintothehighest-orderbitbutnotacarryoutofthe highest-orderbit,orviceversa;otherwiseOViscleared. • PDFisclearedbyasystempower-uporexecutingthe“CLRWDT”instruction.PDFissetby executingthe“HALT”instruction. • TOisclearedbyasystempower-uporexecutingthe“CLRWDT”or“HALT”instruction.TOis setbyaWDTtime-out. Inaddition,onenteringaninterruptsequenceorexecutingasubroutinecall,thestatusregisterwill notbepushedontothestackautomatically.Ifthecontentsofthestatusregistersareimportantandif thesubroutinecancorruptthestatusregister,precautionsmustbetakentocorrectlysaveit. |
|
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 |