These SDSPI macros are reservations for SDSPI.h
#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:
1 #define SDSPIXYZ_CMD_COMMAND0 SDSPI_CMD_RESERVED + 0
2 #define SDSPIXYZ_CMD_COMMAND1 SDSPI_CMD_RESERVED + 1
#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:
1 #define SDSPIXYZ_STATUS_ERROR0 SDSPI_STATUS_RESERVED - 0
2 #define SDSPIXYZ_STATUS_ERROR1 SDSPI_STATUS_RESERVED - 1
3 #define SDSPIXYZ_STATUS_ERROR2 SDSPI_STATUS_RESERVED - 2