欢迎访问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文件第79页浏览型号BS85C20-5_12的Datasheet PDF文件第80页浏览型号BS85C20-5_12的Datasheet PDF文件第81页浏览型号BS85C20-5_12的Datasheet PDF文件第82页浏览型号BS85C20-5_12的Datasheet PDF文件第84页浏览型号BS85C20-5_12的Datasheet PDF文件第85页浏览型号BS85C20-5_12的Datasheet PDF文件第86页浏览型号BS85C20-5_12的Datasheet PDF文件第87页  
BS85B12-3/BS85C20-3/BS85C20-5  
Touch Key Flash MCU with LCD/LED Driver  
Standard Type TM Register Description  
OverallꢀoperationꢀofꢀtheꢀStandardꢀTMꢀisꢀcontrolledꢀusingꢀaꢀseriesꢀofꢀregisters.ꢀAꢀreadꢀonlyꢀregisterꢀ  
pairꢀexistsꢀtoꢀstoreꢀtheꢀinternalꢀcounterꢀ10-bitꢀvalue,ꢀwhileꢀaꢀread/writeꢀregisterꢀpairꢀexistsꢀtoꢀstoreꢀ  
theꢀinternalꢀ10-bitꢀCCRAꢀvalue.ꢀTheꢀremainingꢀtwoꢀregistersꢀareꢀcontrolꢀregistersꢀwhichꢀsetupꢀtheꢀ  
differentꢀoperatingꢀandꢀcontrolꢀmodesꢀasꢀwellꢀasꢀtheꢀthreeꢀCCRPꢀbits.  
STM Register List  
Name  
TM2C0  
TM2C1  
TM2DL  
TM2DH  
TM2�L  
TM2�H  
Bit7  
T2P�U  
T2M1  
D7  
Bit6  
T2CK2  
T2M0  
D6  
Bit5  
T2CK1  
T2IO1  
D5  
Bit4  
T2CK0  
T2IO0  
D4  
Bit3  
T2ON  
T2OC  
D3  
Bit2  
T2RP2  
T2POL  
D2  
Bit1  
Bit0  
T2RP1  
T2RP0  
T2DPX T2CCLR  
D1  
D9  
D1  
D9  
D0  
D8  
D0  
D8  
D7  
D6  
D5  
D4  
D3  
D2  
10-bit Standard TM Register List  
TM2C0 Register  
Bit  
7
6
T2CK2  
R/W  
0
5
T2CK1  
R/W  
0
4
T2CK0  
R/W  
0
3
T2ON  
R/W  
0
2
T2RP2  
R/W  
0
1
T2RP1  
R/W  
0
0
T2RP0  
R/W  
0
Name  
R/W  
T2P�U  
R/W  
0
POR  
Bitꢀ7ꢀ  
T2PAU:ꢀTM2ꢀCounterꢀPauseꢀControlꢀ  
ꢀ 0:ꢀrunꢀ  
ꢀ 1:ꢀpause  
Theꢀcounterꢀcanꢀbeꢀpausedꢀbyꢀsettingꢀthisꢀbitꢀhigh.ꢀClearingꢀtheꢀbitꢀtoꢀzeroꢀrestoresꢀ  
normalꢀcounterꢀoperation.ꢀWhenꢀinꢀaꢀPauseꢀconditionꢀtheꢀTMꢀwillꢀremainꢀpoweredꢀupꢀ  
andꢀcontinueꢀtoꢀconsumeꢀpower.ꢀTheꢀcounterꢀwillꢀretainꢀitsꢀresidualꢀvalueꢀwhenꢀthisꢀbitꢀ  
changesꢀfromꢀlowꢀtoꢀhighꢀandꢀresumeꢀcountingꢀfromꢀthisꢀvalueꢀwhenꢀtheꢀbitꢀchangesꢀ  
toꢀaꢀlowꢀvalueꢀagain.  
Bitꢀ6~4ꢀ  
T2CK2~T2CK0:ꢀSelectꢀTM2ꢀCounterꢀclockꢀ  
ꢀ 000:ꢀfSYS/4ꢀ  
ꢀ 001:ꢀfSYS  
ꢀ 010:ꢀfH/16ꢀ  
ꢀ 011:ꢀfH/64ꢀ  
ꢀ 100:ꢀfTBC  
ꢀ 101:ꢀundefinedꢀ  
ꢀ 110:ꢀTCK2ꢀrisingꢀedgeꢀclockꢀ  
ꢀ 111:ꢀTCK2ꢀfallingꢀedgeꢀclock  
TheseꢀthreeꢀbitsꢀareꢀusedꢀtoꢀselectꢀtheꢀclockꢀsourceꢀforꢀtheꢀTM.ꢀSelectingꢀtheꢀReservedꢀ  
clockꢀinputꢀwillꢀeffectivelyꢀdisableꢀtheꢀinternalꢀcounter.ꢀTheꢀexternalꢀpinꢀclockꢀsourceꢀ  
canꢀbeꢀchosenꢀtoꢀbeꢀactiveꢀonꢀtheꢀrisingꢀorꢀfallingꢀedge.ꢀTheꢀclockꢀsourceꢀfSYSꢀisꢀtheꢀ  
systemꢀclock,ꢀwhileꢀfHꢀandꢀfTBCꢀareꢀotherꢀinternalꢀclocks,ꢀtheꢀdetailsꢀofꢀwhichꢀcanꢀbeꢀ  
foundꢀinꢀtheꢀoscillatorꢀsection.  
Bitꢀ3ꢀ  
T2ON:ꢀTM2ꢀCounterꢀOn/OffꢀControlꢀ  
ꢀ 0:ꢀOffꢀ  
ꢀ 1:ꢀOn  
Thisꢀbitꢀcontrolsꢀtheꢀoverallꢀon/offꢀfunctionꢀofꢀtheꢀTM.ꢀSettingꢀtheꢀbitꢀhighꢀenablesꢀtheꢀ  
counterꢀtoꢀrun,ꢀclearingꢀtheꢀbitꢀdisablesꢀtheꢀTM.ꢀClearingꢀthisꢀbitꢀtoꢀzeroꢀwillꢀstopꢀtheꢀ  
counterꢀfromꢀcountingꢀandꢀturnꢀoffꢀtheꢀTMꢀwhichꢀwillꢀreduceꢀitsꢀpowerꢀconsumption.ꢀ  
Whenꢀtheꢀbitꢀchangesꢀstateꢀfromꢀlowꢀtoꢀhighꢀtheꢀinternalꢀcounterꢀvalueꢀwillꢀbeꢀresetꢀtoꢀ  
zero,ꢀhoweverꢀwhenꢀtheꢀbitꢀchangesꢀfromꢀhighꢀtoꢀlow,ꢀtheꢀinternalꢀcounterꢀwillꢀretainꢀ  
itsꢀresidualꢀvalueꢀuntilꢀtheꢀbitꢀreturnsꢀhighꢀagain.  
Rev. 1.20  
83  
�ꢀꢁꢀst 10ꢂ 2012