HT45F12
8-Bit Flash MCU with Op Amps & Comparators
000H
004H
008H
00CH
010H
014H
018H
Initialisation Vectoꢃ
Exteꢃnal Inteꢃꢃuꢀt 0 Vectoꢃ
Exteꢃnal Inteꢃꢃuꢀt 1 Vectoꢃ
Tiꢁeꢃ/Event Counteꢃ
Inteꢃꢃuꢀt Vectoꢃ
Reseꢃved
Reseꢃved
Multi-function
Inteꢃꢃuꢀt Vectoꢃ
Pꢃogꢃaꢁ Meꢁoꢃy
(10ꢄ4*15)
n00H
nFFH
Look-uꢀ Taꢂle
(ꢄ5ꢅ woꢃds)
300H
3FFH
Look-uꢀ Taꢂle
(ꢄ5ꢅ woꢃds)
15-ꢂit
Note: n = 0 ~ 3
Program Memory Structure
Look-up Table
AnyꢀlocationꢀwithinꢀtheꢀProgramꢀMemoryꢀcanꢀbeꢀdefinedꢀasꢀaꢀlook-upꢀtableꢀwhereꢀprogrammersꢀcanꢀ
storeꢀfixedꢀdata.ꢀToꢀuseꢀtheꢀlook-upꢀtable,ꢀtheꢀtableꢀpointerꢀmustꢀfirstꢀbeꢀsetupꢀbyꢀplacingꢀtheꢀaddressꢀ
ofꢀtheꢀlookꢀupꢀdataꢀtoꢀbeꢀretrievedꢀinꢀtheꢀtableꢀpointerꢀregister,ꢀTBLPꢀandꢀTBHP.ꢀTheseꢀregistersꢀ
defineꢀtheꢀtotalꢀaddressꢀofꢀtheꢀlook-upꢀtable.
Afterꢀsettingꢀupꢀtheꢀtableꢀpointer,ꢀtheꢀtableꢀdataꢀcanꢀbeꢀretrievedꢀfromꢀtheꢀProgramꢀMemoryꢀusingꢀ
theꢀ“TABRDC[m]”ꢀorꢀ“TABRDL[m]”ꢀinstructions,ꢀrespectively.ꢀWhenꢀtheꢀinstructionꢀisꢀexecuted,ꢀ
theꢀlowerꢀorderꢀtableꢀbyteꢀfromꢀtheꢀProgramꢀMemoryꢀwillꢀbeꢀtransferredꢀtoꢀtheꢀuserꢀdefinedꢀDataꢀ
Memoryꢀregisterꢀ[m]ꢀasꢀspecifiedꢀinꢀtheꢀinstruction.ꢀTheꢀhigherꢀorderꢀtableꢀdataꢀbyteꢀfromꢀtheꢀ
ProgramꢀMemoryꢀwillꢀbeꢀtransferredꢀtoꢀtheꢀTBLHꢀspecialꢀregister.ꢀAnyꢀunusedꢀbitsꢀinꢀthisꢀtransferredꢀ
higherꢀorderꢀbyteꢀwillꢀbeꢀreadꢀasꢀ“0”.ꢀTheꢀaccompanyingꢀdiagramꢀillustratesꢀtheꢀaddressingꢀdataꢀflowꢀ
ofꢀtheꢀlook-upꢀtable.
Rev. 0.00
ꢄ0
�eꢀteꢁꢂeꢃ ꢄꢅꢆ ꢄ01ꢄ