Appendix A – Watchdog Timer Programming
88
Fan
les
s E
mb
ed
ded
Bo
x
PC
BO
XE
R-
6652
*
***********************************************************************************
// Procedure : AaeonWDTEnable
VOID AaeonWDTEnable (){
WDTEnableDisable(EnableLDN, EnableReg, EnableBit, 1);
}
// Procedure : AaeonWDTConfig
VOID AaeonWDTConfig (){
// Disable WDT counting
WDTEnableDisable(EnableLDN, EnableReg, EnableBit, 0);
// Clear Watchdog Timeout Status
WDTClearTimeoutStatus();
// WDT relative parameter setting
WDTParameterSetting();
}
VOID WDTEnableDisable(byte LDN, byte Register, byte BitNum, byte Value){
SIOBitSet(LDN, Register, BitNum, Value);
}
VOID WDTParameterSetting(){
// Watchdog Timer counter setting
SIOByteSet(TimerLDN, TimerReg, TimerVal);
// WDT counting unit setting
SIOBitSet(UnitLDN, UnitReg, UnitBit, UnitVal);
// WDT output mode setting, level / pulse
SIOBitSet(ModeLDN, ModeReg, ModeBit, ModeVal);
// Watchdog timeout output via WDTRST#
SIOBitSet(WDTRstLDN, WDTRstReg, WDTRstBit, WDTRstVal);
}
VOID WDTClearTimeoutStatus(){
SIOBitSet(StatusLDN, StatusReg, StatusBit, 1);
}
************************************************************************************
Summary of Contents for BOXER-6652
Page 64: ...Fanless Embedded Box PC BOXER 6652 Chapter 3 Chapter 3 AMI BIOS Setup www texim europe com...
Page 104: ...Fanless Embedded Box PC BOXER 6652 Appendix B Appendix B I O Information www texim europe com...
Page 106: ...Appendix B I O Information 92 Fanless Embedded Box PC BOXER 6652 www texim europe com...
Page 109: ...Appendix B I O Information 95 Fanless Embedded Box PC BOXER 6652 www texim europe com...
Page 110: ...Appendix B I O Information 96 Fanless Embedded Box PC BOXER 6652 www texim europe com...
Page 111: ...Appendix B I O Information 97 Fanless Embedded Box PC BOXER 6652 www texim europe com...
Page 112: ...Appendix B I O Information 98 Fanless Embedded Box PC BOXER 6652 www texim europe com...
Page 113: ...Appendix B I O Information 99 Fanless Embedded Box PC BOXER 6652 www texim europe com...
Page 114: ...Appendix B I O Information 100 Fanless Embedded Box PC BOXER 6652 www texim europe com...
Page 115: ...Appendix B I O Information 101 Fanless Embedded Box PC BOXER 6652 www texim europe com...
Page 116: ...Appendix B I O Information 102 Fanless Embedded Box PC BOXER 6652 www texim europe com...
Page 117: ...Appendix B I O Information 103 Fanless Embedded Box PC BOXER 6652 www texim europe com...