M u l t i - T o u c h P a n e l P C
A C P - 5 2 1 0
Appendix A Programming the Watchdog Timer
A-5
A.2 F81866 Watchdog Timer Initial Program
Main
(){
aaeonSuperIOOpen();
aaeonWdtSetCountMode(BOOL bMinute); // Set wdt count mode
aaeonWdtSetTimeoutCount(BYTE tTimeout); // Set wdt timer
aaeonWdtSetEnable(BOOL bEnable); // Enable wdt
aaeonSuperIOClose();
}
Void aaeonSuperIOOpen(){ // Config F81866 Entry key
aaeonioWritePortByte(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);
else
f81866WriteByte(F81866_WDT_CONTROL_REG, WDT_CONTROL & 0xF7);
}
Summary of Contents for ACP-5210
Page 29: ...Multi Touch Panel PC A C P 5 2 1 0 Chapter 3 AMI BIOS Setup 3 1 AMI BIOS Setup Chapter 3...
Page 37: ...Multi Touch Panel PC A C P 5 2 1 0 Chapter 3 AMI BIOS Setup 3 9 CPU Configuration...
Page 43: ...Multi Touch Panel PC A C P 5 2 1 0 Chapter 3 AMI BIOS Setup 3 15 F81866 H W Monitor...
Page 63: ...Multi Touch Panel PC A C P 5 2 1 0 Appendix B I O Information B 1 I O Information Appendix B...
Page 64: ...Multi Touch Panel PC A C P 5 2 1 0 Appendix B I O Information B 2 B 1 I O Address Map...
Page 65: ...Multi Touch Panel PC A C P 5 2 1 0 Appendix B I O Information B 3...
Page 68: ...Multi Touch Panel PC A C P 5 2 1 0 Appendix C Miscellanea C 1 Miscellanea Appendix C...
Page 77: ...Multi Touch Panel PC A C P 5 2 1 0 Appendix D AHCI Setting D 1 AHCI Setting Appendix D...
Page 80: ...Multi Touch Panel PC A C P 5 2 1 0 Appendix D AHCI Setting D 4 Step 5 Press F6 Step 6 Choose S...