csi_reset(3) CLIX csi_reset(3)
NAME
csi_reset - Resets hardware on a Command Status Interface (CSI) port
LIBRARY
Intergraph Device Library (libix.a)
#include <sys/xio/xerr.h>
int csi_reset(
int channel );
PARAMETERS
channel A command status interface channel
DESCRIPTION
The csi_reset() function terminates all pending commands for all processes
on the Command Status Interface (CSI) port of the Image System Interface
(ISI) board referenced by channel. A reset function code of 4 is placed
on the DR11 function lines to reset the DR11 slave. The channel must have
been opened with csi_open().
RETURN VALUES
Upon successful completion, a value of 0 is returned. Otherwise, one of
the following failure codes is returned.
ERRORS
The csi_reset() function will fail if one of the following is true:
[XIO_FAILURE]
The system does not contain the driver needed to support this
request.
[ISI_CHANNEL_NOT_OPEN]
The specified channel is not open for this process.
RELATED INFORMATION
Functions: csi_open(3), csi_cmd(3), csi_dstat(3), csi_ustat(3),
csi_death(3)
Files: xcsi(7)
2/94 - Intergraph Corporation 1