Synopsis
typedef enum {
  CTL_NO_ERROR,
  CTL_OK,
  CTL_EOF,
  CTL_GENERAL_ERROR,
  CTL_OUT_OF_MEMORY,
  CTL_PARAMETER_ERROR,
  CTL_TIMEOUT_ERROR,
  CTL_UNSUPPORTED_OPERATION,
  CTL_INTERNAL_ERROR,
  CTL_READ_ERROR,
  CTL_WRITE_ERROR,
  CTL_DEVICE_NOT_READY,
  CTL_ADDRESS_IN_USE,
  CTL_HARDWARE_ERROR,
  CTL_PROTOCOL_ERROR,
  CTL_DEVICE_NOT_SELECTED,
  CTL_DEVICE_NOT_RESPONDING,
  CTL_INCORRECT_DEVICE,
  CTL_CONFIGURATION_ERROR,
  CTL_DEVICE_IN_USE,
  CTL_ARBITRATION_LOST,
  CTL_BAD_STREAM
} CTL_CORE_ERROR_t;
Description

CTL_CORE_ERROR_t defines a set of common, non-specific errors that client code, including libraries supplied in CrossWorks, might like to for a CTL_STATUS_t.

Of particular note is CTL_NO_ERROR, defined as zero, that indicates there is no error to report. This is the same as CTL_OK.

See Also

CTL_STATUS_t