Pepper-computer Modular Computers RS485 Bedienungsanleitung Seite 63

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 320
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 62
SMART I/O Users Manual
©1996 PEP Modular Computers GmbHMarch 12, 1996 Page 2 - 23
2
Chapter 2 SMART-BASE
2.6.5 SMTstasto
Syntax
error_code SMTstasto(u_int8 mode);
Description
This function starts / stops the timer; the zero-detect control bit is set at the
start; the counter rolls over on reaching zero or is loaded with the value set
in the preload register and continues counting down.
Input
u_int8 mod
e Two modes are available. They are:
TMR_STRT
Start timer
TMR_STOP
Stop timer
Output
error_code SUCCESS
E_BMODE
Unsupported mode
or standard OS-9 error code (refer to the OS-9
Technical Manual Error Codes Section).
Example
RetVal = SMTstasto(TMR_STRT);
Seitenansicht 62
1 2 ... 58 59 60 61 62 63 64 65 66 67 68 ... 319 320

Kommentare zu diesen Handbüchern

Keine Kommentare