| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
AN2017 bảng dữ liệu(PDF) 3 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2017 bảng dữ liệu(HTML) 3 Page - STMicroelectronics |
|
3 / 10 page ![]() 3/10 DIFFERENT WAYS TO RESET ST7 MICROCONTROLLER 2 INTERNAL WATCHDOG RESET The Watchdog timer is used to detect the occurrence of a software fault, usually generated by external interference or by unforeseen logical conditions, which cause the application program to abandon its normal sequence. The watchdog circuit generates an MCU reset on expiry of a programmed time period, unless the counter contents are refreshed. The hardware WDG selectable through option byte is on immediately after reset. The software WDG will have to be switched on through software. Both, once set on, can no longer be disa- bled. 2.1 WATCHDOG TIMER This is present in all ST7 devices except ST7FLite0. It is a programmable free-running down counter. The length of the timeout period can be programmed by the user in 64 increments by varying the counter stored in CR register. If the watchdog is activated (the WDGA bit is set) and when the 7-bit timer rolls over from 40h to 3Fh, it initiates a reset cycle pulling low reset pin for typically 30µs. The application program must regularly refresh the watchdog before its timeout period expires in order to prevent MCU reset. The WDGCR register must be written at regular intervals and the value stored in the register must be between FFh and C0h. 2.2 WATCHDOG (LITE TIMER) This Watchdog is present in ST7FLite0 for instance. The watchdog runs with the Lite Timer. The normal watchdog timeout period is 2msec (@8MHz FCPU) after which it generates a reset. A watchdog reset can be forced at any time provided that the watchdog is already ac- tive. To prevent a watchdog reset, software must set the WDGD bit before the timeout period has elapsed. |
|
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |