欢迎访问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文件第22页浏览型号HT45F12的Datasheet PDF文件第23页浏览型号HT45F12的Datasheet PDF文件第24页浏览型号HT45F12的Datasheet PDF文件第25页浏览型号HT45F12的Datasheet PDF文件第27页浏览型号HT45F12的Datasheet PDF文件第28页浏览型号HT45F12的Datasheet PDF文件第29页浏览型号HT45F12的Datasheet PDF文件第30页  
HT45F12  
8-Bit Flash MCU with Op Amps & Comparators  
Bank Pointer – BP  
TheꢀDataꢀMemoryꢀisꢀdividedꢀintoꢀtwoꢀBanks,ꢀknownꢀasꢀBankꢀ0ꢀandꢀBankꢀ1.ꢀAꢀBankꢀPointer,ꢀwhichꢀ  
isꢀbitꢀ0ꢀofꢀtheꢀBankꢀPointerꢀregisterꢀisꢀusedꢀtoꢀselectꢀtheꢀrequiredꢀDataꢀMemoryꢀbank.ꢀOnlyꢀdataꢀinꢀ  
Bankꢀ0ꢀcanꢀbeꢀdirectlyꢀaddressed,ꢀasꢀdataꢀinꢀBankꢀ1ꢀmustꢀbeꢀindirectlyꢀaddressedꢀusingꢀMemoryꢀ  
PointerꢀMP1ꢀandꢀIndirectꢀAddressingꢀRegisterꢀIAR1.ꢀUsingꢀMemoryꢀPointerꢀMP0ꢀandꢀIndirectꢀ  
AddressingꢀRegisterꢀIAR0ꢀwillꢀalwaysꢀaccessꢀdataꢀfromꢀBankꢀ0,ꢀirrespectiveꢀofꢀtheꢀvalueꢀofꢀtheꢀ  
BankꢀPointer.ꢀMemoryꢀPointerꢀMP1ꢀandꢀIndirectꢀAddressingꢀRegisterꢀIAR1ꢀcanꢀindirectlyꢀaddressꢀ  
dataꢀinꢀeitherꢀBankꢀ0ꢀorꢀBankꢀ1ꢀdependingꢀuponꢀtheꢀvalueꢀofꢀtheꢀBankꢀPointer.ꢀ  
TheꢀDataꢀMemoryꢀisꢀinitialisedꢀtoꢀBankꢀ0ꢀafterꢀaꢀreset,ꢀexceptꢀforꢀtheꢀWDTꢀtime-outꢀresetꢀinꢀtheꢀIdle/  
SleepꢀMode,ꢀinꢀwhichꢀcase,ꢀtheꢀDataꢀMemoryꢀbankꢀremainsꢀunaffected.ꢀItꢀshouldꢀbeꢀnotedꢀthatꢀSpecialꢀ  
FunctionꢀDataꢀMemoryꢀisꢀnotꢀaffectedꢀbyꢀtheꢀbankꢀselection,ꢀwhichꢀmeansꢀthatꢀtheꢀSpecialꢀFunctionꢀ  
RegistersꢀcanꢀbeꢀaccessedꢀfromꢀwithinꢀeitherꢀBankꢀ0ꢀorꢀBankꢀ1.ꢀDirectlyꢀaddressingꢀtheꢀDataꢀMemoryꢀ  
willꢀalwaysꢀresultꢀinꢀBankꢀ0ꢀbeingꢀaccessedꢀirrespectiveꢀofꢀtheꢀvalueꢀofꢀtheꢀBankꢀPointer.  
BP Register  
Bit  
7
6
5
4
3
2
1
0
Naꢁe  
R/W  
BP0  
R/W  
0
POR  
Bitꢀ7~1ꢀ  
Bitꢀ0ꢀ  
Unimplemented,ꢀreadꢀasꢀ"0"  
BP0:ꢀSelectꢀDataꢀMemoryꢀBanksꢀ  
ꢀ 0:ꢀBankꢀ0ꢀ  
ꢀ 1:ꢀBankꢀ1  
Accumulator – ACC  
TheꢀAccumulatorꢀisꢀcentralꢀtoꢀtheꢀoperationꢀofꢀanyꢀmicrocontrollerꢀandꢀisꢀcloselyꢀrelatedꢀwithꢀ  
operationsꢀcarriedꢀoutꢀbyꢀtheꢀALU.ꢀTheꢀAccumulatorꢀisꢀtheꢀplaceꢀwhereꢀallꢀintermediateꢀresultsꢀ  
fromꢀtheꢀALUꢀareꢀstored.ꢀWithoutꢀtheꢀAccumulatorꢀitꢀwouldꢀbeꢀnecessaryꢀtoꢀwriteꢀtheꢀresultꢀofꢀ  
eachꢀcalculationꢀorꢀlogicalꢀoperationꢀsuchꢀasꢀaddition,ꢀsubtraction,ꢀshift,ꢀetc.,ꢀtoꢀtheꢀDataꢀMemoryꢀ  
resultingꢀinꢀhigherꢀprogrammingꢀandꢀtimingꢀoverheads.ꢀDataꢀtransferꢀoperationsꢀusuallyꢀinvolveꢀ  
theꢀtemporaryꢀstorageꢀfunctionꢀofꢀtheꢀAccumulator;ꢀforꢀexample,ꢀwhenꢀtransferringꢀdataꢀbetweenꢀ  
oneꢀuserꢀdefinedꢀregisterꢀandꢀanother,ꢀitꢀisꢀnecessaryꢀtoꢀdoꢀthisꢀbyꢀpassingꢀtheꢀdataꢀthroughꢀtheꢀ  
Accumulatorꢀasꢀnoꢀdirectꢀtransferꢀbetweenꢀtwoꢀregistersꢀisꢀpermitted.  
Program Counter Low Register – PCL  
Toprovideꢀadditionalꢀprogramꢀcontrolꢀfunctions,ꢀtheꢀlowꢀbyteꢀofꢀtheꢀProgramꢀCounterꢀisꢀmadeꢀ  
accessibleꢀtoꢀprogrammersꢀbyꢀlocatingꢀitꢀwithinꢀtheꢀSpecialꢀPurposeꢀareaꢀofꢀtheꢀDataꢀMemory.ꢀByꢀ  
manipulatingꢀthisꢀregister,ꢀdirectꢀjumpsꢀtoꢀotherꢀprogramꢀlocationsꢀareꢀeasilyꢀimplemented.ꢀLoadingꢀ  
aꢀvalueꢀdirectlyꢀintoꢀthisꢀPCLꢀregisterꢀwillꢀcauseꢀaꢀjumpꢀtoꢀtheꢀspecifiedꢀProgramꢀMemoryꢀlocation,ꢀ  
however,ꢀasꢀtheꢀregisterꢀisꢀonlyꢀ8-bitꢀwide,ꢀonlyꢀjumpsꢀwithinꢀtheꢀcurrentꢀProgramꢀMemoryꢀpageꢀareꢀ  
permitted.ꢀWhenꢀsuchꢀoperationsꢀareꢀused,ꢀnoteꢀthatꢀaꢀdummyꢀcycleꢀwillꢀbeꢀinserted.  
Look-up Table Registers – TBLP, TBHP, TBLH  
Theseꢀthreeꢀspecialꢀfunctionꢀregistersꢀareꢀusedꢀtoꢀcontrolꢀoperationꢀofꢀtheꢀlook-upꢀtableꢀwhichꢀisꢀ  
storedꢀinꢀtheꢀProgramꢀMemory.ꢀTBLPꢀandꢀTBHPꢀareꢀtheꢀtableꢀpointerꢀandꢀindicatesꢀtheꢀlocationꢀ  
whereꢀtheꢀtableꢀdataꢀisꢀlocated.ꢀTheirꢀvalueꢀmustꢀbeꢀsetupꢀbeforeꢀanyꢀtableꢀreadꢀcommandsꢀareꢀ  
executed.ꢀTheirꢀvalueꢀcanꢀbeꢀchanged,ꢀforꢀexampleꢀusingꢀtheꢀ“INC”ꢀorꢀ“DEC”ꢀinstructions,ꢀallowingꢀ  
forꢀeasyꢀtableꢀdataꢀpointingꢀandꢀreading.ꢀTBLHꢀisꢀtheꢀlocationꢀwhereꢀtheꢀhighꢀorderꢀbyteꢀofꢀtheꢀtableꢀ  
dataꢀisꢀstoredꢀafterꢀaꢀtableꢀreadꢀdataꢀinstructionꢀhasꢀbeenꢀexecuted.ꢀNoteꢀthatꢀtheꢀlowerꢀorderꢀtableꢀ  
dataꢀbyteꢀisꢀtransferredꢀtoꢀaꢀuserꢀdefinedꢀlocation.  
Rev. 0.00  
ꢄꢅ  
�eꢀteꢁꢂeꢃ ꢄꢅꢆ ꢄ01ꢄ