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

Macros

#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()

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

Macro Definition Documentation

#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