| 数据搜索系统,热门电子元器件搜索 |
|
ST6208CB3 数据表(PDF) 22 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST6208CB3 数据表(HTML) 22 Page - STMicroelectronics |
|
22 / 70 page ![]() 22/70 ST62T08C/T09C ST62T10C/T20C/E20C 3.3 DIGITAL WATCHDOG The digital Watchdog consists of a reloadable downcounter timer which can be used to provide controlled recovery from software upsets. The Watchdog circuit generates a Reset when the downcounter reaches zero. User software can prevent this reset by reloading the counter, and should therefore be written so that the counter is regularly reloaded while the user program runs correctly. In the event of a software mishap (usual- ly caused by externally generated interference), the user program will no longer behave in its usual fashion and the timer register will thus not be re- loaded periodically. Consequently the timer will decrement down to 00h and reset the MCU. In or- der to maximise the effectiveness of the Watchdog function, user software must be written with this concept in mind. Watchdog behaviour is governed by two options, known as “WATCHDOG ACTIVATION” (i.e. HARDWARE or SOFTWARE) and “EXTERNAL STOP MODE CONTROL” (see Table 6). In the SOFTWARE option, the Watchdog is disa- bled until bit C of the DWDR register has been set. When the Watchdog is disabled, low power Stop mode is available. Once activated, the Watchdog cannot be disabled, except by resetting the MCU. In the HARDWARE option, the Watchdog is per- manently enabled. Since the oscillator will run con- tinuously, low power mode is not available. The STOP instruction is interpreted as a WAIT instruc- tion, and the Watchdog continues to countdown. However, when the EXTERNAL STOP MODE CONTROL option has been selected low power consumption may be achieved in Stop Mode. Execution of the STOP instruction is then gov- erned by a secondary function associated with the NMI pin. If a STOP instruction is encountered when the NMI pin is low, it is interpreted as WAIT, as described above. If, however, the STOP in- struction is encountered when the NMI pin is high, the Watchdog counter is frozen and the CPU en- ters STOP mode. When the MCU exits STOP mode (i.e. when an in- terrupt is generated), the Watchdog resumes its activity. Table 6. Recommended Option Choices Functions Required Recommended Options Stop Mode & Watchdog “EXTERNAL STOP MODE” & “HARDWARE WATCHDOG” Stop Mode “SOFTWARE WATCHDOG” Watchdog “HARDWARE WATCHDOG” 110 |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |