Watchdog Timer Configuration - Intel IB850 User Manual

Socket 478 pentium 4 intel 875p chipset full size cpu card
Table of Contents

Advertisement

Watchdog Timer Configuration

The WDT is used to generate a variety of output signals after a user
programmable count. The WDT is suitable for use in the prevention of
system lock-up, such as when software becomes trapped in a deadlock.
Under these sort of circumstances, the timer will count to zero and the
selected outputs will be driven. Under normal circumstance, the user will
restart the WDT at regular intervals before the timer counts to zero.
SAMPLE CODE:
This code and information is provided "as is" without warranty of any
kind, either expressed or implied, including but not limited to the implied
warranties of merchantability and/or fitness for a particular purpose.
;[]================================================
; Name : Enable_And_Set_Watchdog
; IN
: AL - 1sec ~ 255sec
; OUT
: None
;[]================================================
Enable_And_Set_Watchdog Proc
push
call Unlock_Chip
mov
call Read_Reg
and
call Write_Reg
mov
mov
call Write_Reg
ax
;save time interval
cl, 2Bh
al, NOT 10h
;set GP24 as WDTO
cl, 07h
al, 08h
;switch to LD8
IB850 User's Manual
INSTALLATIONS
Near
29

Advertisement

Table of Contents
loading

Table of Contents