SMART I/O User's Manual
6.2.12.4 SMSSISetSetPoint
Syntax
error_code SMSSISetSetPoint(u_int8 PortNr,
Description
This function copies the setpoint to an internal register which will only be
sent to the SM-SSI when the function SMSSISetCtrlReg() is called. This
function is used to set the preset value for the comparator if testing for a
match.
Input
u_int8 PortNr
u_int32 Setpoint
Output
error_code
Example
RetVal = SMSSISetSetPoint(0, 0xFF00FF);
Page 6- 32
u_int32 Setpoint);
Number of the SM port to set
(0x0 -> 0xFFFFFF) 24-bit
SUCCESS
E_BMODE
or standard OS-9 error code (refer to the OS-9
Technical Manual Error Codes Section).
©1996 PEP Modular Computers GmbH
Chapter 6 Communications Modules
Value of the comparator register
if the module is unknown
October 01, 1996
Need help?
Do you have a question about the Modular Computers RS485 and is the answer not in the manual?