C
typedef union { BYTE _byte; struct { unsigned IN_IDLE_STATE : 1; unsigned ERASE_RESET : 1; unsigned ILLEGAL_CMD : 1; unsigned CRC_ERR : 1; unsigned ERASE_SEQ_ERR : 1; unsigned ADDRESS_ERR : 1; unsigned PARAM_ERR : 1; unsigned B7 : 1; } } RESPONSE_1;
Description
This union represents different ways to access an SD card R1 type response packet.
Members
Members |
Description |
BYTE _byte; |
Byte-wise access This structure allows bitwise access of the response |
unsigned IN_IDLE_STATE : 1; |
Card is in idle state |
unsigned ERASE_RESET : 1; |
Erase reset flag |
unsigned ILLEGAL_CMD : 1; |
Illegal command flag |
unsigned CRC_ERR : 1; |
CRC error flag |
unsigned ERASE_SEQ_ERR : 1; |
Erase sequence error flag |
unsigned ADDRESS_ERR : 1; |
Address error flag |
unsigned PARAM_ERR : 1; |
Parameter flag |
unsigned B7 : 1; |
Unused bit 7 |