欢迎访问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文件第73页浏览型号BS85C20-5_12的Datasheet PDF文件第74页浏览型号BS85C20-5_12的Datasheet PDF文件第75页浏览型号BS85C20-5_12的Datasheet PDF文件第76页浏览型号BS85C20-5_12的Datasheet PDF文件第78页浏览型号BS85C20-5_12的Datasheet PDF文件第79页浏览型号BS85C20-5_12的Datasheet PDF文件第80页浏览型号BS85C20-5_12的Datasheet PDF文件第81页  
BS85B12-3/BS85C20-3/BS85C20-5  
Touch Key Flash MCU with LCD/LED Driver  
Bitꢀ2ꢀ  
TnPOL:ꢀTPn_0,ꢀTPn_1ꢀOutputꢀpolarityꢀControlꢀ  
ꢀ 0:ꢀNon-invertꢀ  
ꢀ 1:ꢀInvert  
ThisꢀbitꢀcontrolsꢀtheꢀpolarityꢀofꢀtheꢀTPn_0ꢀorꢀTPn_1ꢀoutputꢀpin.ꢀWhenꢀtheꢀbitꢀisꢀsetꢀ  
highꢀtheꢀTMꢀoutputꢀpinꢀwillꢀbeꢀinvertedꢀandꢀnotꢀinvertedꢀwhenꢀtheꢀbitꢀisꢀzero.ꢀItꢀhasꢀnoꢀ  
effectꢀifꢀtheꢀTMꢀisꢀinꢀtheꢀTimer/CounterꢀMode.  
Bitꢀ1ꢀ  
Bitꢀ0ꢀ  
TnDPX:ꢀTMnꢀPWMꢀperiod/dutyꢀControlꢀ  
ꢀ 0:ꢀCCRPꢀ-ꢀperiod;ꢀCCRAꢀ-ꢀdutyꢀ  
ꢀ 1:ꢀCCRPꢀ-ꢀduty;ꢀCCRAꢀ-ꢀperiod  
Thisꢀbit,ꢀdeterminesꢀwhichꢀofꢀtheꢀCCRAꢀandꢀCCRPꢀregistersꢀareꢀusedꢀforꢀperiodꢀandꢀ  
dutyꢀcontrolꢀofꢀtheꢀPWMꢀwaveform.  
TnCCLR:ꢀSelectꢀTMnꢀCounterꢀclearꢀconditionꢀ  
ꢀ 0:ꢀTMnꢀComparatrorꢀPꢀmatchꢀ  
ꢀ 1:ꢀTMnꢀComparatrorꢀAꢀmatch  
Thisꢀbitꢀisꢀusedꢀtoꢀselectꢀtheꢀmethodꢀwhichꢀclearsꢀtheꢀcounter.ꢀRememberꢀthatꢀtheꢀ  
CompactꢀTMꢀcontainsꢀtwoꢀcomparators,ꢀComparatorꢀAꢀandꢀComparatorꢀP,ꢀeitherꢀofꢀ  
whichꢀcanꢀbeꢀselectedꢀtoꢀclearꢀtheꢀinternalꢀcounter.ꢀWithꢀtheꢀTnCCLRꢀbitꢀsetꢀhigh,ꢀ  
theꢀcounterꢀwillꢀbeꢀclearedꢀwhenꢀaꢀcompareꢀmatchꢀoccursꢀfromꢀtheꢀComparatorꢀA.ꢀ  
Whenꢀtheꢀbitꢀisꢀlow,ꢀtheꢀcounterꢀwillꢀbeꢀclearedꢀwhenꢀaꢀcompareꢀmatchꢀoccursꢀfromꢀ  
theꢀComparatorꢀPꢀorꢀwithꢀaꢀcounterꢀoverflow.ꢀAꢀcounterꢀoverflowꢀclearingꢀmethodꢀcanꢀ  
onlyꢀbeꢀimplementedꢀifꢀtheꢀCCRPꢀbitsꢀareꢀallꢀclearedꢀtoꢀzero.ꢀTheꢀTnCCLRꢀbitꢀisꢀnotꢀ  
usedꢀinꢀtheꢀPWMꢀMode.  
Compact Type TM Operating Modes  
TheꢀCompactꢀTypeꢀTMꢀcanꢀoperateꢀinꢀoneꢀofꢀthreeꢀoperatingꢀmodes,ꢀCompareꢀMatchꢀOutputꢀMode,ꢀ  
PWMꢀModeꢀorꢀTimer/CounterꢀMode.ꢀTheꢀoperatingꢀmodeꢀisꢀselectedꢀusingꢀtheꢀTnM1ꢀandꢀTnM0ꢀ  
bitsꢀinꢀtheꢀTMnC1ꢀregister.  
Compare Match Output Mode  
Toꢀselectꢀthisꢀmode,ꢀbitsꢀTnM1ꢀandꢀTnM0ꢀinꢀtheꢀTMnC1ꢀregister,ꢀshouldꢀbeꢀsetꢀtoꢀ"00"ꢀrespectively.ꢀ  
Inꢀthisꢀmodeꢀonceꢀtheꢀcounterꢀisꢀenabledꢀandꢀrunningꢀitꢀcanꢀbeꢀclearedꢀbyꢀthreeꢀmethods.ꢀTheseꢀareꢀ  
aꢀcounterꢀoverflow,ꢀaꢀcompareꢀmatchꢀfromꢀComparatorꢀAꢀandꢀaꢀcompareꢀmatchꢀfromꢀComparatorꢀP.ꢀ  
WhenꢀtheꢀTnCCLRꢀbitꢀisꢀlow,ꢀthereꢀareꢀtwoꢀwaysꢀinꢀwhichꢀtheꢀcounterꢀcanꢀbeꢀcleared.ꢀOneꢀisꢀwhenꢀ  
aꢀcompareꢀmatchꢀoccursꢀfromꢀComparatorꢀP,ꢀtheꢀotherꢀisꢀwhenꢀtheꢀCCRPꢀbitsꢀareꢀallꢀzeroꢀwhichꢀ  
allowsꢀtheꢀcounterꢀtoꢀoverflow.ꢀHereꢀbothꢀTnAFꢀandꢀTnPFꢀinterruptꢀrequestꢀflagsꢀforꢀtheꢀComparatorꢀ  
AꢀandꢀComparatorꢀPꢀrespectively,ꢀwillꢀbothꢀbeꢀgenerated.  
IfꢀtheꢀTnCCLRꢀbitꢀinꢀtheꢀTMnC1ꢀregisterꢀisꢀhighꢀthenꢀtheꢀcounterꢀwillꢀbeꢀclearedꢀwhenꢀaꢀcompareꢀ  
matchꢀoccursꢀfromꢀComparatorꢀA.ꢀHowever,ꢀhereꢀonlyꢀtheꢀTnAFꢀinterruptꢀrequestꢀflagꢀwillꢀbeꢀ  
generatedꢀevenꢀifꢀtheꢀvalueꢀofꢀtheꢀCCRPꢀbitsꢀisꢀlessꢀthanꢀthatꢀofꢀtheꢀCCRAꢀregisters.ꢀThereforeꢀwhenꢀ  
TnCCLRꢀisꢀhighꢀnoꢀTnPFꢀinterruptꢀrequestꢀflagꢀwillꢀbeꢀgenerated.ꢀIfꢀtheꢀCCRAꢀbitsꢀareꢀallꢀzero,ꢀtheꢀ  
counterꢀwillꢀoverflowꢀwhenꢀitsꢀreachesꢀitsꢀmaximumꢀ10-bit,ꢀ3FFꢀHex,ꢀvalue,ꢀhoweverꢀhereꢀtheꢀTnAFꢀ  
interruptꢀrequestꢀflagꢀwillꢀnotꢀbeꢀgenerated.  
Rev. 1.20  
77  
�ꢀꢁꢀst 10ꢂ 2012