| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
P87LPC779 bảng dữ liệu(PDF) 59 Page - NXP Semiconductors |
|
|
|||||||||||||||||||||||||||||
P87LPC779 bảng dữ liệu(HTML) 59 Page - NXP Semiconductors |
|
59 / 74 page ![]() Philips Semiconductors P87LPC779 CMOS single-chip 8-bit microcontroller Product data Rev. 02 — 03 May 2004 59 of 74 9397 750 13213 © Koninklijke Philips Electronics N.V. 2004. All rights reserved. 8.16.1 Watchdog feed sequence If the Watchdog timer is running, it must be fed before it times out in order to prevent a chip reset from occurring. The Watchdog feed sequence consists of first writing the value 1Eh, then the value E1h to the WDRST register. An example of a Watchdog feed sequence is shown below. WDFeed: mov WDRST,#1eh ; First part of Watchdog feed sequence. mov WDRST,#0e1h ; Second part of Watchdog feed sequence. The two writes to WDRST do not have to occur in consecutive instructions. An incorrect Watchdog feed sequence does not cause any immediate response from the Watchdog timer, which will still time out at the originally scheduled time if a correct feed sequence does not occur prior to that time. After a chip reset, the user program has a limited time in which to either feed the Watchdog timer or change the timeout period. When a low CPU clock frequency is used in the application, the number of instructions that can be executed before the Watchdog overflows may be quite small. 8.16.2 Watchdog reset If a Watchdog reset occurs, the internal reset is active for approximately one microsecond. If the CPU clock was still running, code execution will begin immediately after that. If the processor was in Power-down mode, the Watchdog reset will start the oscillator and code execution will resume after the oscillator is stable. Table 43: WDCON - Watchdog timer control register (address A7H) bit allocation Not bit addressable; Reset value: 30H for a Watchdog reset; 10H for other reset sources if the Watchdog is enabled via the WDTE configuration bit; 00H for other reset sources if the Watchdog is disabled via the WDTE configuration bit. Bit 7 6 5 4 3 2 1 0 Symbol - - WDOVF WDRUN WDCLK WDS2 WDS1 WDS0 Table 44: WDCON - Watchdog timer control register (address A7H) bit description Bit Symbol Description 7, 6 - Reserved for future use. Should not be set to ‘1’ by user programs. 5 WDOVF Watchdog timer overflow flag. Set when a Watchdog reset or timer overflow occurs. Cleared when the Watchdog is fed. 4 WDRUN Watchdog run control. The Watchdog timer is started when WDRUN = 1 and stopped when WDRUN = 0. This bit is forced to ‘1’ (Watchdog running) if the WDTE configuration bit = 1. 3 WDCLK Watchdog clock select. The Watchdog timer is clocked by CPU clock / 6 when WDCLK = 1 and by the Watchdog RC oscillator when WDCLK = 0. This bit is forced to ‘0’ (using the Watchdog RC oscillator) if the WDTE configuration bit = 1. 2-0 WDS2-0 Watchdog rate select. |
|
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 |