| поискавой системы для электроныых деталей |
|
HT45F3W датащи(PDF) 22 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F3W датащи(HTML) 22 Page - Holtek Semiconductor Inc |
|
22 / 167 page ![]() Rev. 1.50 �� De�e��e� 01� �01� Rev. 1.50 �3 De�e��e� 01� �01� HT45F3W R-Type Blood Pressure Meter Flash MCU HT45F3W R-Type Blood Pressure Meter Flash MCU Aftersettingupthetablepointer,thetabledatacanberetrievedfromtheProgramMemoryusing the“TABRD[m]”or“TABRDL[m]”instructions,respectively.Whentheinstructionisexecuted, thelowerordertablebytefromtheProgramMemorywillbetransferredtotheuserdefined DataMemoryregister[m]asspecifiedintheinstruction.Thehigherordertabledatabytefrom theProgramMemorywillbetransferredtotheTBLHspecialregister.Anyunusedbitsinthis transferredhigherorderbytewillbereadas0. Theaccompanyingdiagramillustratestheaddressingdataflowofthelook-uptable. R egi st er T BL H Us er S el ec te d R egi st er Hi gh By te Low B yt e TB LP R egi st er Da ta 16 bi ts Pr og ra m Me mo ry Las t page or TB HP R eg is te r Table Program Example Thefollowingexampleshowshowthetablepointerandtabledataisdefinedandretrievedfrom themicrocontroller.Thisexampleusesrawtabledatalocatedinthelastpagewhichisstoredthere usingthe“ORG”and“rombank”statements.ThevalueatthisORGstatementis“1F00H”which islocatedinROMBank1whichreferstothestartaddressofthelastpagewithinthe16Kwords ProgramMemory.Thetablepointerlowbyteregisterissetupheretohaveaninitialvalueof“06H”. ThiswillensurethatthefirstdatareadfromthedatatablewillbeattheProgramMemoryaddress “3F06H”or6locationsafterthestartofthelastpage.Notethatthevalueforthetablepointeris referencedtothefirstaddressofthepresentpageifthe“TABRD[m]”instructionisbeingused.The highbyteofthetabledatawhichinthiscaseisequaltozerowillbetransferredtotheTBLHregister automaticallywhenthe“TABRD[m]”instructionisexecuted. 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 |