Appendix B: Watchdog Timer Setting - Nexcom EBC 357X Series User Manual

Embedded computing (3.5” cpu board)
Table of Contents

Advertisement

Appendix B: Watchdog Timer Setting

a
B: W
PPendIx
ITE8786 Watchdog Programming Guide
#define SUPERIO_PORT
0x2E
#define WDT_SET
0x72
#define WDT_VALUE
0x73
void main(void)
{
#Enter SuperIO Configuration
outportb(SUPERIO_PORT, 0x87);
outportb(SUPERIO_PORT, 0x01);
outportb(SUPERIO_PORT, 0x55);
outportb(SUPERIO_PORT, 0x55);
# Set LDN
outportb(SUPERIO_PORT, 0x07);
outportb(SUPERIO_PORT+1 ,0x07);
# Set WDT setting
outportb(SUPERIO_PORT, WDT_SET);
outportb(SUPERIO_PORT+1, 0x90);
# Set WDT sec/min
outportb(SUPERIO_PORT, WDT_VALUE);
outportb(SUPERIO_PORT+1, 0x05);
}
Copyright © 2016 NEXCOM International Co., Ltd. All Rights Reserved.
t
atChdoG
Imer
# Use the second
# Use the minute, change value to 0x10
#Set 5 seconds
s
ettInG
71
EBC 357X User Manual

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ebc 357x-e3950Ebc 357x-e3930

Table of Contents