数据搜索系统,热门电子元器件搜索 |
|
HT46R068B 数据表(PDF) 21 Page - Holtek Semiconductor Inc |
|
HT46R068B 数据表(HTML) 21 Page - Holtek Semiconductor Inc |
21 / 135 page Rev. 1.50 �0 �e���a�� 05� �015 Rev. 1.50 �1 �e���a�� 05� �015 HT46R068B/HT46R069B Enhanced A/D 8-Bit OTP MCU HT46R068B/HT46R069B Enhanced A/D 8-Bit OTP MCU Table Program Example Theaccompanyingexampleshowshowthetablepointerandtabledataisdefinedandretrievedfrom thedevice.Thisexampleusesrawtabledatalocatedinthelastpagewhichisstoredthereusingthe ORGandrombankstatement.ThevalueatthisORGstatementis"7F00H"whichreferstothestart addressofthelastpagewithinthe32KProgramMemoryofthemicrocontrollers.Thetablepointer issetupheretohaveaninitialvalueof"06H".Thiswillensurethatthefirstdatareadfromthedata tablewillbeattheProgramMemoryaddress"7F06H"or6locationsafterthestartofthelastpage. Notethatthevalueforthetablepointerisreferencedtothefirstaddressofthepresentpageifthe "TABRDC[m]"instructionisbeingused.Thehighbyteofthetabledatawhichinthiscaseisequal tozerowillbetransferredtotheTBLHregisterautomaticallywhenthe"TABRDL[m]"instruction isexecuted. BecausetheTBLHregisterisaread-onlyregisterandcannotberestored,careshouldbetaken toensureitsprotectionifboththemainroutineandInterruptServiceRoutineusethetableread instructions.Ifusingthetablereadinstructions,theInterruptServiceRoutinesmaychangethe valueofTBLHandsubsequentlycauseerrorsifusedagainbythemainroutine.Asaruleitis recommendedthatsimultaneoususeofthetablereadinstructionsshouldbeavoided.However,in situationswheresimultaneoususecannotbeavoided,theinterruptsshouldbedisabledpriortothe executionofanymainroutinetable-readinstructions.Notethatalltablerelatedinstructionsrequire twoinstructioncyclestocompletetheiroperation. Instruction(s) Table Location b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 TABRDC [m] PC14 PC13 PC1� PC11 PC10 PC9 PC8 @7 @6 @5 @4 @3 @� @1 @0 TABRDL [m] 1 1 1 1 1 1 1 @7 @6 @5 @4 @3 @� @1 @0 Note:PC14~PC8:CurrentProgramCounterbits @7~@0:TablePointerTBLPbits FortheHT46R068B,theTableaddresslocationis14bits,i.e.fromb13~b0 FortheHT46R069B,theTableaddresslocationis15bits,i.e.fromb14~b0 |
类似零件编号 - HT46R068B_15 |
|
类似说明 - HT46R068B_15 |
|
|
链接网址 |
隐私政策 |
ALLDATASHEETCN.COM |
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 |