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

BS85C20-5_12 参数 Datasheet PDF下载

BS85C20-5_12图片预览
型号: BS85C20-5_12
PDF下载: 下载PDF文件 查看货源
内容描述: 触摸按键闪存型8位微控制器与LCD / LED驱动器 [Touch Key Flash Type 8-Bit MCU with LCD/LED Driver]
分类和应用: 驱动器闪存微控制器
文件页数/大小: 183 页 / 7817 K
品牌: HOLTEK [ HOLTEK SEMICONDUCTOR INC ]
 浏览型号BS85C20-5_12的Datasheet PDF文件第64页浏览型号BS85C20-5_12的Datasheet PDF文件第65页浏览型号BS85C20-5_12的Datasheet PDF文件第66页浏览型号BS85C20-5_12的Datasheet PDF文件第67页浏览型号BS85C20-5_12的Datasheet PDF文件第69页浏览型号BS85C20-5_12的Datasheet PDF文件第70页浏览型号BS85C20-5_12的Datasheet PDF文件第71页浏览型号BS85C20-5_12的Datasheet PDF文件第72页  
BS85B12-3/BS85C20-3/BS85C20-5  
Touch Key Flash MCU with LCD/LED Driver  
TM Clock Source  
TheꢀclockꢀsourceꢀwhichꢀdrivesꢀtheꢀmainꢀcounterꢀinꢀeachꢀTMꢀcanꢀoriginateꢀfromꢀvariousꢀsources.ꢀ  
TheꢀselectionꢀofꢀtheꢀrequiredꢀclockꢀsourceꢀisꢀimplementedꢀusingꢀtheꢀTnCK2~TnCK0ꢀbitsꢀinꢀtheꢀTMꢀ  
controlꢀregisters.ꢀTheꢀclockꢀsourceꢀcanꢀbeꢀaꢀratioꢀofꢀeitherꢀtheꢀsystemꢀclockꢀfSYSꢀorꢀtheꢀinternalꢀhighꢀ  
clockꢀfH,ꢀtheꢀfTBCꢀclockꢀsourceꢀorꢀtheꢀexternalꢀTCKnꢀpin.ꢀNoteꢀthatꢀsettingꢀtheseꢀbitsꢀtoꢀtheꢀvalueꢀ101ꢀ  
willꢀselectꢀaꢀreservedꢀclockꢀinput,ꢀinꢀeffectꢀdisconnectingꢀtheꢀTMꢀclockꢀsource.ꢀTheꢀTCKnꢀpinꢀclockꢀ  
sourceꢀisꢀusedꢀtoꢀallowꢀanꢀexternalꢀsignalꢀtoꢀdriveꢀtheꢀTMꢀasꢀanꢀexternalꢀclockꢀsourceꢀorꢀforꢀeventꢀ  
counting.  
TM Interrupts  
TheꢀCompactꢀandꢀStandardꢀtypeꢀTMsꢀeachꢀhaveꢀtwoꢀinternalꢀinterrupts,ꢀoneꢀforꢀeachꢀofꢀtheꢀinternalꢀ  
comparatorꢀAꢀorꢀcomparatorꢀP,ꢀwhichꢀgenerateꢀaꢀTMꢀinterruptꢀwhenꢀaꢀcompareꢀmatchꢀconditionꢀ  
occurs.ꢀAsꢀtheꢀEnhancedꢀtypeꢀTMꢀhasꢀthreeꢀinternalꢀcomparatorsꢀandꢀcomparatorꢀAꢀorꢀcomparatorꢀ  
BꢀorꢀcomparatorꢀPꢀcompareꢀmatchꢀfunctions,ꢀitꢀconsequentlyꢀhasꢀthreeꢀinternalꢀinterrupts.ꢀWhenꢀaꢀ  
TMꢀinterruptꢀisꢀgeneratedꢀitꢀcanꢀbeꢀusedꢀtoꢀclearꢀtheꢀcounterꢀandꢀalsoꢀtoꢀchangeꢀtheꢀstateꢀofꢀtheꢀTMꢀ  
outputꢀpin.  
TM External Pins  
EachꢀofꢀtheꢀTMs,ꢀirrespectiveꢀofꢀwhatꢀtype,ꢀhasꢀoneꢀTMꢀinputꢀpin,ꢀwithꢀtheꢀlabelꢀTCKn.ꢀTheꢀTMꢀ  
inputꢀpin,ꢀisꢀessentiallyꢀaꢀclockꢀsourceꢀforꢀtheꢀTMꢀandꢀisꢀselectedꢀusingꢀtheꢀTnCK2~TnCK0ꢀbitsꢀinꢀ  
theꢀTMnC0ꢀregister.ꢀThisꢀexternalꢀTMꢀinputꢀpinꢀallowsꢀanꢀexternalꢀclockꢀsourceꢀtoꢀdriveꢀtheꢀinternalꢀ  
TM.ꢀThisꢀexternalꢀTMꢀinputꢀpinꢀisꢀsharedꢀwithꢀotherꢀfunctionsꢀbutꢀwillꢀbeꢀconnectedꢀtoꢀtheꢀinternalꢀ  
TMꢀifꢀselectedꢀusingꢀtheꢀTnCK2~TnCK0ꢀbits.ꢀTheꢀTMꢀinputꢀpinꢀcanꢀbeꢀchosenꢀtoꢀhaveꢀeitherꢀaꢀ  
risingꢀorꢀfallingꢀactiveꢀedge.  
TheꢀTMsꢀeachꢀhaveꢀoneꢀorꢀmoreꢀoutputꢀpinsꢀwithꢀtheꢀlabelꢀTPn.ꢀWhenꢀtheꢀTMꢀisꢀinꢀtheꢀCompareꢀ  
MatchꢀOutputꢀMode,ꢀtheseꢀpinsꢀcanꢀbeꢀcontrolledꢀbyꢀtheꢀTMꢀtoꢀswitchꢀtoꢀaꢀhighꢀorꢀlowꢀlevelꢀorꢀtoꢀ  
toggleꢀwhenꢀaꢀcompareꢀmatchꢀsituationꢀoccurs.ꢀTheꢀexternalꢀTPnꢀoutputꢀpinꢀisꢀalsoꢀtheꢀpinꢀwhereꢀ  
theꢀTMꢀgeneratesꢀtheꢀPWMꢀoutputꢀwaveform.ꢀAsꢀtheꢀTMꢀoutputꢀpinsꢀareꢀpin-sharedꢀwithꢀotherꢀ  
function,ꢀtheꢀTMꢀoutputꢀfunctionꢀmustꢀfirstꢀbeꢀsetupꢀusingꢀregisters.ꢀAꢀsingleꢀbitꢀinꢀoneꢀofꢀtheꢀ  
registersꢀdeterminesꢀifꢀitsꢀassociatedꢀpinꢀisꢀtoꢀbeꢀusedꢀasꢀanꢀexternalꢀTMꢀoutputꢀpinꢀorꢀifꢀitꢀisꢀtoꢀhaveꢀ  
anotherꢀfunction.ꢀTheꢀnumberꢀofꢀoutputꢀpinsꢀforꢀeachꢀTMꢀtypeꢀandꢀdeviceꢀisꢀdifferent,ꢀtheꢀdetailsꢀareꢀ  
providedꢀinꢀtheꢀaccompanyingꢀtable.  
AllꢀTMꢀoutputꢀpinꢀnamesꢀhaveꢀanꢀ"_n"ꢀsuffix.ꢀPinꢀnamesꢀthatꢀincludeꢀaꢀ"_1"ꢀorꢀ"_2"ꢀsuffixꢀindicateꢀ  
thatꢀtheyꢀareꢀfromꢀaꢀTMꢀwithꢀmultipleꢀoutputꢀpins.ꢀThisꢀallowsꢀtheꢀTMꢀtoꢀgenerateꢀaꢀcomplimentaryꢀ  
outputꢀpair,ꢀselectedꢀusingꢀtheꢀI/Oꢀregisterꢀdataꢀbits.  
Device  
CTM  
STM  
ETM  
Registers  
TP1�ꢂ TP1B_0ꢂ  
TP1B_1ꢂ TP1B_2  
BS85B12-3  
TP0_0ꢂ TP0_1  
TMPC0  
BS85C20-3  
/BS85C20-5  
TP1�ꢂ TP1B_0ꢂ  
TP1B_1ꢂ TP1B_2  
TP0_0ꢂ TP0_1  
TP2_0ꢂ TP2_1  
TMPC0ꢂ TMPC1  
TM Output Pins  
Rev. 1.20  
68  
�ꢀꢁꢀst 10ꢂ 2012