TPC-660G User Manual
52
C.3 Examples
#define WDT_CODE(ID)
CTL_CODE(FILE_DEVICE_UNKNOWN,ID,
METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_WDT_ENABLE WDT_CODE (0x900)
#define IOCTL_WDT_DISABLE WDT_CODE(0x901)
#define IOCTL_WDT_STROBE WDT_CODE(0x902)
#define IOCTL_WDT_GET_TIMEOUT WDT_CODE(0x903)
#define IOCTL_WDT_SET_TIMEOUT WDT_CODE(0x904)
#define IOCTL_WDT_REBOOT WDT_CODE(0x905)
// for compatibility reasons, you can define IOCTL as below:
// #define IOCTL_WDT_ENABLE 0x1001
// #define IOCTL_WDT_DISABLE 0x1002
// #define IOCTL_WDT_STROBE 0x1003
// #define IOCTL_WDT_GETTIMEOUT 0x1004
// #define IOCTL_WDT_SETTIMEOUT 0x1005
// #define IOCTL_WDT_REBOOT 0x1006
HANDLE m_hWDT=NULL;
TCHAR szClassName[60];
// assign the WDT driver name
wsprintf(szClassName, TEXT("WDT1:"));
// Open the WDT driver
m_hWDT = CreateFile(szClassName, GENERIC_READ
GENERIC_WRITE, 0, NULL, OPEN_EXISTING,
FILE_ATTRIBUTE_NORMAL, NULL);
if ( m_hWDT == INVALID_HANDLE_VALUE ) {
DebugMsg(CString("WDT driver fail"));
return;
}
DWORD dwTemp;
DWORD nIndex=2;
Содержание TPC-660G
Страница 1: ...TPC 660G AMD LX800 Touch Panel Computer with 6 4 VGA TFT LCD User Manual ...
Страница 10: ...TPC 660G User Manual x ...
Страница 16: ...TPC 660G User Manual 6 Figure 1 2 Panel Mounting 1 8 Exploded Diagram Figure 1 3 Assembly exploded ...
Страница 18: ...TPC 660G User Manual 8 ...
Страница 19: ...2 CHAPTER 2 System Setup This chapter provides a brief explana tion for operating TPC 660G ...
Страница 24: ...TPC 660G User Manual 14 ...
Страница 25: ...2 CHAPTER 3 System Engine ...
Страница 27: ...17 Chapter3 Figure 3 1 Main Board Connectors 1 Figure 3 2 Main Board Connectors 2 ...
Страница 28: ...TPC 660G User Manual 18 ...
Страница 32: ...TPC 660G User Manual 22 Figure 4 4 Update Wizard 2 Figure 4 5 Update Wizard 3 ...
Страница 33: ...23 Chapter4 Figure 4 6 Update Wizard 4 Figure 4 7 Update Wizard 5 ...
Страница 36: ...TPC 660G User Manual 26 Figure 4 12 Install Wizard 2 Figure 4 13 Install Wizard 3 ...
Страница 38: ...TPC 660G User Manual 28 ...
Страница 39: ...2 CHAPTER 5 Features in Windows XP Embedded Sections include EWF HORM Advantech Utilities ...
Страница 43: ...2 APPENDIX A Serial Port Settings ...
Страница 47: ...2 APPENDIX B Watchdog Timer Programming ...
Страница 57: ...2 APPENDIX C Watchdog Timer Programming on WinCE ...
Страница 64: ...TPC 660G User Manual 54 ...
Страница 71: ...61 AppendixE Figure E 3 Install Wizard 2 Figure E 4 Install Wizard 3 ...
Страница 74: ...TPC 660G User Manual 64 Figure E 8 Standard Calibration 2 Figure E 9 Standard Calibration 3 ...
Страница 76: ...TPC 660G User Manual 66 Figure E 11 Advanced Calibration 2 Figure E 12 Plot Calibration Data ...
Страница 79: ...2 APPENDIX F Fuse Specifications ...