Appendix A
–
Watchdog Timer Programming
103
3.5
”
Sub
co
m
pa
ct
Bo
ard
G
EN
E-
SK
U6
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.
AaeonWDTEnable();
}
*******************************************************************************
Содержание AAEON GENE-SKU6
Страница 1: ...Last Updated October 28 2021 GENE SKU6 3 5 Subcompact Board User s Manual 13th Ed ...
Страница 15: ...3 5 Subcompact Board GENE SKU6 Chapter 1 Chapter 1 Product Specifications ...
Страница 20: ...3 5 Subcompact Board GENE SKU6 Chapter 2 Chapter 2 Hardware Information ...
Страница 21: ...Chapter 2 Hardware Information 7 3 5 Subcompact Board GENE SKU6 2 1 Dimensions Component Side Component Side ...
Страница 22: ...Chapter 2 Hardware Information 8 3 5 Subcompact Board GENE SKU6 Solder Side with heat spreader Solder Side ...
Страница 23: ...Chapter 2 Hardware Information 9 3 5 Subcompact Board GENE SKU6 2 2 Jumpers and Connectors Component Side ...
Страница 70: ...Chapter 2 Hardware Information 56 3 5 Subcompact Board GENE SKU6 GENE SKU6 HSK02 Assembly ...
Страница 72: ...Chapter 2 Hardware Information 58 3 5 Subcompact Board GENE SKU6 GENE SKU6 FAN01 Assembly ...
Страница 73: ...Chapter 2 Hardware Information 59 3 5 Subcompact Board GENE SKU6 2 5 4 GENE SKU6 HSK03 Heatsink for DRAM ...
Страница 74: ...3 5 Subcompact Board GENE SKU6 Chapter 3 Chapter 3 AMI BIOS Setup ...
Страница 77: ...Chapter 3 AMI BIOS Setup 63 3 5 Subcompact Board GENE SKU6 3 3 Setup Submenu Main ...
Страница 78: ...Chapter 3 AMI BIOS Setup 64 3 5 Subcompact Board GENE SKU6 3 4 Setup Submenu Advanced ...
Страница 87: ...Chapter 3 AMI BIOS Setup 73 3 5 Subcompact Board GENE SKU6 3 4 5 SIO Configuration ...
Страница 97: ...Chapter 3 AMI BIOS Setup 83 3 5 Subcompact Board GENE SKU6 3 5 Setup Submenu Chipset ...
Страница 98: ...Chapter 3 AMI BIOS Setup 84 3 5 Subcompact Board GENE SKU6 3 5 1 System Agent SA Configuration ...
Страница 108: ...Chapter 3 AMI BIOS Setup 94 3 5 Subcompact Board GENE SKU6 3 8 Setup submenu Save Exit ...
Страница 109: ...3 5 Subcompact Board GENE SKU6 Chapter 4 Chapter 4 Drivers Installation ...
Страница 115: ...3 5 Subcompact Board GENE SKU6 Appendix A Appendix A Watchdog Timer Programming ...
Страница 120: ...3 5 Subcompact Board GENE SKU6 Appendix B Appendix B I O Information ...
Страница 121: ...Appendix B I O Information 107 3 5 Subcompact Board GENE SKU6 B 1 I O Address Map ...
Страница 122: ...Appendix B I O Information 108 3 5 Subcompact Board GENE SKU6 ...
Страница 123: ...Appendix B I O Information 109 3 5 Subcompact Board GENE SKU6 B 2 Memory Address Map ...
Страница 124: ...Appendix B I O Information 110 3 5 Subcompact Board GENE SKU6 B 3 IRQ Mapping Chart ...
Страница 125: ...Appendix B I O Information 111 3 5 Subcompact Board GENE SKU6 ...
Страница 126: ...Appendix B I O Information 112 3 5 Subcompact Board GENE SKU6 ...
Страница 127: ...Appendix B I O Information 113 3 5 Subcompact Board GENE SKU6 ...
Страница 128: ...Appendix B I O Information 114 3 5 Subcompact Board GENE SKU6 ...
Страница 129: ...Appendix B I O Information 115 3 5 Subcompact Board GENE SKU6 ...
Страница 130: ...Appendix B I O Information 116 3 5 Subcompact Board GENE SKU6 ...
Страница 131: ...Appendix B I O Information 117 3 5 Subcompact Board GENE SKU6 ...
Страница 132: ...Appendix B I O Information 118 3 5 Subcompact Board GENE SKU6 ...
Страница 133: ...Appendix B I O Information 119 3 5 Subcompact Board GENE SKU6 ...
Страница 134: ...Appendix B I O Information 120 3 5 Subcompact Board GENE SKU6 ...
Страница 135: ...3 5 Subcompact Board GENE SKU6 Appendix C Appendix C Electrical Specifications for I O Ports ...
Страница 137: ...3 5 Subcompact Board GENE SKU6 Appendix D Appendix D Digital I O Ports ...
Страница 144: ...3 5 Subcompact Board GENE SKU6 Appendix E Appendix E Mating Connectors and Cables ...