Macros
Collaboration diagram for Status Codes:

Macros

#define SD_STATUS_SUCCESS   (0)
 Successful status code returned by SD_control(). More...
 
#define SD_STATUS_ERROR   (-1)
 Generic error status code returned by SD_control(). More...
 
#define SD_STATUS_UNDEFINEDCMD   (-2)
 An error status code returned by SD_control() for undefined command codes. More...
 

Detailed Description

SD_STATUS_* macros are general status codes returned by SD_control()

Macro Definition Documentation

§ SD_STATUS_SUCCESS

#define SD_STATUS_SUCCESS   (0)

Successful status code returned by SD_control().

SD_control() returns SD_STATUS_SUCCESS if the control code was executed successfully.

§ SD_STATUS_ERROR

#define SD_STATUS_ERROR   (-1)

Generic error status code returned by SD_control().

SD_control() returns SD_STATUS_ERROR if the control code was not executed successfully.

§ SD_STATUS_UNDEFINEDCMD

#define SD_STATUS_UNDEFINEDCMD   (-2)

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

SD_control() returns SD_STATUS_UNDEFINEDCMD if the control code is not recognized by the driver implementation.

© Copyright 1995-2019, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale