Appendix A
–
Watchdog Timer Programming
50
In
du
str
ial HM
I To
uc
h P
an
el
AHP
-11
54
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
*********************************************************************
Содержание AAEON AHP-1154
Страница 1: ...Last Updated February 24 2020 AHP 1154 Industrial HMI Touch Panel User s Manual 3rd Ed ...
Страница 13: ...Industrial HMI Touch Panel AHP 1154 Chapter 1 Chapter 1 Product Specifications ...
Страница 17: ...Industrial HMI Touch Panel AHP 1154 Chapter 2 Chapter 2 Hardware Information ...
Страница 23: ...Industrial HMI Touch Panel AHP 1154 Chapter 3 Chapter 3 AMI BIOS Setup ...
Страница 27: ...Chapter 3 AMI BIOS Setup 15 Industrial HMI Touch Panel AHP 1154 3 4 Setup Submenu Advanced ...
Страница 37: ...Chapter 3 AMI BIOS Setup 25 Industrial HMI Touch Panel AHP 1154 3 4 3 Advanced H W Monitor ...
Страница 44: ...Chapter 3 AMI BIOS Setup 32 Industrial HMI Touch Panel AHP 1154 3 5 Setup submenu Chipset ...
Страница 46: ...Chapter 3 AMI BIOS Setup 34 Industrial HMI Touch Panel AHP 1154 3 5 1 1 Host Bridge IGD LCD Control ...
Страница 51: ...Chapter 3 AMI BIOS Setup 39 Industrial HMI Touch Panel AHP 1154 3 8 Setup submenu Exit ...
Страница 52: ...Industrial HMI Touch Panel AHP 1154 Chapter 4 Chapter 4 Drivers Installation ...
Страница 55: ...Chapter 4 Driver Installation 43 Industrial HMI Touch Panel AHP 1154 2 Reboot and log in as administrator ...
Страница 56: ...Chapter 4 Driver Installation 44 Industrial HMI Touch Panel AHP 1154 3 Run patch bat as administrator ...
Страница 60: ...Industrial HMI Touch Panel AHP 1154 Appendix A Appendix A Watchdog Timer Programming ...
Страница 64: ...Industrial HMI Touch Panel AHP 1154 Appendix B Appendix B I O Information ...
Страница 65: ...Appendix B I O Information 53 Industrial HMI Touch Panel AHP 1154 B 1 I O Address Map ...
Страница 66: ...Appendix B I O Information 54 Industrial HMI Touch Panel AHP 1154 ...
Страница 67: ...Appendix B I O Information 55 Industrial HMI Touch Panel AHP 1154 B 2 Memory Address Map ...
Страница 68: ...Appendix B I O Information 56 Industrial HMI Touch Panel AHP 1154 B 3 IRQ Mapping Chart ...
Страница 69: ...Appendix B I O Information 57 Industrial HMI Touch Panel AHP 1154 ...
Страница 70: ...Appendix B I O Information 58 Industrial HMI Touch Panel AHP 1154 ...
Страница 71: ...Appendix B I O Information 59 Industrial HMI Touch Panel AHP 1154 ...
Страница 72: ...Appendix B I O Information 60 Industrial HMI Touch Panel AHP 1154 ...
Страница 73: ...Appendix B I O Information 61 Industrial HMI Touch Panel AHP 1154 ...
Страница 74: ...Industrial HMI Touch Panel AHP 1154 Appendix C Appendix C Mating Connectors ...
Страница 77: ...Industrial HMI Touch Panel AHP 1154 Appendix D Appendix D Electrical Specifications for I O Ports ...