13.07.2015 Views

NEX 607 User Manual - Nexcom

NEX 607 User Manual - Nexcom

NEX 607 User Manual - Nexcom

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Appendix A: Watchdog TimerAppendix A: Watchdog TimerWDT Programming Guide#define SUPERIO_PORT 0x2E#define WDT_SET 0x72#define WDT_VALUE 0x73void main(void){#Enter SuperIO Configurationoutportb(SUPERIO_PORT, 0x87);outportb(SUPERIO_PORT, 0x01);outportb(SUPERIO_PORT, 0x55);outportb(SUPERIO_PORT, 0x55);# Set LDNoutportb(SUPERIO_PORT, 0x07);outportb(SUPERIO_PORT+1 ,0x07);# Set WDT settingoutportb(SUPERIO_PORT, WDT_SET);outportb(SUPERIO_PORT+1, 0xC0); # Use the second# Use the minute, change value to 0x40# Set WDT sec/minoutportb(SUPERIO_PORT, WDT_VALUE);outportb(SUPERIO_PORT+1, 0x05); #Set 5 secondsCopyright © 2012 <strong>NEX</strong>COM International Co., Ltd. All Rights Reserved. 58 <strong>NEX</strong> <strong>607</strong> <strong>User</strong> <strong>Manual</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!