| Electronic Components Datasheet Search |
|
HT82B42R Datasheet(PDF) 18 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT82B42R Datasheet(HTML) 18 Page - Holtek Semiconductor Inc |
|
18 / 86 page ![]() Rev. 1.00 18 October 27, 2011 Rev. 1.00 19 October 27, 2011 HT82B42R/HT82B42RE I/O MCU with USB Interface operation.Theseareasmayfunctionasnormalprogrammemorydependingontherequirements. OnceTBHPisenabled,theinstruction"TABRDC[m]"readstheProgramMemorydataasdefined bytheTBLPandTBHPvalues.IftheProgramMemorycodeoptionhasdisabledTBHP,the instruction"TABRDC[m]"readstheProgramMemorydataasdefinedbyTBLPonlyinthecurrent ProgramMemorypage. Look-up Table AnylocationwithintheProgramMemorycanbedefinedasalook-uptablewhereprogrammerscan storefixeddata.Tousethelook-uptable,thetablepointermustfirstbesetupbyplacingthelower orderaddressofthelookupdatatoberetrievedintheTBLPregisterandthehigherorderaddressin theTBHPregister.Thesetworegistersdefinethefulladdressofthelook-uptable.UsingtheTBHP mustbeselectedbyconfigurationoption,ifnotusedtabledatacanstillbeaccessedbutonlythe lowerbyteaddressinthecurrentpageorlastpagecanbedefined. Aftersettingupthetablepointers,thetabledatacanberetrievedfromthecurrentProgramMemory pageorlastProgramMemorypageusingthe"TABRDC[m]"or"TABRDL[m]"instructions, respectively.Whentheseinstructionsareexecuted,thelowerordertablebytefromtheProgram MemorywillbetransferredtotheuserdefinedDataMemoryregister[m]asspecifiedinthe instruction.ThehigherordertabledatabytefromtheProgramMemorywillbetransferredtothe TBLHspecialregister.Anyunusedbitsinthistransferredhigherorderbytewillbereadas"0". Pr og ra m Me mo ry P r ogr am C ount er H i gh By te TB LP TB LH Sp ec if ie d by [ m] T abl e Co nt en ts H i gh By te T abl e Co nt en ts L ow B yt e Table Read – TBLP only Pr og ra m Me mo ry TB LH Sp ec if ie d by [ m] Hi gh B yt e of T abl e Co nt en ts Lo w By te o f T abl e Co nt en ts TB LP TB HP Table Read – TBLP/TBHP Instruction Table Location Bits b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 TABRDC [m] PC11 PC10 PC9 PC8 @7 @6 @5 @4 @3 @2 @1 @0 TABRDL [m] 1 1 1 1 @7 @6 @5 @4 @3 @2 @1 @0 Table Location Note:PC11~PC8:CurrentProgramCounterbits.TBHPregisterBit3~0whenTBHPisenabled. @7~@0:TablePointerTBLPbits TableHighBytePointerforCurrentTableReadTBHP(Address0X1F) Register Bits Read/Write Functions TBHP(0X1F) 3~0 R/W Store current table read bit11~bit8 data |
|
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 |