Pepper-computer Modular Computers RS485 Bedienungsanleitung Seite 60

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 320
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 59
SMART I/O User’s Manual
March 12, 1996
©1996 PEP Modular Computers GmbH
Page 2 - 20
Chapter 2 SMART-BASE
2.6.3 SMTsettout
Syntax
error_code SMTsettout(u_int8 mode);
Description
This function sets the timer output (TOUT) control.
Input
u_int8 mode
Two modes of TOUT control are available. They are:
MODE_PORTC
tout has the Simple I/O function.
MODE_SQUARE
tout toggles on counter zero.
When the timer is stopped, tout is high (see diagram).
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 = SMTsettout(MODE_SQUARE);
T
OUT
OFF
ON
Timer
Stop
t
The high state of TOUT illustrated in the above diagram shows that the
output is deactivated i.e. OFF. Only when TOUT is in the low state can a
load be driven.
Seitenansicht 59
1 2 ... 55 56 57 58 59 60 61 62 63 64 65 ... 319 320

Kommentare zu diesen Handbüchern

Keine Kommentare