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 mode
Output
error_code
Example
RetVal = SMTstasto(TMR_STRT);
March 12, 1996
Two modes are available. They are:
TMR_STRT
TMR_STOP
SUCCESS
E_BMODE
or standard OS-9 error code (refer to the OS-9
Technical Manual Error Codes Section).
©1996 PEP Modular Computers GmbH
SMART I/O User's Manual
Start timer
Stop timer
Unsupported mode
2
Page 2 - 23
Need help?
Do you have a question about the Modular Computers RS485 and is the answer not in the manual?