E P I C B o a r d
E P I C - B D U 7
A.2 WatchDog Sample Program
******************************************************************************
// WDT I/O operation relative definition (Please reference to Table 1)
#define
WDTAddr 0x510 // WDT I/O base address
Void
WDTWriteByte(
byte
Register,
byte
Value);
byte
WDTReadByte(
byte
Register);
Void
WDTSetReg(
byte
Register,
byte
Bit,
byte
Val);
// Watch Dog relative definition (Please reference to Table 2)
#define
DevReg 0x00 // Device configuration register
#define
WDTRstBit 0x80 // Watchdog WDTRST# (Bit7)
#define
WDTRstVal 0x80 // Enabled WDTRST#
#define
TimerReg 0x05 // Timer register
#define
PSWidthBit 0x00 // WDTRST# Pulse width (Bit0:1)
#define
PSWidthVal 0x01 // 25ms for WDTRST# pulse
#define
PolarityBit 0x02 // WDTRST# Signal polarity (Bit2)
#define
PolarityVal 0x00 // Low active for WDTRST#
#define
UnitBit 0x03 // Unit for timer (Bit3)
#define
ModeBit 0x04 // WDTRST# mode (Bit4)
#define
ModeVal 0x01 // 0:level 1: pulse
#define
EnableBit 0x05 // WDT timer enable (Bit5)
#define
EnableVal 0x01 // 1: enable
#define
StatusBit 0x06 // WDT timer status (Bit6)
#define
CounterReg 0x06 // Timer counter register
*******************************************************************************
*******************************************************************************
VOID
Main
(){
// Procedure : AaeonWDTConfig
// (byte)Timer : Counter of WDT timer.(0x00~0xFF)
// (boolean)Unit : Select time unit(0: second, 1: minute).
AaeonWDTConfig(Counter, Unit);
// Procedure : AaeonWDTEnable
// This procudure will enable the WDT counting.
Appendix A Programming the Watchdog Timer
A-3
Содержание EPIC-BDU7
Страница 11: ...EPIC Board E P I C B D U 7 General Information Chapter 1 Chapter 1 General Information 1 1...
Страница 17: ...EPIC Board E P I C B D U 7 Chapter 2 Quick Installation Guide 2 1 Quick Installation Guide Chapter 2...
Страница 20: ...EPIC Board E P I C B D U 7 Chapter 2 Quick Installation Guide 2 4 With Heat Spreader...
Страница 21: ...EPIC Board E P I C B D U 7 Chapter 2 Quick Installation Guide 2 5 Solder Side Solder Side With Heat Spreader...
Страница 73: ...EPIC Board E P I C B D U 7 AMI BIOS Setup Chapter 3 Chapter 3 AMI BIOS Setup 3 1...
Страница 101: ...EPIC Board E P I C B D U 7 Enable Disable USB Mass Storage Driver Support Chapter 3 AMI BIOS Setup 3 29...
Страница 103: ...EPIC Board E P I C B D U 7 Set GPIO Level when used as Output Chapter 3 AMI BIOS Setup 3 31...
Страница 111: ...EPIC Board E P I C B D U 7 70 80 90 100 Select Backlight Level Chapter 3 AMI BIOS Setup 3 39...
Страница 117: ...EPIC Board E P I C B D U 7 The order of boot priorities Chapter 3 AMI BIOS Setup 3 45...
Страница 121: ...EPIC Board E P I C B D U 7 Driver Installation Chapter 4 Chapter 4 Driver Installation 4 1...
Страница 126: ...EPIC Board E P I C B D U 7 Chapter 4 Driver Installation 4 6...
Страница 127: ...EPIC Board E P I C B D U 7 2 Reboot and log in as administrator Chapter 4 Driver Installation 4 7...
Страница 128: ...EPIC Board E P I C B D U 7 3 Run patch bat as administrator Chapter 4 Driver Installation 4 8...
Страница 132: ...EPIC Board E P I C B D U 7 Programming the Watchdog Timer Appendix A Appendix A Programming the Watchdog Timer A 1...
Страница 137: ...EPIC Board E P I C B D U 7 I O Information Appendix B Appendix B I O Information B 1...
Страница 138: ...EPIC Board E P I C B D U 7 B 1 I O Address Map Appendix B I O Information B 2...
Страница 139: ...EPIC Board E P I C B D U 7 Appendix B I O Information B 3...
Страница 140: ...EPIC Board E P I C B D U 7 B 2 Memory Address Map Appendix B I O Information B 4...
Страница 141: ...EPIC Board E P I C B D U 7 B 3 IRQ Mapping Chart Appendix B I O Information B 5...
Страница 142: ...EPIC Board E P I C B D U 7 Appendix B I O Information B 6...
Страница 143: ...EPIC Board E P I C B D U 7 Appendix B I O Information B 7...
Страница 144: ...EPIC Board E P I C B D U 7 Appendix B I O Information B 8...
Страница 145: ...EPIC Board E P I C B D U 7 Appendix B I O Information B 9...
Страница 146: ...EPIC Board E P I C B D U 7 Appendix B I O Information B 10...
Страница 147: ...EPIC Board E P I C B D U 7 Appendix B I O Information B 11...
Страница 148: ...EPIC Board E P I C B D U 7 Appendix B I O Information B 12...
Страница 149: ...EPIC Board E P I C B D U 7 Appendix B I O Information B 13...
Страница 150: ...EPIC Board E P I C B D U 7 Appendix B I O Information B 14...
Страница 151: ...EPIC Board E P I C B D U 7 Appendix B I O Information B 15...
Страница 152: ...EPIC Board E P I C B D U 7 Appendix B I O Information B 16...
Страница 153: ...EPIC Board E P I C B D U 7 B 4 DMA Channel Assignments Appendix B I O Information B 17...
Страница 154: ...EPIC Board E P I C B D U 7 Mating Connectors Appendix C Appendix C Mating Connector C 1...
Страница 160: ...EPIC Board E P I C B D U 7 Digital I O Ports Appendix E Appendix E Digital I O Ports E 1...