欢迎访问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文件第109页浏览型号BS85C20-5_12的Datasheet PDF文件第110页浏览型号BS85C20-5_12的Datasheet PDF文件第111页浏览型号BS85C20-5_12的Datasheet PDF文件第112页浏览型号BS85C20-5_12的Datasheet PDF文件第114页浏览型号BS85C20-5_12的Datasheet PDF文件第115页浏览型号BS85C20-5_12的Datasheet PDF文件第116页浏览型号BS85C20-5_12的Datasheet PDF文件第117页  
BS85B12-3/BS85C20-3/BS85C20-5  
Touch Key Flash MCU with LCD/LED Driver  
Capture Input Mode  
ToꢀselectꢀthisꢀmodeꢀbitsꢀTnAM1,ꢀTnAM0ꢀandꢀTnBM1,ꢀTnBM0ꢀinꢀtheꢀTMnC1ꢀandꢀTMnC2ꢀregistersꢀ  
shouldꢀbeꢀsetꢀtoꢀ01ꢀrespectively.ꢀThisꢀmodeꢀenablesꢀexternalꢀsignalsꢀtoꢀcaptureꢀandꢀstoreꢀtheꢀ  
presentꢀvalueꢀofꢀtheꢀinternalꢀcounterꢀandꢀcanꢀthereforeꢀbeꢀusedꢀforꢀapplicationsꢀsuchꢀasꢀpulseꢀwidthꢀ  
measurements.ꢀTheꢀexternalꢀsignalꢀisꢀsuppliedꢀonꢀtheꢀTPnAꢀandꢀTPnB_0,ꢀTPnB_1,ꢀTPnB_2ꢀpins,ꢀ  
whoseꢀactiveꢀedgeꢀcanꢀbeꢀeitherꢀaꢀrisingꢀedge,ꢀaꢀfallingꢀedgeꢀorꢀbothꢀrisingꢀandꢀfallingꢀedges;ꢀtheꢀ  
activeꢀedgeꢀtransitionꢀtypeꢀisꢀselectedꢀusingꢀtheꢀTnAIO1,ꢀTnAIO0ꢀandꢀTnBIO1,ꢀTnBIO0ꢀbitsꢀinꢀtheꢀ  
TMnC1ꢀandꢀTMnC2ꢀregisters.ꢀTheꢀcounterꢀisꢀstartedꢀwhenꢀtheꢀTnONꢀbitꢀchangesꢀfromꢀlowꢀtoꢀhighꢀ  
whichꢀisꢀinitiatedꢀusingꢀtheꢀapplicationꢀprogram.  
WhenꢀtheꢀrequiredꢀedgeꢀtransitionꢀappearsꢀonꢀtheꢀTPnAꢀandꢀTPnB_0,ꢀTPnB_1,ꢀTPnB_2ꢀpinsꢀtheꢀ  
presentꢀvalueꢀinꢀtheꢀcounterꢀwillꢀbeꢀlatchedꢀintoꢀtheꢀCCRAꢀandꢀCCRBꢀregistersꢀandꢀaꢀTMꢀinterruptꢀ  
generated.ꢀIrrespectiveꢀofꢀwhatꢀeventsꢀoccurꢀonꢀtheꢀTPnAꢀandꢀTPnB_0,ꢀTPnB_1,ꢀTPnB_2ꢀpinsꢀ  
theꢀcounterꢀwillꢀcontinueꢀtoꢀfreeꢀrunꢀuntilꢀtheꢀTnONꢀbitꢀchangesꢀfromꢀhighꢀtoꢀlow.ꢀWhenꢀaꢀCCRPꢀ  
compareꢀmatchꢀoccursꢀtheꢀcounterꢀwillꢀresetꢀbackꢀtoꢀzero;ꢀinꢀthisꢀwayꢀtheꢀCCRPꢀvalueꢀcanꢀbeꢀusedꢀ  
toꢀcontrolꢀtheꢀmaximumꢀcounterꢀvalue.ꢀWhenꢀaꢀCCRPꢀcompareꢀmatchꢀoccursꢀfromꢀComparatorꢀP,ꢀ  
aꢀTMꢀinterruptꢀwillꢀalsoꢀbeꢀgenerated.ꢀCountingꢀtheꢀnumberꢀofꢀoverflowꢀinterruptꢀsignalsꢀfromꢀtheꢀ  
CCRPꢀcanꢀbeꢀaꢀusefulꢀmethodꢀinꢀmeasuringꢀlongꢀpulseꢀwidths.ꢀTheꢀTnAIO1,ꢀTnAIO0ꢀandꢀTnBIO1,ꢀ  
TnBIO0ꢀbitsꢀcanꢀselectꢀtheꢀactiveꢀtriggerꢀedgeꢀonꢀtheꢀTPnAꢀandꢀTPnB_0,ꢀTPnB_1,ꢀTPnB_2ꢀpinsꢀtoꢀbeꢀ  
aꢀrisingꢀedge,ꢀfallingꢀedgeꢀorꢀbothꢀedgeꢀtypes.ꢀIfꢀtheꢀTnAIO1,ꢀTnAIO0ꢀandꢀTnBIO1,ꢀTnBIO0ꢀbitsꢀareꢀ  
bothꢀsetꢀhigh,ꢀthenꢀnoꢀcaptureꢀoperationꢀwillꢀtakeꢀplaceꢀirrespectiveꢀofꢀwhatꢀhappensꢀonꢀtheꢀTPnAꢀandꢀ  
TPnB_0,ꢀTPnB_1,ꢀTPnB_2ꢀpins,ꢀhoweverꢀitꢀmustꢀbeꢀnotedꢀthatꢀtheꢀcounterꢀwillꢀcontinueꢀtoꢀrun.  
Tn�M1ꢂ Tn�M0 = 01  
Coꢀnter  
Coꢀnter  
Valꢀe  
overflow  
Coꢀnter  
Reset  
CCRP  
Stop  
YY  
XX  
Paꢀse Resꢀme  
Time  
TnON bit  
TnP�U bit  
�ctive  
edꢁes  
�ctive  
edꢁe  
�ctive  
edꢁe  
TM Captꢀre Pin  
CCR� Int.  
Flaꢁ Tn�F  
CCRP Int.  
Flaꢁ TnPF  
CCR�  
Valꢀe  
XX  
YY  
XX  
YY  
Tn�IO1ꢂ Tn�IO0  
Valꢀe  
00 - Risinꢁ edꢁe  
01 - Fallinꢁ edꢁe  
10 - Both edꢁes  
11 - Disable Captꢀre  
ETM CCRA Capture Input Mode  
Note:ꢀ1.ꢀTnAMꢀ[1:0]ꢀ=ꢀ01ꢀandꢀactiveꢀedgeꢀsetꢀbyꢀtheꢀTnAIOꢀ[1:0]ꢀbits  
2.ꢀTheꢀTMꢀCaptureꢀinputꢀpinꢀactiveꢀedgeꢀtransfersꢀheꢀcounterꢀvalueꢀtoꢀCCRA  
3.ꢀTnCCLRꢀbitꢀnotꢀused  
4.ꢀNoꢀoutputꢀfunctionꢀ--ꢀTnAOCꢀandꢀTnAPOLꢀbitsꢀnotꢀused  
5.ꢀCCRPꢀdeterminesꢀtheꢀcounterꢀvalueꢀandꢀtheꢀcounterꢀhasꢀaꢀmaximumꢀcountꢀvalueꢀwhenꢀCCRPꢀisꢀ  
equalꢀtoꢀzero.  
Rev. 1.20  
113  
�ꢀꢁꢀst 10ꢂ 2012