Copyright © 2017 NEXCOM International Co., Ltd. All Rights Reserved.
45
NIFE 103 User Manual
Appendix B: Watchdog Timer Programming Reference
a
PPendIx
B: w
atChdog
t
Imer
P
rogrammIng
r
eferenCe
WatchDog Programming Guide
#define NCT7904D_SLAVEADDRESS 0x5A
#define SMBUS_BASE_ADDRESS 0xE000
;SmbusWriteByte, Please refer to Smbus Write Byte Protocol
SmbusWriteByte(0xFF,0x00);
;enable Soft Watch Dog
SmbusWriteByte(0xE1,0x01);
;Setup WDT time-out value, the unit is minute. this demo code is used to program the time-out value with 1 min.
SmbusWriteByte(0xE3,0x01);
;enable Soft Watch Dog Timer
SmbusWriteByte(0xE0,0x55);