E m b e d d e d C o n t r o l l e r
A E C - 6 6 1 4
A.2
Watchdog Sample Program
*********************************************************************// WDT I/O
operation relative definition (Please reference to Table 1)
#define
WDTAddr 0xA00 // 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
*********************************************************************
Appendix A Programming the Watchdog Timer
A-4
Summary of Contents for BOXER-6614
Page 23: ...Embedded Controller B O X E R 6 6 1 4 Chapter 2 Hardware Installation 2 8 Solder Side...
Page 69: ...Embedded Controller B O X E R 6 6 1 4 AMI BIOS Setup Chapter 3 Chapter 3 Award BIOS Setup 3 1...
Page 73: ...Embedded Controller B O X E R 6 6 1 4 Advanced Chapter 3 Award BIOS Setup 3 5...
Page 88: ...Embedded Controller B O X E R 6 6 1 4 Advanced CSM Configuration Chapter 3 AMI BIOS Setup 3 20...
Page 92: ...Embedded Controller B O X E R 6 6 1 4 Chipset Host Bridge Chapter 3 AMI BIOS Setup 3 24...
Page 93: ...Embedded Controller B O X E R 6 6 1 4 Chipset South Bridge Chapter 3 Award BIOS Setup 3 25...
Page 95: ...Embedded Controller B O X E R 6 6 1 4 Chapter 3 Award BIOS Setup 3 27...
Page 111: ...Embedded Controller A E C 6 6 1 4 I O Information Appendix B Appendix B I O Information B 1...
Page 112: ...Embedded Controller A E C 6 6 1 4 B 1 I O Address Map Appendix B I O Information B 2...
Page 113: ...Embedded Controller A E C 6 6 1 4 B 2 Memory Address Map Appendix B I O Information B 3...
Page 114: ...Embedded Controller A E C 6 6 1 4 B 3 IRQ Mapping Chart Appendix B I O Information B 4...
Page 115: ...Embedded Controller A E C 6 6 1 4 Appendix B I O Information B 5...
Page 116: ...Embedded Controller A E C 6 6 1 4 B 4 DMA Channel Assignments Appendix B I O Information B 6...