欢迎访问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文件第49页浏览型号BS85C20-5_12的Datasheet PDF文件第50页浏览型号BS85C20-5_12的Datasheet PDF文件第51页浏览型号BS85C20-5_12的Datasheet PDF文件第52页浏览型号BS85C20-5_12的Datasheet PDF文件第54页浏览型号BS85C20-5_12的Datasheet PDF文件第55页浏览型号BS85C20-5_12的Datasheet PDF文件第56页浏览型号BS85C20-5_12的Datasheet PDF文件第57页  
BS85B12-3/BS85C20-3/BS85C20-5  
Touch Key Flash MCU with LCD/LED Driver  
Watchdog Timer Operation  
InꢀtheseꢀdevicesꢀtheꢀWatchdogꢀTimerꢀsuppliedꢀbyꢀtheꢀfLIRCꢀoscillatorꢀandꢀisꢀthereforeꢀalwaysꢀon.ꢀTheꢀ  
WatchdogꢀTimerꢀoperatesꢀbyꢀprovidingꢀaꢀdeviceꢀresetꢀwhenꢀitsꢀtimerꢀoverflows.ꢀThisꢀmeansꢀthatꢀinꢀ  
theꢀapplicationꢀprogramꢀandꢀduringꢀnormalꢀoperationꢀtheꢀuserꢀhasꢀtoꢀstrategicallyꢀclearꢀtheꢀWatchdogꢀ  
TimerꢀbeforeꢀitꢀoverflowsꢀtoꢀpreventꢀtheꢀWatchdogꢀTimerꢀfromꢀexecutingꢀaꢀreset.ꢀThisꢀisꢀdoneꢀusingꢀ  
theꢀclearꢀwatchdogꢀinstructions.ꢀꢀIfꢀꢀtheꢀꢀprogramꢀꢀmalfunctionsꢀꢀforꢀꢀwhateverꢀreason,ꢀjumpsꢀtoꢀ  
anꢀunkownꢀlocation,ꢀorꢀentersꢀanꢀendlessꢀloop,ꢀtheseꢀclearꢀinstructionsꢀwillꢀnotꢀbeꢀexecutedꢀinꢀtheꢀ  
correctꢀmanner,ꢀinꢀwhichꢀcaseꢀtheꢀWatchdogꢀTimerꢀwillꢀoverflowꢀandꢀresetꢀtheꢀdevice.  
Underꢀnormalꢀprogramꢀoperation,ꢀaꢀWatchdogꢀTimerꢀtime-outꢀwillꢀinitialiseꢀaꢀdeviceꢀresetꢀandꢀsetꢀ  
theꢀstatusꢀbitꢀTO.ꢀHowever,ꢀifꢀtheꢀsystemꢀisꢀinꢀtheꢀSLEEPꢀorꢀIDLEꢀMode,ꢀwhenꢀaꢀWatchdogꢀTimerꢀ  
time-outꢀoccurs,ꢀtheꢀTOꢀbitꢀinꢀtheꢀstatusꢀregisterꢀwillꢀbeꢀsetꢀandꢀonlyꢀtheꢀProgramꢀCounterꢀandꢀStackꢀ  
Pointerꢀwillꢀbeꢀreset.ꢀThreeꢀmethodsꢀcanꢀbeꢀadoptedꢀtoꢀclearꢀtheꢀcontentsꢀofꢀtheꢀWatchdogꢀTimer.ꢀ  
Theꢀfirstꢀisꢀanꢀexternalꢀhardwareꢀreset,ꢀtheꢀsecondꢀisꢀusingꢀtheꢀWatchdogꢀTimerꢀsoftwareꢀclearꢀ  
instructionsꢀandꢀtheꢀthirdꢀisꢀviaꢀaꢀHALTinstruction.ꢀTheꢀWatchdogꢀTimerꢀisꢀclearedꢀusingꢀaꢀsingleꢀ  
CLRꢀWDTꢀinstruction.  
Theꢀmaximumꢀtimeꢀoutꢀperiodꢀisꢀwhenꢀtheꢀ215ꢀdivisionꢀratioꢀisꢀselected.ꢀAsꢀanꢀexample,ꢀwithꢀtheꢀ  
LIRCꢀoscillatorꢀasꢀitsꢀsourceꢀclock,ꢀthisꢀwillꢀgiveꢀaꢀmaximumꢀwatchdogꢀperiodꢀofꢀaroundꢀ1ꢀsecondꢀ  
forꢀtheꢀ215ꢀdivisionꢀratio,ꢀandꢀaꢀminimumꢀtimeoutꢀofꢀ7.8msꢀforꢀtheꢀ28ꢀdivisionꢀration.  
C
e
l
a
W
D
r
T
I
s
n
r
t
c
u
t
o
i
n
C
L
R
8
f
L
R
I
/
C
2
L
R
I
C
O
s
c
t
i
r
o
l
l
a
8
s
-
a
t
g
D
e
v
i
d
i
e
r
W
T
D
P
e
r
c
s
a
l
e
r
W
T
D
m
T
-
i
e
o
u
t
8
t
-
-
o
1
M
U
X
8
1
5
(
2
/
L
f
R
I
C
~
2
/
L
f
R
I
C
W
2
S
W
~
0
S
Watchdog Timer  
Rev. 1.20  
53  
�ꢀꢁꢀst 10ꢂ 2012