TI-RTOS Drivers  tidrivers_full_2_20_00_08
Macros
Collaboration diagram for Status Codes:

Macros

#define SDHostCC3200_STATUS_SUCCESS   (0)
 Successful status code returned by SDHostCC3200_control(). More...
 
#define SDHostCC3200_STATUS_ERROR   (-1)
 Generic error status code returned by SDHostCC3200_control(). More...
 
#define SDHostCC3200_STATUS_UNDEFINEDCMD   (-2)
 An error status code returned by SDHostCC3200_control() for undefined command codes. More...
 
#define SDSPI_STATUS_SUCCESS   0
 Successful status code returned by SDSPI_control(). More...
 
#define SDSPI_STATUS_ERROR   -1
 Generic error status code returned by SDSPI_control(). More...
 
#define SDSPI_STATUS_UNDEFINEDCMD   -2
 An error status code returned by SDSPI_control() for undefined command codes. More...
 

Detailed Description

SDSPI_STATUS_* macros are general status codes returned by SDSPI_control()

SDSPICC3200_STATUS_* macros are command codes only defined in the SDSPICC3200.h driver implementation and need to:

SDSPIEUSCIA_STATUS_* macros are command codes only defined in the SDSPIEUSCIA.h driver implementation and need to:

SDSPIEUSCIB_STATUS_* macros are command codes only defined in the SDSPIEUSCIB.h driver implementation and need to:

SDSPIMSP432_STATUS_* macros are command codes only defined in the SDSPIMSP432.h driver implementation and need to:

SDSPITiva_STATUS_* macros are command codes only defined in the SDSPITiva.h driver implementation and need to:

SDSPIUSCIA_STATUS_* macros are command codes only defined in the SDSPIUSCIA.h driver implementation and need to:

SDSPIUSCIB_STATUS_* macros are command codes only defined in the SDSPIUSCIB.h driver implementation and need to:

Macro Definition Documentation

#define SDHostCC3200_STATUS_SUCCESS   (0)

Successful status code returned by SDHostCC3200_control().

SDSPI_control() returns SDSPI_STATUS_SUCCESS if the control code was executed successfully.

Note: This status code is also used internally in the driver to indicate that a command sent to the SD card was successful.

#define SDHostCC3200_STATUS_ERROR   (-1)

Generic error status code returned by SDHostCC3200_control().

SDHostCC3200_control() returns SDHostCC3200_STATUS_ERROR if the control code was not executed successfully.

Note: This status code is also used internally in the driver to indicate if a command sent to the SD card succeeded.

#define SDHostCC3200_STATUS_UNDEFINEDCMD   (-2)

An error status code returned by SDHostCC3200_control() for undefined command codes.

SDHostCC3200_control() returns SDHostCC3200_STATUS_UNDEFINEDCMD if the control code is not recognized by the driver implementation.

#define SDSPI_STATUS_SUCCESS   0

Successful status code returned by SDSPI_control().

SDSPI_control() returns SDSPI_STATUS_SUCCESS if the control code was executed successfully.

#define SDSPI_STATUS_ERROR   -1

Generic error status code returned by SDSPI_control().

SDSPI_control() returns SDSPI_STATUS_ERROR if the control code was not executed successfully.

#define SDSPI_STATUS_UNDEFINEDCMD   -2

An error status code returned by SDSPI_control() for undefined command codes.

SDSPI_control() returns SDSPI_STATUS_UNDEFINEDCMD if the control code is not recognized by the driver implementation.

Copyright 2016, Texas Instruments Incorporated