E P I C B o a r d
E P I C - K B 0 7
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 EPIC-KB07
Page 9: ...EPIC Board E P I C K B 0 7 Chapter 1 General Information 1 1 General Information Chapter 1...
Page 63: ...EPIC Board E P I C K B 0 7 Chapter 2 Quick Installation Guide 2 49 18 5V PWR 5V 19 HPLG_DETECT...
Page 65: ...EPIC Board E P I C K B 0 7 Chapter 3 AMI BIOS Setup 3 1 AMI BIOS Setup Chapter 3...
Page 72: ...EPIC Board E P I C K B 0 7 Chapter 3 AMI BIOS Setup 3 8 CPU Configuration...
Page 96: ...EPIC Board E P I C K B 0 7 Chapter 4 Driver Installation 4 1 Driver Installation Chapter 4...
Page 101: ...EPIC Board E P I C K B 0 7 Chapter 4 Driver Installation 4 6...
Page 102: ...EPIC Board E P I C K B 0 7 Chapter 4 Driver Installation 4 7...
Page 103: ...EPIC Board E P I C K B 0 7 Chapter 4 Driver Installation 4 8 For Windows 8...
Page 104: ...EPIC Board E P I C K B 0 7 Chapter 4 Driver Installation 4 9...
Page 114: ...EPIC Board E P I C K B 0 7 Appendix B I O Information B 1 I O Information Appendix B...
Page 115: ...EPIC Board E P I C K B 0 7 Appendix B I O Information B 2 B 1 I O Address Map...
Page 116: ...EPIC Board E P I C K B 0 7 Appendix B I O Information B 3...
Page 117: ...EPIC Board E P I C K B 0 7 Appendix B I O Information B 4 B 2 Memory Address Map...
Page 118: ...EPIC Board E P I C K B 0 7 Appendix B I O Information B 5 B 3 IRQ Mapping Chart...
Page 119: ...EPIC Board E P I C K B 0 7 Appendix B I O Information B 6...
Page 120: ...EPIC Board E P I C K B 0 7 Appendix B I O Information B 7...
Page 121: ...EPIC Board E P I C K B 0 7 Appendix B I O Information B 8 B 4 DMA Channel Assignments...
Page 122: ...EPIC Board E P I C K B 0 7 Appendix C Mating Connector C 1 Mating Connector Appendix C...
Page 128: ...EPIC Board E P I C K B 0 7 Appendix E DIO E 1 DIO Appendix E...
Page 130: ...EPIC Board E P I C K B 0 7 Appendix E DIO E 3...
Page 131: ...EPIC Board E P I C K B 0 7 Appendix E DIO E 4...