| 数据搜索系统,热门电子元器件搜索 |
|
HT45F12 数据表(PDF) 21 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F12 数据表(HTML) 21 Page - Holtek Semiconductor Inc |
|
21 / 104 page ![]() Rev. 0.00 �0 �e�te��e� ��� �01� Rev. 0.00 �1 �e�te��e� ��� �01� HT45F12 8-Bit Flash MCU with Op Amps & Comparators HT45F12 8-Bit Flash MCU with Op Amps & Comparators Re gi st er T BL H Us er S el ec te d Re gi st er Hi gh B yt eL ow B yt e Las t p age o r TB HP R egi st er TB LP R eg is te r Da ta 15 b it s Pr og ra m Me mo ry Instruction Table location b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 TABRDC [�] PC9 PC8 @7 @� @5 @4 @3 @� @1 @0 TABRDL [�] 1 1 @7 @� @5 @4 @3 @� @1 @0 Table Location Note:b9~b0:Tablelocationbits PC9~PC8:CurrentProgramCounterbits @7~@0:TablePointerTBLPbits Table Program Example Thefollowingexampleshowshowthetablepointerandtabledataisdefinedandretrievedfromthe microcontroller.ThisexampleusesrawtabledatalocatedintheProgramMemorywhichisstored thereusingtheORGstatement.ThevalueatthisORGstatementis“300H”whichreferstothestart addressofthelastpagewithinthe1KwordsProgramMemoryofthedevice.Thetablepointeris setupheretohaveaninitialvalueof“06H”.Thiswillensurethatthefirstdatareadfromthedata tablewillbeattheProgramMemoryaddress“306H”or6locationsafterthestartofthelastpage. Notethatthevalueforthetablepointerisreferencedtothefirstaddressofthepresentpageifthe “TABRDC[m]”instructionisbeingused.Thehighbyteofthetabledatawhichinthiscaseisequal tozerowillbetransferredtotheTBLHregisterautomaticallywhenthe“TABRDL[m]”instruction isexecuted. BecausetheTBLHregisterisaread-onlyregisterandcannotberestored,careshouldbetaken toensureitsprotectionifboththemainroutineandInterruptServiceRoutineusetableread instructions.Ifusingthetablereadinstructions,theInterruptServiceRoutinesmaychangethe valueoftheTBLHandsubsequentlycauseerrorsifusedagainbythemainroutine.Asaruleitis recommendedthatsimultaneoususeofthetablereadinstructionsshouldbeavoided.However,in situationswheresimultaneoususecannotbeavoided,theinterruptsshouldbedisabledpriortothe executionofanymainroutinetable-readinstructions.Notethatalltablerelatedinstructionsrequire twoinstructioncyclestocompletetheiroperation. |
|
链接网址 |
| 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 |