Secure Digital (SD) Card Driver Status Codes (Compact 2013)

3/26/2014

The following table shows the status codes returned from function calls for both peripheral and host controller drivers.

Status code

Description

SD_API_STATUS_ACCESS_VIOLATION

An access violation was encountered.

SD_API_STATUS_BUFFER_OVERFLOW

A buffer overflow was encountered.

SD_API_STATUS_BUS_DRIVER_NOT_READY

The bus driver is not ready.

SD_API_STATUS_CANCELED

The operation or request was cancelled.

SD_API_STATUS_CRC_ERROR

A cyclic redundancy check error occurred.

SD_API_STATUS_DATA_ERROR

An error occurred in transmitting or receiving data.

SD_API_STATUS_DATA_TIMEOUT

A timeout occurred in transferring data.

SD_API_STATUS_DEVICE_BUSY

The device is busy.

SD_API_STATUS_DEVICE_NOT_CONNECTED

The device is not connected.

SD_API_STATUS_DEVICE_NOT_RESPONDING

The device is not responding.

SD_API_STATUS_DEVICE_REMOVED

The device has been removed.

SD_API_STATUS_DEVICE_RESPONSE_ERROR

The device generated an error in the response.

SD_API_STATUS_DEVICE_UNSUPPORTED

The device is unsupported.

SD_API_STATUS_FAST_PATH_SUCCESS

The operation or request succeeded using Fast-Path.

SD_API_STATUS_FAST_PATH_OPT_SUCCESS

The operation or request succeeded using Fast-Path.

SD_API_STATUS_INSUFFICIENT_RESOURCES

There were insufficient system resources available when the operation was executed.

SD_API_STATUS_INVALID_DEVICE_REQUEST

The request made to a device is invalid.

SD_API_STATUS_INVALID_HANDLE

The device handle is invalid.

SD_API_STATUS_INVALID_PARAMETER

A parameter is invalid for the operation.

SD_API_STATUS_NO_MEMORY

The system is out of memory.

SD_API_STATUS_NO_SUCH_DEVICE

The device does not exist.

SD_API_STATUS_NOT_IMPLEMENTED

A feature was not implemented.

SD_API_STATUS_PENDING

The operation is pending. This is also a successful status.

SD_API_STATUS_RESPONSE_TIMEOUT

A timeout occurred in receiving a response.

SD_API_STATUS_SHUT_DOWN

The system is shutting down.

SD_API_STATUS_SUCCESS

The operation or request succeeded.

SD_API_STATUS_UNSUCCESSFUL

The operation encountered an unspecified error.

See Also

Reference

Secure Digital (SD) Card Driver Reference