SIO_ctrl
2-392
C Interface
Syntax
status = SIO_ctrl(stream, cmd, arg);
Parameters
SIO_Handle stream;
/* stream handle */
Uns
cmd;
/* command to device */
Arg
arg;
/* arbitrary argument */
Return Value
Int
status;
/* device status */
Description
SIO_ctrl causes a control operation to be issued to the device associated
with stream. cmd and arg are passed directly to the device.
SIO_ctrl returns SYS_OK if successful, and a non-zero device-
dependent error value if unsuccessful.
Internally, SIO_ctrl calls Dxx_ctrl to send control commands to a device.
Constraints and
Calling Context
❏
SIO_ctrl cannot be called from an HWI.
See Also
SIO_ctrl
Perform a device-dependent control operation