Appendix A – Watchdog Timer Programming
62
3.5
” S
ub
co
mp
act
Bo
ard
G
ENE
-BT
04
VOID AaeonWDTEnable (){
WDTEnableDisable(1);
}
// Procedure : AaeonWDTConfig
VOID AaeonWDTConfig (byte Counter, BOOLEAN Unit){
// Disable WDT counting
WDTEnableDisable(0);
// Clear Watchdog Timeout Status
WDTClearTimeoutStatus();
// WDT relative parameter setting
WDTParameterSetting(Timer, Unit);
}
VOID WDTEnableDisable(byte Value){
If (Value == 1)
WDTSetBit(TimerReg, EnableBit, 1);
else
WDTSetBit(TimerReg, EnableBit, 0);
}
VOID WDTParameterSetting(byte Counter, BOOLEAN Unit){
// Watchdog Timer counter setting
WDTWriteByte(CounterReg, Counter);
// WDT counting unit setting
WDTSetBit(TimerReg, UnitBit, Unit);
// WDT output mode set to pulse
WDTSetBit(TimerReg, ModeBit, ModeVal);
// WDT output mode set to active low
WDTSetBit(TimerReg, PolarityBit, PolarityVal);
// WDT output pulse width is 25ms
WDTSetBit(TimerReg, PSWidthBit, PSWidthVal);
// Watchdog WDTRST# Enable
WDTSetBit(DevReg, WDTRstBit, WDTRstVal);
}
VOID WDTClearTimeoutStatus(){
WDTSetBit(TimerReg, StatusBit, 1);
}
*******************************************************************************
*******************************************************************************
Summary of Contents for GENE-BT04
Page 1: ...Last Updated November 9 2015 GENE BT04 3 5 Subcompact Board User s Manual 1st Ed...
Page 14: ...3 5 Subcompact Board GENE BT04 Chapter 1 Chapter 1 Product Specifications...
Page 17: ...3 5 Subcompact Board GENE BT04 Chapter 2 Chapter 2 Hardware Information...
Page 18: ...Chapter 2 Hardware Information 5 3 5 Subcompact Board GENE BT04 2 1 Dimensions Component Side...
Page 19: ...Chapter 2 Hardware Information 6 3 5 Subcompact Board GENE BT04 Solder Side...
Page 21: ...Chapter 2 Hardware Information 8 3 5 Subcompact Board GENE BT04 Solder Side...
Page 22: ...Chapter 2 Hardware Information 9 3 5 Subcompact Board GENE BT04 2 3 Block Diagram...
Page 39: ...3 5 Subcompact Board GENE BT04 Chapter 3 Chapter 3 AMI BIOS Setup...
Page 43: ...Chapter 3 AMI BIOS Setup 30 3 5 Subcompact Board GENE BT04 3 4 Setup submenu Advanced...
Page 49: ...Chapter 3 AMI BIOS Setup 36 3 5 Subcompact Board GENE BT04 3 4 3 Advanced H W Monitor...
Page 57: ...Chapter 3 AMI BIOS Setup 44 3 5 Subcompact Board GENE BT04 3 5 Setup Submenu Chipset...
Page 58: ...Chapter 3 AMI BIOS Setup 45 3 5 Subcompact Board GENE BT04 3 5 1 Chipset Host Bridge...
Page 60: ...Chapter 3 AMI BIOS Setup 47 3 5 Subcompact Board GENE BT04 3 5 2 Chipset South Bridge...
Page 68: ...Chapter 3 AMI BIOS Setup 55 3 5 Subcompact Board GENE BT04 3 8 Setup submenu Save Exit...
Page 69: ...3 5 Subcompact Board GENE BT04 Chapter 4 Chapter 4 Drivers Installation...
Page 72: ...3 5 Subcompact Board GENE BT04 Appendix A Appendix A Watchdog Timer Programming...
Page 77: ...3 5 Subcompact Board GENE BT04 Appendix B Appendix B I O Information...
Page 79: ...Appendix B I O Information 66 3 5 Subcompact Board GENE BT04...
Page 80: ...Appendix B I O Information 67 3 5 Subcompact Board GENE BT04 B 2 Memory Address Map...
Page 82: ...Appendix B I O Information 69 3 5 Subcompact Board GENE BT04...
Page 83: ...Appendix B I O Information 70 3 5 Subcompact Board GENE BT04...
Page 84: ...Appendix B I O Information 71 3 5 Subcompact Board GENE BT04...
Page 85: ...Appendix B I O Information 72 3 5 Subcompact Board GENE BT04...
Page 86: ...Appendix B I O Information 73 3 5 Subcompact Board GENE BT04...
Page 87: ...Appendix B I O Information 74 3 5 Subcompact Board GENE BT04...
Page 88: ...Appendix B I O Information 75 3 5 Subcompact Board GENE BT04...
Page 89: ...Appendix B I O Information 76 3 5 Subcompact Board GENE BT04...
Page 90: ...Appendix B I O Information 77 3 5 Subcompact Board GENE BT04...
Page 91: ...Appendix B I O Information 78 3 5 Subcompact Board GENE BT04...
Page 92: ...Appendix B I O Information 79 3 5 Subcompact Board GENE BT04...
Page 93: ...3 5 Subcompact Board GENE BT04 Appendix C Appendix C Mating Connectors...
Page 95: ...3 5 Subcompact Board GENE BT04 Appendix D Appendix D Electrical Specifications for I O Ports...
Page 97: ...3 5 Subcompact Board GENE BT04 Appendix E Appendix E Digital I O Ports...