欢迎访问ic37.com |
会员登录 免费注册
发布采购

HT45F12 参数 Datasheet PDF下载

HT45F12图片预览
型号: HT45F12
PDF下载: 下载PDF文件 查看货源
内容描述: 8位闪存微控制器与运算放大器和比较器 [8-Bit Flash MCU with Op Amps & Comparators]
分类和应用: 闪存比较器微控制器运算放大器
文件页数/大小: 104 页 / 4764 K
品牌: HOLTEK [ HOLTEK SEMICONDUCTOR INC ]
 浏览型号HT45F12的Datasheet PDF文件第17页浏览型号HT45F12的Datasheet PDF文件第18页浏览型号HT45F12的Datasheet PDF文件第19页浏览型号HT45F12的Datasheet PDF文件第20页浏览型号HT45F12的Datasheet PDF文件第22页浏览型号HT45F12的Datasheet PDF文件第23页浏览型号HT45F12的Datasheet PDF文件第24页浏览型号HT45F12的Datasheet PDF文件第25页  
HT45F12  
8-Bit Flash MCU with Op Amps & Comparators  
P
o
r
r
g
m
a
M
m
e
r
o
y
L
a
t
s
p
g
o
r
e
T
H
B
P
R
e
s
g
e
t
i
r
D
t
a
a
1
5
b
i
s
t
T
L
B
P
R
e
i
g
t
s
r
e
U
e
s
r
S
e
e
l
t
c
d
e
R
g
e
s
i
e
t
r
T
B
H
L
R
g
e
s
i
e
t
r
H
g
i
h
B
y
e
t
o
L
w
B
y
e
t
Table location  
Instruction  
b9  
TABRDC [ꢁ] PC9  
TABRDL [ꢁ]  
b8  
b7  
b6  
b5  
@5  
@5  
b4  
@4  
@4  
b3  
b2  
@ꢄ  
@ꢄ  
b1  
@1  
@1  
b0  
@0  
@0  
PC8  
1
@7  
@7  
@ꢅ  
@ꢅ  
@3  
@3  
1
Table Location  
Note:ꢀb9~b0:ꢀTableꢀlocationꢀbits  
PC9~PC8:ꢀCurrentꢀProgramꢀCounterꢀbits  
@7~@0:ꢀTableꢀPointerꢀTBLPꢀbits  
Table Program Example  
Theꢀfollowingꢀexampleꢀshowsꢀhowꢀtheꢀtableꢀpointerꢀandꢀtableꢀdataꢀisꢀdefinedꢀandꢀretrievedꢀfromꢀtheꢀ  
microcontroller.ꢀThisꢀexampleꢀusesꢀrawꢀtableꢀdataꢀlocatedꢀinꢀtheꢀProgramꢀMemoryꢀwhichꢀisꢀstoredꢀ  
thereꢀusingꢀtheꢀORGꢀstatement.ꢀTheꢀvalueꢀatꢀthisꢀORGꢀstatementꢀisꢀ“300H”ꢀwhichꢀrefersꢀtoꢀtheꢀstartꢀ  
addressꢀofꢀtheꢀlastꢀpageꢀwithinꢀtheꢀ1KꢀwordsꢀProgramꢀMemoryꢀofꢀtheꢀdevice.ꢀTheꢀtableꢀpointerꢀisꢀ  
setupꢀhereꢀtoꢀhaveꢀanꢀinitialꢀvalueꢀofꢀ“06H”.ꢀThisꢀwillꢀensureꢀthatꢀtheꢀfirstꢀdataꢀreadꢀfromꢀtheꢀdataꢀ  
tableꢀwillꢀbeꢀatꢀtheꢀProgramꢀMemoryꢀaddressꢀ“306H”ꢀorꢀ6ꢀlocationsꢀafterꢀtheꢀstartꢀofꢀtheꢀlastꢀpage.ꢀ  
Noteꢀthatꢀtheꢀvalueꢀforꢀtheꢀtableꢀpointerꢀisꢀreferencedꢀtoꢀtheꢀfirstꢀaddressꢀofꢀtheꢀpresentꢀpageꢀifꢀtheꢀ  
“TABRDCꢀ[m]”ꢀinstructionꢀisꢀbeingꢀused.ꢀTheꢀhighꢀbyteꢀofꢀtheꢀtableꢀdataꢀwhichꢀinꢀthisꢀcaseꢀisꢀequalꢀ  
toꢀzeroꢀwillꢀbeꢀtransferredꢀtoꢀtheꢀTBLHꢀregisterꢀautomaticallyꢀwhenꢀtheꢀ“TABRDLꢀ[m]”ꢀinstructionꢀ  
isꢀexecuted.  
BecauseꢀtheꢀTBLHꢀregisterꢀisꢀaꢀread-onlyꢀregisterꢀandꢀcannotꢀbeꢀrestored,ꢀcareꢀshouldꢀbeꢀtakenꢀ  
toꢀensureꢀitsꢀprotectionꢀifꢀbothꢀtheꢀmainꢀroutineꢀandꢀInterruptꢀServiceꢀRoutineꢀuseꢀtableꢀreadꢀ  
instructions.ꢀIfꢀusingꢀtheꢀtableꢀreadꢀinstructions,ꢀtheꢀInterruptꢀServiceꢀRoutinesꢀmayꢀchangeꢀtheꢀ  
valueꢀofꢀtheꢀTBLHꢀandꢀsubsequentlyꢀcauseꢀerrorsꢀifꢀusedꢀagainꢀbyꢀtheꢀmainꢀroutine.ꢀAsꢀaꢀruleꢀitꢀisꢀ  
recommendedꢀthatꢀsimultaneousꢀuseꢀofꢀtheꢀtableꢀreadꢀinstructionsꢀshouldꢀbeꢀavoided.ꢀHowever,ꢀinꢀ  
situationsꢀwhereꢀsimultaneousꢀuseꢀcannotꢀbeꢀavoided,ꢀtheꢀinterruptsꢀshouldꢀbeꢀdisabledꢀpriorꢀtoꢀtheꢀ  
executionꢀofꢀanyꢀmainꢀroutineꢀtable-readꢀinstructions.ꢀNoteꢀthatꢀallꢀtableꢀrelatedꢀinstructionsꢀrequireꢀ  
twoꢀinstructionꢀcyclesꢀtoꢀcompleteꢀtheirꢀoperation.  
Rev. 0.00  
ꢄ1  
�eꢀteꢁꢂeꢃ ꢄꢅꢆ ꢄ01ꢄ