Pepper Computer RS232 Network Card User Manual


 
SMART I/O User’s Manual
©1996 PEP Modular Computers GmbHMarch 12, 1996 Page 2 - 21
2
Chapter 2 SMART-BASE
2.6.4 SMTpre
Syntax
error_code SMTpre(u_int32 *value);
Description
This function reads / sets the timer preload register.
Input
u_int32 *value
Pointer to a variable that holds the value to set.
The previous value is returned to the variable.
If value is 0, only the read is performed.
Output
error_code SUCCESS
E_BMODE
Requested value is out of range
or standard OS-9 error code (refer to the OS-9
Technical Manual Error Codes Section).
Example
RetVal = SMTpre(0);