43
TPC-31/61 User Manual
Appendix A
W
atchdog
Timer
P
rogramming
DebugMsg(CString("WDT driver fail"));
return;
}
DWORD dwTemp;
DWORD nIndex=2;
// Set the Watchdog Timer as 10 seconds. Number 2 means 10 seconds.
DeviceIoControl(m_hWDT, IOCTL_WDT_SET_TIMEOUT, &nIndex,
sizeof(nIndex), NULL, 0, &dwTemp, NULL);
// Enable the Watchdog timer
DeviceIoControl(m_hWDT, IOCTL_WDT_ENABLE, NULL, 0, NULL, 0, &dwTemp,
NULL);
While (1) {
// do your job here°¦
Sleep(8000);
DeviceIoControl(m_hWDT, IOCTL_WDT_STROBE, NULL,0,
NULL, 0, &dwTemp, NULL);
}
DeviceIoControl(m_hWDT, IOCTL_WDT_DISABLE, NULL, , NULL, 0, &dwTemp,
NULL);
CloseHandle(m_hWDT);
Содержание TPC-31
Страница 1: ...User Manual TPC 31 61 3 5 5 7 QVGA TFT LCD TI Cortex A8 Touch Panel Computer...
Страница 10: ...TPC 31 61 User Manual x...
Страница 17: ...Chapter 2 2 System Setup This chapter provides a brief explanation for operating the TPC 31 61...
Страница 20: ...TPC 31 61 User Manual 10...
Страница 21: ...Chapter 3 3 System Tuning Sections include LCD Contrast Tuning Touchscreen Calibration Buzzer Setting...
Страница 25: ...15 TPC 31 61 User Manual Chapter 3 System Tuning...
Страница 26: ...TPC 31 61 User Manual 16...
Страница 27: ...Chapter 4 4 Windows CE Sections include TPC Utilities Networking Application Program Develop ment...
Страница 48: ...TPC 31 61 User Manual 38...
Страница 49: ...Appendix A A Watchdog Timer Programming...
Страница 54: ...TPC 31 61 User Manual 44...
Страница 55: ...Appendix B B Fuse Specifications...
Страница 57: ...Appendix C C Pin Assignments...
Страница 59: ...Appendix D D Visual Settings...
Страница 64: ...TPC 31 61 User Manual 54...
Страница 65: ...Appendix E E TPC 31T 61T Update Guide...
Страница 68: ...TPC 31 61 User Manual 58 6 The Boot Loader version can be checked at system power on stage...
Страница 69: ...Appendix F F Jumper Dip Switch Setting List...
Страница 73: ...63 TPC 31 61 User Manual Appendix F Jumper Dip Switch Setting List...