Appendix A – Watchdog Timer Programming
71
Pico
-IT
X Bo
ar
d
PIC
O
-B
T0
1
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
*******************************************************************************
*******************************************************************************
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();
}
*******************************************************************************
*******************************************************************************
// Procedure : AaeonWDTEnable
Содержание PICO-BT01
Страница 1: ...Last Updated January 18 2018 PICO BT01 Pico ITX Board User s Manual 6th Ed...
Страница 14: ...Pico ITX Board PICO BT01 Chapter 1 Chapter 1 Product Specifications...
Страница 17: ...Pico ITX Board PICO BT01 Chapter 2 Chapter 2 Hardware Information...
Страница 19: ...Chapter 2 Hardware Information 6 Pico ITX Board PICO BT01 Solder Side Solder Side...
Страница 20: ...Chapter 2 Hardware Information 7 Pico ITX Board PICO BT01 Heat Spreader...
Страница 21: ...Chapter 2 Hardware Information 8 Pico ITX Board PICO BT01 A A A A B B B B B B...
Страница 22: ...Chapter 2 Hardware Information 9 Pico ITX Board PICO BT01...
Страница 24: ...Chapter 2 Hardware Information 11 Pico ITX Board PICO BT01 Solder Side Solder Side...
Страница 49: ...Pico ITX Board PICO BT01 Chapter 3 Chapter 3 AMI BIOS Setup...
Страница 52: ...Chapter 3 AMI BIOS Setup 39 Pico ITX Board PICO BT01 3 3 Setup Submenu Main Press Delete to enter Setup...
Страница 53: ...Chapter 3 AMI BIOS Setup 40 Pico ITX Board PICO BT01 3 4 Setup Submenu Advanced...
Страница 56: ...Chapter 3 AMI BIOS Setup 43 Pico ITX Board PICO BT01 3 4 2 Advanced F81801 Super IO Configuration...
Страница 57: ...Chapter 3 AMI BIOS Setup 44 Pico ITX Board PICO BT01 3 4 2 1 Super IO Configuration Serial Port 1 Configuration...
Страница 60: ...Chapter 3 AMI BIOS Setup 47 Pico ITX Board PICO BT01 3 4 3 Advanced Hardware Monitor...
Страница 62: ...Chapter 3 AMI BIOS Setup 49 Pico ITX Board PICO BT01 3 4 4 1 CPU Configuration Socket 0 CPU Information...
Страница 68: ...Chapter 3 AMI BIOS Setup 55 Pico ITX Board PICO BT01 3 5 Setup submenu Chipset...
Страница 73: ...Chapter 3 AMI BIOS Setup 60 Pico ITX Board PICO BT01 3 5 2 2 South Bridge USB Configuration...
Страница 78: ...Chapter 3 AMI BIOS Setup 65 Pico ITX Board PICO BT01 3 8 Setup submenu Save Exit...
Страница 79: ...Pico ITX Board PICO BT01 Chapter 4 Chapter 4 Drivers Installation...
Страница 82: ...Pico ITX Board PICO BT01 Appendix A Appendix A Watchdog Timer Programming...
Страница 87: ...Pico ITX Board PICO BT01 Appendix B Appendix B I O Information...
Страница 88: ...Appendix B I O Information 75 Pico ITX Board PICO BT01 B 1 I O Address Map...
Страница 89: ...Appendix B I O Information 76 Pico ITX Board PICO BT01 B 2 Memory Address Map...
Страница 90: ...Appendix B I O Information 77 Pico ITX Board PICO BT01 B 3 IRQ Mapping Chart...
Страница 91: ...Appendix B I O Information 78 Pico ITX Board PICO BT01...
Страница 92: ...Appendix B I O Information 79 Pico ITX Board PICO BT01...
Страница 93: ...Appendix B I O Information 80 Pico ITX Board PICO BT01...
Страница 94: ...Appendix B I O Information 81 Pico ITX Board PICO BT01...
Страница 95: ...Appendix B I O Information 82 Pico ITX Board PICO BT01...
Страница 96: ...Appendix B I O Information 83 Pico ITX Board PICO BT01...
Страница 97: ...Appendix B I O Information 84 Pico ITX Board PICO BT01...
Страница 98: ...Appendix B I O Information 85 Pico ITX Board PICO BT01...
Страница 99: ...Appendix B I O Information 86 Pico ITX Board PICO BT01...
Страница 100: ...Appendix B I O Information 87 Pico ITX Board PICO BT01...
Страница 101: ...Appendix B I O Information 88 Pico ITX Board PICO BT01...
Страница 102: ...Pico ITX Board PICO BT01 Appendix C Appendix C Electrical Specifications for I O Ports...
Страница 104: ...Pico ITX Board PICO BT01 Appendix D Appendix D Mating Connectors...