Advantech TPC-1250H Bedienungsanleitung Seite 36

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 42
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 35
TPC-1250H User Manual 28
Appendix C Watchdog Timer Program-
ming on WinCE
There is a built-in watchdog timer in Windows CE 4.2 for TPC-1250H.
You can access it through the WIN32 API. TPC-1250H provides a WDT
driver to allow users to enable/disable the watchdog timer. The driver
name is “WDT1:”. Programmers must open this driver before using the
resources. Then programmers can use DeviceIOControl functions to
enable/disable the watchdog timer. The introduction below includes
DeviceIOControl, the definition of the parameter and an example.
C.1 DeviceIOControl
This function sends a control code directly to a specified device driver,
causing the corresponding device to perform the specified operation.
BOOL DeviceIoControl(
HANDLE hDevice,
DWORD dwIoControlCode,
LPVOID lpInBuffer,
DWORD nInBufferSize,
LPVOID lpOutBuffer,
DWORD nOutBufferSize,
LPDWORD lpBytesReturned,
LPOVERLAPPED lpOverlapped );
Seitenansicht 35
1 2 ... 31 32 33 34 35 36 37 38 39 40 41 42

Kommentare zu diesen Handbüchern

Keine Kommentare