| Electronic Components Datasheet Search |
|
HT82B42RE Datasheet(PDF) 23 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT82B42RE Datasheet(HTML) 23 Page - Holtek Semiconductor Inc |
|
23 / 84 page ![]() Rev. 1.10 �� �ove��e� 0�� �01� Rev. 1.10 �3 �ove��e� 0�� �01� HT82B42R/HT82B42RE I/O MCU with USB Interface Look-up Table Registers – TBLP, TBLH, TBHP Thesetwospecialfunctionregistersareusedtocontroloperationofthelook-uptablewhichisstored intheProgramMemory.TBLPandTBHParethetablepointersandindicatethelocationwherethe tabledataislocated.Theirvaluemustbesetupbeforeanytablereadcommandsareexecuted.Their valuescanbechanged,forexampleusingthe"INC"or"DEC"instructions,allowingforeasytable datapointingandreading.TBLHisthelocationwherethehighorderbyteofthetabledataisstored afteratablereaddatainstructionhasbeenexecuted. 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 theinterruptroutinecanchangethestatusregister,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 |