Appendix A – Watchdog Timer Programming
66
Fan
les
s E
mb
ed
ded
Bo
x
PC
BO
XE
R-
6951
-A01
-1
01
0 /
3
2.1
84
0.9
21
-00
************************************************************************************
// 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-6951-A01-1010
Page 44: ...Fanless Embedded Box PC BOXER 6951 A01 1010 32 1840 921 00 Chapter 3 Chapter 3 AMI BIOS Setup...
Page 83: ...Appendix B I O Information 70 Fanless Embedded Box PC BOXER 6951 A01 1010 32 1840 921 00...
Page 86: ...Appendix B I O Information 73 Fanless Embedded Box PC BOXER 6951 A01 1010 32 1840 921 00...
Page 87: ...Appendix B I O Information 74 Fanless Embedded Box PC BOXER 6951 A01 1010 32 1840 921 00...