SMART I/O User's Manual
2.6.6 SMTrd
Syntax
error_code SMTrd(u_int32 *value);
Description
This function reads the actual timer count value.
A stable read value can only be achieved if the timer is not running. There-
fore, a read request to the running timer terminates with E_DEVBSY.
Input
u_int32 *value
Output
error_code
Example
RetVal = SMTrd(buffer);
Page 2 - 24
NOTE !
Pointer to a variable in which to place the read
value.
SUCCESS
E_DEVBSY
or standard OS-9 error code (refer to the OS-9
Technical Manual Error Codes Section).
©1996 PEP Modular Computers GmbH
Chapter 2 SMART-BASE
Timer is currently running
March 12, 1996
Need help?
Do you have a question about the Modular Computers RS485 and is the answer not in the manual?