
Appendix A
–
Watchdog Timer Programming
101
3.5
”
Su
bco
mp
act
Bo
ard
G
ENE
-BT
05
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
*********************************************************************
Summary of Contents for AAEON GENE-BT05
Page 1: ...Last Updated October 5 2021 GENE BT05 3 5 Subcompact Board User s Manual 10th Ed ...
Page 15: ...3 5 Subcompact Board GENE BT05 Chapter 1 Chapter 1 Product Specifications ...
Page 20: ...3 5 Subcompact Board GENE BT05 Chapter 2 Chapter 2 Hardware Information ...
Page 22: ...Chapter 2 Hardware Information 8 3 5 Subcompact Board GENE BT05 Standard Version Solder Side ...
Page 24: ...Chapter 2 Hardware Information 10 3 5 Subcompact Board GENE BT05 Advanced Version Solder Side ...
Page 26: ...Chapter 2 Hardware Information 12 3 5 Subcompact Board GENE BT05 Standard Version Solder Side ...
Page 28: ...Chapter 2 Hardware Information 14 3 5 Subcompact Board GENE BT05 Advanced Version Solder Side ...
Page 67: ...3 5 Subcompact Board GENE BT05 Chapter 3 Chapter 3 AMI BIOS Setup ...
Page 70: ...Chapter 3 AMI BIOS Setup 56 3 5 Subcompact Board GENE BT05 3 3 Setup Submenu Main ...
Page 71: ...Chapter 3 AMI BIOS Setup 57 3 5 Subcompact Board GENE BT05 3 4 Setup Submenu Advanced ...
Page 83: ...Chapter 3 AMI BIOS Setup 69 3 5 Subcompact Board GENE BT05 3 4 4 Hardware Monitor ...
Page 85: ...Chapter 3 AMI BIOS Setup 71 3 5 Subcompact Board GENE BT05 3 4 5 1 Socket 0 CPU Information ...
Page 93: ...Chapter 3 AMI BIOS Setup 79 3 5 Subcompact Board GENE BT05 3 5 Setup Submenu Chipset ...
Page 98: ...Chapter 3 AMI BIOS Setup 84 3 5 Subcompact Board GENE BT05 3 5 2 South Bridge ...
Page 104: ...Chapter 3 AMI BIOS Setup 90 3 5 Subcompact Board GENE BT05 3 8 Setup Submenu Save Exit ...
Page 105: ...3 5 Subcompact Board GENE BT05 Chapter 4 Chapter 4 Drivers Installation ...
Page 113: ...3 5 Subcompact Board GENE BT05 Appendix A Appendix A Watchdog Timer Programming ...
Page 118: ...3 5 Subcompact Board GENE BT05 Appendix B Appendix B I O Information ...
Page 119: ...Appendix B I O Information 105 3 5 Subcompact Board GENE BT05 B 1 I O Address Map ...
Page 120: ...Appendix B I O Information 106 3 5 Subcompact Board GENE BT05 B 2 Memory Address Map ...
Page 121: ...Appendix B I O Information 107 3 5 Subcompact Board GENE BT05 B 3 IRQ Mapping Chart ...
Page 122: ...Appendix B I O Information 108 3 5 Subcompact Board GENE BT05 ...
Page 123: ...Appendix B I O Information 109 3 5 Subcompact Board GENE BT05 ...
Page 124: ...Appendix B I O Information 110 3 5 Subcompact Board GENE BT05 B 4 DMA Channel Assignments ...
Page 125: ...3 5 Subcompact Board GENE BT05 Appendix C Appendix C Mating Connectors ...
Page 128: ...3 5 Subcompact Board GENE BT05 Appendix D Appendix D Electrical Specifications for I O Ports ...