| 전자부품 데이터시트 검색엔진 |
|
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 |
| 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 |