| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
SN8F27E64KB bảng dữ liệu(PDF) 86 Page - SONiX Technology Company |
|
|
|||||||||||||||||||||||||||||
SN8F27E64KB bảng dữ liệu(HTML) 86 Page - SONiX Technology Company |
|
86 / 192 page ![]() SN8F27E60 Series 8-Bit Flash Micro-Controller with Embedded ICE and ISP SONiX TECHNOLOGY CO., LTD Page 86 Version 1.4 8 8 8 TIMERS 8.1 WATCHDOG TIMER The watchdog timer (WDT) is a binary up counter designed for monitoring program execution. If the program goes into the unknown status by noise interference, watchdog timer overflow signal raises and resets MCU. Watchdog timer clock source is internal low-speed oscillator 16KHz RC type and through programmable pre-scaler controlled by WDT_CLK code option. Watchdog timer interval time = 256 * 1/ (Internal Low-Speed oscillator frequency/WDT Pre-scalar) …sec = 256 / (16KHz/WDT Pre-scaler) …sec Internal low-speed oscillator WDT pre-scaler Watchdog interval time Flosc=16KHz Flosc/4 256/(16000/4)=64ms Flosc/8 256/(16000/8)=128ms Flosc/16 256/(16000/16)=256ms Flosc/32 256/(16000/32)=512ms The watchdog timer has three operating options controlled “WatchDog” code option. Disable: Disable watchdog timer function. Enable: Enable watchdog timer function. Watchdog timer actives in normal mode and slow mode. In power down mode and green mode, the watchdog timer stops. Always_On: Enable watchdog timer function. The watchdog timer actives and not stop in power down mode and green mode. Note: In high noisy environment, the “Always_On” option of watchdog operations is the strongly recommendation to make the system reset under error situations and re-start again. Watchdog clear is controlled by WDTR register. Moving 0x5A data into WDTR is to reset watchdog timer. 096H Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 WDTR WDTR7 WDTR6 WDTR5 WDTR4 WDTR3 WDTR2 WDTR1 WDTR0 Read/Write W W W W W W W W After reset 0 0 0 0 0 0 0 0 Example: An operation of watchdog timer is as following. To clear the watchdog timer counter in the top of the main routine of the program. Main: MOV A, #5AH ; Clear the watchdog timer. B0MOV WDTR, A … CALL SUB1 CALL SUB2 … JMP MAIN |
|
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 |