Copyright © 2015 NEXCOM International Co., Ltd. All Rights Reserved.
71
NISE 3720E Series User Manual
Appendix C: Watchdog Timer Setting
a
PPendIx
C: w
atChdoG
t
Imer
s
ettInG
ITE8786 WatchDog Programming Guide
#define Superio_Port
0x2E
#define Superio_LDN
0x07
;*Enter the MB PnP mode with 0x87, 0x01, 0x55, 0x55
outportb(Superio_Port, 0x87);
outportb(Superio_Port, 0x01);
outportb(Superio_Port, 0x55);
outportb(Superio_Port, 0x55);
;*Set LDN=0x07 point to the WDT function
outportb(Superio_Port, Superio_LDN);
outportb(Super1, 0x07);
;*Setup configuration register 0x72, if set 90h is second, set 10h is minute(WDT output through PWRGD)
outportb(Superio_Port, 0x72);
outportb(Super1, 0x90);
;*Setup WDT time-out value. this demo code is used to program the time-out value with 4 sec.
outportb(Superio_Port, 0x73);
outportb(Super1, 0x04);
;*Exit the MB PnP Mode
outportb(Superio_Port, 0x02);
outportb(Super1, 0x02);