TPC-1260H User Manual
54
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-1260H
Страница 1: ...TPC 1260H Crusoe 5800 Touch Panel Computer with High Luminance 12 1 SVGA TFT LCD Display User Manual...
Страница 20: ...TPC 1260H User Manual 8...
Страница 21: ...2 CHAPTER 2 System Setup This chapter provides a brief explana tion for operating TPC 1260H...
Страница 25: ...13 Chapter2 Figure 2 5 Touch Screen Calibration 1 Figure 2 6 Touch Screen Calibration 2...
Страница 26: ...TPC 1260H User Manual 14...
Страница 27: ...2 CHAPTER 3 System Engine...
Страница 55: ...2 APPENDIX A Serial Port Settings...
Страница 57: ...45 AppendixA Figure A 1 Device Manager Figure A 2 COM5 Properties...
Страница 58: ...TPC 1260H User Manual 46...
Страница 59: ...2 APPENDIX B Fuse Specifications...
Страница 61: ...2 APPENDIX C Watchdog Timer Programming...
Страница 68: ...TPC 1260H User Manual 56...
Страница 73: ...2 APPENDIX E HDD Kit Assembly...
Страница 77: ...65 AppendixE 6 Fasten the HDD cover with screws Figure E 7 Fasten the HDD cover Figure E 8 A complete HDD kit...
Страница 81: ...69 AppendixF Figure F 3 Install License Agreement Figure F 4 Install Completed...
Страница 84: ...TPC 1260H User Manual 72 Figure F 8 Standard Calibration 1 Figure F 9 Standard Calibration 2...
Страница 86: ...TPC 1260H User Manual 74 Figure F 11 Advanced Calibration 1 Figure F 12 Advanced Calibration 2...
Страница 90: ...TPC 1260H User Manual 78...