Appendix A
–
Watchdog Timer Programming
51
In
du
str
ial HM
I To
uc
h P
an
el
AHP
-11
54
*********************************************************************
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.
WDTSetBit(TimerReg, PSWidthBit, PSWidthVal);
// Watchdog WDTRST# Enable
WDTSetBit(DevReg, WDTRstBit, WDTRstVal);
}
VOID WDTClearTimeoutStatus(){
WDTSetBit(TimerReg, StatusBit, 1);
}
*********************************************************************
*********************************************************************
VOID WDTWriteByte(byte Register, byte Value){
IOWriteByte(Register, Value);
}
byte WDTReadByte(byte Register){
return IOReadByte(Register);
}
VOID WDTSetBit(byte Register, byte Bit, byte Val){
byte TmpValue;
TmpValue = WDTReadByte(Register);
TmpValue &= ~(1 << Bit);
TmpValue |= Val << Bit;
WDTWriteByte(Register, TmpValue);
}
*********************************************************************
Summary of Contents for AAEON AHP-1154
Page 1: ...Last Updated February 24 2020 AHP 1154 Industrial HMI Touch Panel User s Manual 3rd Ed ...
Page 13: ...Industrial HMI Touch Panel AHP 1154 Chapter 1 Chapter 1 Product Specifications ...
Page 17: ...Industrial HMI Touch Panel AHP 1154 Chapter 2 Chapter 2 Hardware Information ...
Page 23: ...Industrial HMI Touch Panel AHP 1154 Chapter 3 Chapter 3 AMI BIOS Setup ...
Page 27: ...Chapter 3 AMI BIOS Setup 15 Industrial HMI Touch Panel AHP 1154 3 4 Setup Submenu Advanced ...
Page 37: ...Chapter 3 AMI BIOS Setup 25 Industrial HMI Touch Panel AHP 1154 3 4 3 Advanced H W Monitor ...
Page 44: ...Chapter 3 AMI BIOS Setup 32 Industrial HMI Touch Panel AHP 1154 3 5 Setup submenu Chipset ...
Page 51: ...Chapter 3 AMI BIOS Setup 39 Industrial HMI Touch Panel AHP 1154 3 8 Setup submenu Exit ...
Page 52: ...Industrial HMI Touch Panel AHP 1154 Chapter 4 Chapter 4 Drivers Installation ...
Page 60: ...Industrial HMI Touch Panel AHP 1154 Appendix A Appendix A Watchdog Timer Programming ...
Page 64: ...Industrial HMI Touch Panel AHP 1154 Appendix B Appendix B I O Information ...
Page 65: ...Appendix B I O Information 53 Industrial HMI Touch Panel AHP 1154 B 1 I O Address Map ...
Page 66: ...Appendix B I O Information 54 Industrial HMI Touch Panel AHP 1154 ...
Page 67: ...Appendix B I O Information 55 Industrial HMI Touch Panel AHP 1154 B 2 Memory Address Map ...
Page 68: ...Appendix B I O Information 56 Industrial HMI Touch Panel AHP 1154 B 3 IRQ Mapping Chart ...
Page 69: ...Appendix B I O Information 57 Industrial HMI Touch Panel AHP 1154 ...
Page 70: ...Appendix B I O Information 58 Industrial HMI Touch Panel AHP 1154 ...
Page 71: ...Appendix B I O Information 59 Industrial HMI Touch Panel AHP 1154 ...
Page 72: ...Appendix B I O Information 60 Industrial HMI Touch Panel AHP 1154 ...
Page 73: ...Appendix B I O Information 61 Industrial HMI Touch Panel AHP 1154 ...
Page 74: ...Industrial HMI Touch Panel AHP 1154 Appendix C Appendix C Mating Connectors ...