Appendix A – Watchdog Timer Programming
69
Fan
les
s E
mb
ed
ded
V
eh
icle
B
ox
PC
BO
XE
R-
6638U
************************************************************************************
// Procedure : AaeonWDTEnable
VOIDAaeonWDTEnable(){
WDTEnableDisable(EnableLDN, EnableReg, EnableBit, 1);
}
// Procedure : AaeonWDTConfig
VOIDAaeonWDTConfig (){
// 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-6638U
Page 1: ...Last Updated March 22 2016 BOXER 6638U Fanless Embedded Box PC User s Manual 1st Ed...
Page 13: ...Fanless Embedded Box PC BOXER 6638U Chapter 1 Chapter 1 Product Specifications...
Page 16: ...Fanless Embedded Box PC BOXER 6638U Chapter 2 Chapter 2 Hardware Information...
Page 31: ...Fanless Embedded Vehicle Box PC BOXER 6638U Chapter 3 Chapter 3 AMI BIOS Setup...
Page 46: ...Chapter 3 AMI BIOS Setup 34 Fanless Embedded Vehicle Box PC BOXER 6638U...
Page 67: ...Fanless Embedded Vehicle Box PC BOXER 6638U Chapter 4 Chapter 4 Drivers Installation...
Page 77: ...Fanless Embedded Vehicle Box PC BOXER 6638U Appendix A Appendix A Watchdog Timer Programming...
Page 83: ...Fanless Embedded Vehicle Box PC BOXER 6638U Appendix B Appendix B I O Information...
Page 84: ...Appendix B I O Information 72 Fanless Embedded Vehicle Box PC BOXER 6638U B 1 I O Address Map...
Page 85: ...Appendix B I O Information 73 Fanless Embedded Vehicle Box PC BOXER 6638U...
Page 88: ...Appendix B I O Information 76 Fanless Embedded Vehicle Box PC BOXER 6638U...
Page 89: ...Appendix B I O Information 77 Fanless Embedded Vehicle Box PC BOXER 6638U...
Page 90: ...Appendix B I O Information 78 Fanless Embedded Vehicle Box PC BOXER 6638U...
Page 91: ...Appendix B I O Information 79 Fanless Embedded Vehicle Box PC BOXER 6638U...
Page 92: ...Appendix B I O Information 80 Fanless Embedded Vehicle Box PC BOXER 6638U...
Page 93: ...Appendix B I O Information 81 Fanless Embedded Vehicle Box PC BOXER 6638U...
Page 94: ...Appendix B I O Information 82 Fanless Embedded Vehicle Box PC BOXER 6638U...