SMART I/O User's Manual
2.6.3 SMTsettout
Syntax
error_code SMTsettout(u_int8 mode);
Description
This function sets the timer output (TOUT) control.
Input
u_int8 mode
Output
error_code
Example
RetVal = SMTsettout(MODE_SQUARE);
T
OUT
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.
Page 2 - 20
Two modes of TOUT control are available. They are:
MODE_PORTC
MODE_SQUARE
When the timer is stopped, tout is high (see diagram).
SUCCESS
E_BMODE
or standard OS-9 error code (refer to the OS-9
Technical Manual Error Codes Section).
OFF
ON
©1996 PEP Modular Computers GmbH
Chapter 2 SMART-BASE
tout has the Simple I/O function.
tout toggles on counter zero.
Unsupported mode
Timer
Stop
t
March 12, 1996
Need help?
Do you have a question about the Modular Computers RS485 and is the answer not in the manual?