| поискавой системы для электроныых деталей |
|
HT68F005 датащи(PDF) 17 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT68F005 датащи(HTML) 17 Page - Holtek Semiconductor Inc |
|
17 / 93 page ![]() Rev. 1.00 16 ��to�e� ��� �01� Rev. 1.00 17 ��to�e� ��� �01� HT68F005/HT68F006 Enhanced I/O Flash Type MCU HT68F005/HT68F006 Enhanced I/O Flash Type MCU 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 TB LP R eg is te r Da ta 16 b it s Pr og ra m Me mo ry Las t p age o r TB HP R egi st er Table Program Example Thefollowingexampleshowshowthetablepointerandtabledataisdefinedandretrievedfromthe microcontroller.ThisexampleusesrawtabledatalocatedintheProgramMemorywhichisstored thereusingtheORGstatement.ThevalueatthisORGstatementis“300H”whichreferstothestart addressofthelastpagewithinthe1KwordsProgramMemoryofthedevices.Thetablepointeris setupheretohaveaninitialvalueof“06H”.Thiswillensurethatthefirstdatareadfromthedata tablewillbeattheProgramMemoryaddress“306H”or6locationsafterthestartofthelastpage. Notethatthevalueforthetablepointerisreferencedtothefirstaddressofthepresentpageifthe “TABRD[m]”instructionisbeingused.Thehighbyteofthetabledatawhichinthiscaseisequal tozerowillbetransferredtotheTBLHregisterautomaticallywhenthe“TABRD[m]”instructionis executed. BecausetheTBLHregisterisaread-onlyregisterandcannotberestored,careshouldbetaken toensureitsprotectionifboththemainroutineandInterruptServiceRoutineusetableread instructions.Ifusingthetablereadinstructions,theInterruptServiceRoutinesmaychangethe valueoftheTBLHandsubsequentlycauseerrorsifusedagainbythemainroutine.Asaruleitis recommendedthatsimultaneoususeofthetablereadinstructionsshouldbeavoided.However,in situationswheresimultaneoususecannotbeavoided,theinterruptsshouldbedisabledpriortothe executionofanymainroutinetable-readinstructions.Notethatalltablerelatedinstructionsrequire twoinstructioncyclestocompletetheiroperation. |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |