參數(shù)資料
型號: GMS81524BTLQ
廠商: Hynix Semiconductor Inc.
元件分類: 8位微控制器
英文描述: 8-BIT SINGLE-CHIP MICROCONTROLLERS
中文描述: 8位單晶片微控制器
文件頁數(shù): 70/110頁
文件大小: 1980K
代理商: GMS81524BTLQ
GMS81508B/16B/24B, GMS82512/16/24
MAY. 2001 Ver 2.0
67
17. WATCHDOG TIMER
The watchdog timer rapidly detects the CPU malfunction
such as endless looping caused by noise or the like, and re-
sumes the CPU to the normal state.
The watchdog timer signal for detecting malfunction can
be selected either a reset CPU or a interrupt request.
When the watchdog timer is not being used for malfunc-
tion detection, it can be used as a timer to generate an in-
terrupt at fixed intervals.
Figure 17-1 Block Diagram of Watchdog Timer
Watchdog Timer Control
Figure 17-2 shows the watchdog timer control register.
The watchdog timer is automatically disabled after reset.
The CPU malfunction is detected during setting of the de-
tection time, selecting of output, and clearing of the binary
counter. Clearing the binary counter is repeated within the
detection time.
If the malfunction occurs for any cause, the watchdog tim-
er output will become active at the rising overflow from
the binary counters unless the binary counter is cleared. At
this time, when WDTON=1, a reset is generated, which
drives the RESET pin to low to reset the internal hardware.
When WDTON=0, a watchdog timer interrupt (WDTIF) is
generated.
The watchdog timer temporarily stops counting in the
STOP mode, and when the STOP mode is released, it au-
tomatically restarts (continues counting).
Figure 17-2 WDTR: Watchdog Timer Data Register
to reset CPU
BASIC INTERVAL TIMER
OVERFLOW
Count source
enable
Watchdog
Counter (8-bit)
6-bit compare data
comparator
Watchdog Timer interrupt
clear
clear
WDTIF
WDTCL
“0”
“1”
WDTON in CKCTLR [0D3
H
]
Watchdog Timer
Register
WDTR
Internal bus line
6
[0E0
H
]
7
-
6
5
4
3
2
1
0
WDTCL
Clear count flag
0: Free-run count
1: When the WDTCL is set to “1”, binary counter
is cleared to “0”. And the WDTCL becomes “0” automatically
after one machine cycle. Counter count up again.
B
ADDRESS: 0E0
H
WDTR
W
W
W
W
6-bit compare data
W
W
W
W
NOTE:
The WDTON bit is in register CKCTLR.
相關(guān)PDF資料
PDF描述
GMS81524BTQ 8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS82512 8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81516BT [General Purpose(1) : ADC/ LED/ SCI/ PWM]
GMS81524B 8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81508BLQ 8-BIT SINGLE-CHIP MICROCONTROLLERS
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
GMS81524BTQ 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81604 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:LG Semicon 8-bit Microcontrollers
GMS81604K 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:LG Semicon 8-bit Microcontrollers
GMS81604PL 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:LG Semicon 8-bit Microcontrollers
GMS81608 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:LG Semicon 8-bit Microcontrollers