dacs_test

NAME

dacs_test - Test if communication operations have finished on this DE so the parameters can be changed or reused.

SYNOPSIS

DACS_ERR_T dacs_test ( dacs_wid _t wid )

Call parameter  
wid A communication wait identifier

DESCRIPTION

The dacs_test service checks the data transfers for the given communication wait identifier and returns their status.

RETURN VALUE

The dacs_test service returns an error indicator defined as:
  • DACS_WID_READY: all data transfers have completed.
  • DACS_WID_BUSY: one or more data transfers have not completed.
  • DACS_ERR_WID_NOT_ACTIVE: there are no outstanding transfers to test.
  • DACS_ERR_INVALID_WID: the specified wait identifier is invalid.
  • DACS_ERR_BYTESWAP_MISMATCH: the Little-endian / Big-endian architectures at the ends of the transfer are incompatible.
  • DACS_ERR_BUF_OVERFLOW: the data to be transferred is too large for the receive buffer.

SEE ALSO

dacs_wait(3), dacs_put(3), dacs_get(3), dacs_put_list(3), dacs_get_list(3)