
SMART I/O User’s Manual | Chapter 2 | |||
|
|
|
|
|
|
|
|
|
|
2.6.6SMTrd
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 | Pointer to a variable in which to place the read |
u_int32 *value | |
| value. |
Output |
|
error_code
Example
SUCCESS
E_DEVBSY Timer is currently running or standard
RetVal = SMTrd(buffer);
|
|
|
|
Page | 2 - 24 | ©1996 PEP Modular Computers GmbH | March 12, 1996 |
|
|
|