M u l t i - T o u c h P a n e l P C A C P - 5 2 1 0Appendix A Programming the Watchdog Timer A-5A.2 F81866 Watchdog Timer Initial ProgramMain(){aaeonSuperIOOpen();aaeonWdtSetCountMode(BOOL bMinute); // Set wdt count modeaaeonWdtSetTimeoutCount(BYTE tTimeout); // Set wdt timeraaeonWdtSetEnable(BOOL bEnable); // Enable wdtaaeonSuperIOClose();}Void aaeonSuperIOOpen(){ // Config F81866 Entry keyaaeonioWritePortByte(F81866_INDEX, 0x87);aaeonioWritePortByte(F81866_INDEX, 0x87);}Void aaeonWdtSetCountMode(BOOL bMinute){BYTE WDT_CONTROL = f81866ReadByte(F81866_WDT_CONTROL_REG);if(bMinute)f81866WriteByte(F81866_WDT_CONTROL_REG, WDT_CONTROL | 0x08);elsef81866WriteByte(F81866_WDT_CONTROL_REG, WDT_CONTROL & 0xF7);}