Modules | Macros
SDSPI_control command and status codes

Modules

 Status Codes
 
 Command Codes
 

Macros

#define SDSPI_CMD_RESERVED   (32)
 
#define SDSPI_STATUS_RESERVED   (-32)
 

Detailed Description

These SDSPI macros are reservations for SDSPI.h

Macro Definition Documentation

§ SDSPI_CMD_RESERVED

#define SDSPI_CMD_RESERVED   (32)

Common SDSPI_control command code reservation offset. SDSPI driver implementations should offset command codes with SDSPI_CMD_RESERVED growing positively

Example implementation specific command codes:

#define SDSPIXYZ_CMD_COMMAND0 SDSPI_CMD_RESERVED + 0
#define SDSPIXYZ_CMD_COMMAND1 SDSPI_CMD_RESERVED + 1

§ SDSPI_STATUS_RESERVED

#define SDSPI_STATUS_RESERVED   (-32)

Common SDSPI_control status code reservation offset. SDSPI driver implementations should offset status codes with SDSPI_STATUS_RESERVED growing negatively.

Example implementation specific status codes:

#define SDSPIXYZ_STATUS_ERROR0 SDSPI_STATUS_RESERVED - 0
#define SDSPIXYZ_STATUS_ERROR1 SDSPI_STATUS_RESERVED - 1
#define SDSPIXYZ_STATUS_ERROR2 SDSPI_STATUS_RESERVED - 2
Copyright 2017, Texas Instruments Incorporated