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

ST2202A 参数 Datasheet PDF下载

ST2202A图片预览
型号: ST2202A
PDF下载: 下载PDF文件 查看货源
内容描述: 8位集成微控制器256K字节ROM [8 BIT Integrated Microcontroller with 256K Bytes ROM]
分类和应用: 微控制器
文件页数/大小: 75 页 / 2179 K
品牌: SITRONIX [ SITRONIX TECHNOLOGY CO., LTD. ]
 浏览型号ST2202A的Datasheet PDF文件第58页浏览型号ST2202A的Datasheet PDF文件第59页浏览型号ST2202A的Datasheet PDF文件第60页浏览型号ST2202A的Datasheet PDF文件第61页浏览型号ST2202A的Datasheet PDF文件第63页浏览型号ST2202A的Datasheet PDF文件第64页浏览型号ST2202A的Datasheet PDF文件第65页浏览型号ST2202A的Datasheet PDF文件第66页  
ST2202A  
21. WATCHDOG TIMER  
Theꢀwatchdogꢀtimerꢀ(WDT)ꢀisꢀanꢀaddedꢀcheckꢀthatꢀaꢀ  
programꢀisꢀrunningꢀandꢀsequencingꢀproperly.ꢀWhenꢀtheꢀ  
applicationꢀsoftwareꢀisꢀrunning,ꢀitꢀisꢀresponsibleꢀforꢀkeepingꢀ  
theꢀ2ꢁꢀorꢀ8ꢁsecondꢀwatchdogꢀtimerꢀfromꢀtimingꢀout.ꢀIfꢀtheꢀ  
watchdogꢀtimerꢀtimesꢀout,ꢀitꢀisꢀanꢀindicationꢀthatꢀtheꢀ  
softwareꢀisꢀnoꢀlongerꢀbeingꢀexecutedꢀinꢀtheꢀintendedꢀ  
sequence.ꢀAtꢀthisꢀtimeꢀtheꢀwatchdogꢀtimerꢀgeneratesꢀaꢀ  
resetꢀsignalꢀtoꢀtheꢀsystem.  
21.1 WDT Operations  
TheꢀWDTꢀisꢀenabledꢀbyꢀsettingꢀtheꢀWDTꢀenableꢀflagꢀ  
WDTENꢀ(MISC[3]).ꢀTwoꢀtimeꢀsettings,ꢀ2ꢀandꢀ8ꢀseconds,ꢀ  
areꢀselectableꢀwithꢀselectionꢀbitꢀWDTPSꢀ(MISC[2]).WDTꢀisꢀ  
clockedꢀbyꢀtheꢀ2Hzꢀclockꢀfromꢀtheꢀbaseꢀtimerꢀandꢀthereforeꢀ  
hasꢀ0.5ꢁsecondꢀresolution.ꢀItꢀisꢀrecommendedꢀthatꢀtheꢀ  
watchdogꢀtimerꢀbeꢀperiodicallyꢀclearedꢀbyꢀsoftwareꢀonceꢀitꢀ  
isꢀenabled.ꢀOtherwise,ꢀsoftwareꢀresetꢀwillꢀbeꢀgeneratedꢀ  
whenꢀtheꢀtimerꢀreachedꢀaꢀbinaryꢀvalueꢀofꢀ4ꢀorꢀ16.ꢀ  
Note:TheꢀWDTꢀcanꢀbeꢀresetꢀbyꢀwritingꢀanyꢀvalueꢀ  
toꢀMISCꢀregister.ꢀ  
Afterꢀaꢀsystemꢀreset,ꢀWDTENꢀisꢀcleared.ꢀThenꢀtheꢀ  
WDTꢀreturnsꢀtoꢀbeꢀidle.ꢀ  
TABLE 21-1 System Miscellaneous Register (MISC)  
Address Name R/W  
Bit 7  
Bit 6  
Bit 5  
Bit 4  
Bit 3  
Bit 2  
Bit 1  
Bit 0  
Default  
Rꢀ  
Wꢀ  
ꢁꢀ  
ꢁꢀ  
ꢁꢀ  
ꢁꢀ  
WDTENꢀ WDTPSꢀ TESTꢀ  
TESTꢀ ꢁꢀꢁꢀꢁꢀꢁꢀ0000ꢀ  
$038 MISC  
ResetꢀWDTꢀ  
Bitꢀ2:ꢀ ꢀ WDTPS :ꢀWDTꢀtimeꢁoutꢀtimeꢀselectionꢀbitꢀ  
ꢀ=ꢀ8ꢀsecondsꢀ  
0
1ꢀ=ꢀ2ꢀsecondsꢀ  
Bitꢀ3:ꢀ ꢀ WDTEN :ꢀWDTꢀcontrolꢀbitꢀ  
0
ꢀ=ꢀDisableꢀWDTꢀ  
1ꢀ=ꢀEnableꢀWDTꢀ  
Bitꢀ1~0:ꢀ ꢀ TEST:ꢀTheseꢀtwoꢀbitsꢀshouldꢀbeꢀbothꢀzeroꢀinꢀnormalꢀoperationꢀ  
Verꢀ2.5ꢀ  
62  
/
75  
9/16/2008ꢀ  
 复制成功!