EasyManua.ls Logo

PEP Modular Computers Modular Computers RS485 - Smtrd

Default Icon
320 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SMART I/O Users Manual
March 12, 1996
©1996 PEP Modular Computers GmbH
Page 2 - 24
Chapter 2 SMART-BASE
2.6.6 SMTrd
Syntax
error_code SMTrd(u_int32 *value);
Description
This function reads the actual timer count value.
NOTE !
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
Pointer to a variable in which to place the read
value.
Output
error_code SUCCESS
E_DEVBSY
Timer is currently running
or standard OS-9 error code (refer to the OS-9
Technical Manual Error Codes Section).
Example
RetVal = SMTrd(buffer);

Table of Contents