參數(shù)資料
型號(hào): W77LE58P-25
廠(chǎng)商: WINBOND ELECTRONICS CORP
元件分類(lèi): 微控制器/微處理器
英文描述: 8 BIT MICROCONTROLLER
中文描述: 8-BIT, FLASH, 25 MHz, MICROCONTROLLER, PQCC44
封裝: PLASTIC, LCC-44
文件頁(yè)數(shù): 59/81頁(yè)
文件大?。?/td> 657K
代理商: W77LE58P-25
Preliminary W77LE58
Publication Release Date: August 1999
- 59 - Revision A1
16
WD1, WD0
00
01
10
11
Interrupt
Reset
Enable Watchdog timer reset
EWT(WDCON.1)
Reset Watchdog
RWT (WDCON.0)
0
17
19
20
22
23
25
Time-out
WDIF
WTRF
512 clock
delay
EWDI(EIE.4)
Clock Source
Mode input
div. by 4 osc/1
div. by 64 osc/16
div. by 1024 osc/256
Watchdog
Figure 19. Watchdog Timer
The Watchdog timer should first be restarted by using RWT. This ensures that the timer starts from a
known state. The RWT bit is used to restart the watchdog timer. This bit is self clearing, i.e. after
writing a 1 to this bit the software will automatically clear it. The watchdog timer will now count clock
cycles. The time-out interval is selected by the two bits WD1 and WD0 (CKCON.7 and CKCON.6).
When the selected time-out occurs, the Watchdog interrupt flag WDIF (WDCON.3) is set. After the
time-out has occurred, the watchdog timer waits for an additional 512 clock cycles. If the Watchdog
Reset EWT (WDCON.1) is enabled, then 512 clocks after the time-out, if there is no RWT, a system
reset due to Watchdog timer will occur. This will last for two machine cycles, and the Watchdog timer
reset flag WTRF (WDCON.2) will be set. This indicates to the software that the watchdog was the
cause of the reset.
When used as a simple timer, the reset and interrupt functions are disabled. The timer will set the
WDIF flag each time the timer completes the selected time interval. The WDIF flag is polled to detect
a time-out and the RWT allows software to restart the timer. The Watchdog timer can also be used as
a very long timer. The interrupt feature is enabled in this case. Every time the time-out occurs an
interrupt will occur if the global interrupt enable EA is set.
The main use of the Watchdog timer is as a system monitor. This is important in real-time control
applications. In case of some power glitches or electro-magnetic interference, the processor may
begin to execute errant code. If this is left unchecked the entire system may crash. Using the
watchdog timer interrupt during software development will allow the user to select ideal watchdog
reset locations. The code is first written without the watchdog interrupt or reset. Then the watchdog
interrupt is enabled to identify code locations where interrupt occurs. The user can now insert
instructions to reset the watchdog timer which will allow the code to run without any watchdog timer
interrupts. Now the watchdog timer reset is enabled and the watchdog interrupt may be disabled. If
any errant code is executed now, then the reset watchdog timer instructions will not be executed at
the required instants and watchdog reset will occur.
The watchdog time-out selection will result in different time-out values depending on the clock speed.
The reset, when enabled, will occur 512 clocks after the time-out has occurred.
相關(guān)PDF資料
PDF描述
W78151 8-BIT Microcontroller(8位的微控制器)
W78L51F-24 8-BIT MICROCONTROLLER
W78L51 8-BIT MICROCONTROLLER
W78L51-24 8-BIT MICROCONTROLLER
W78L51P-24 8-BIT MICROCONTROLLER
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
W77M032A 制造商:WINBOND 制造商全稱(chēng):Winbond 功能描述:8-BIT MICROCONTROLLER
W77M032A25DL 制造商:WINBOND 制造商全稱(chēng):Winbond 功能描述:8-BIT MICROCONTROLLER
W77M032A25FL 功能描述:IC MCU 8-BIT 1K SRAM 44-PQFP RoHS:是 類(lèi)別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:W77 標(biāo)準(zhǔn)包裝:60 系列:PSOC® 3 CY8C38xx 核心處理器:8051 芯體尺寸:8-位 速度:67MHz 連通性:EBI/EMI,I²C,LIN,SPI,UART/USART 外圍設(shè)備:電容感應(yīng),DMA,LCD,POR,PWM,WDT 輸入/輸出數(shù):25 程序存儲(chǔ)器容量:64KB(64K x 8) 程序存儲(chǔ)器類(lèi)型:閃存 EEPROM 大小:2K x 8 RAM 容量:8K x 8 電壓 - 電源 (Vcc/Vdd):1.71 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 2x20b,D/A 4x8b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:48-VFQFN 裸露焊盤(pán) 包裝:托盤(pán)
W77M032A25PL 制造商:WINBOND 制造商全稱(chēng):Winbond 功能描述:8-BIT MICROCONTROLLER
W780 制造商:LUMINIS 制造商全稱(chēng):LUMINIS 功能描述:Ceiling mount