Dxx_ctrl
Application Program Interface
2-71
Important Note:
This API will no longer be supported in the next major
release of DSP/BIOS. We recommend that you use the IOM driver
interface instead. See the
DSP/BIOS Driver Developer’s Guide
(SPRU616). This API is still supported in DSP/BIOS 5.32 and will be
supported in any patch releases or minor enhancements to DSP/BIOS
5.32.
C Interface
Syntax
status = Dxx_ctrl(device, cmd, arg);
Parameters
DEV_Handle device
/* device handle */
Uns
cmd;
/* driver control code */
Arg
arg;
/* control operation argument */
Return Value
Int
status;
/* result of operation */
Description
Dxx_ctrl performs a control operation on the device associated with
device and returns an error code indicating success (SYS_OK) or failure.
The actual control operation is designated through cmd and arg, which
are interpreted in a driver-dependent manner.
Dxx_ctrl is called by SIO_ctrl to send control commands to a device.
Constraints and
Calling Context
❏
device must be bound to a device by a prior call to Dxx_open.
See Also
Dxx_ctrl
Device control operation