Appendix B: Watchdog Timer Setting - Nexcom IPPC 1560T Series User Manual

Industrial panel pc
Table of Contents

Advertisement

Appendix B: Watchdog Timer Setting

Appendix B: Watchdog Timer Setting
WatchDog Programming Guide
#define SUPERIO_PORT
0x2E
#define WDT_SET
0xF5
#define WDT_VALUE
0xF6
#define WDT_SET2
0xFA
void main(void)
{
# Enter SuperIO Configuration
outportb(SUPERIO_PORT, 0x87);
outportb(SUPERIO_PORT, 0x87);
# Set LDN
outportb(SUPERIO_PORT,0x07);
outportb(SUPERIO_PORT+1 ,0x07);
# clear WDT status
outportb(SUPERIO_PORT, WDT_SET
outportb(SUPERIO_PORT+1, 0x40)
outportb(SUPERIO_PORT, WDT_SET2
outportb(SUPERIO_PORT+1, 0xD1)
# Set WDT setting
outportb(SUPERIO_PORT, WDT_SET);
outportb(SUPERIO_PORT+1, 0x20);
# Set WDT sec/min
outportb(SUPERIO_PORT, WDT_VALUE);
outportb(SUPERIO_PORT+1, 0x05);
}
Copyright © 2015 NEXCOM International Co., Ltd. All Rights Reserved.
# Use the second to come down
# If choose the Minute, change value to 0x28
#Set 5 seconds
124
IPPC 1560T/1960T/2160P Series and APPC 1560T User Manual

Advertisement

Table of Contents
loading

Table of Contents