Holds the R1, R3, and R7 response bytes returned by the SD card after a command.
More...
|
| uint8_t | r1 |
| uint8_t | r3 [4] |
| uint8_t | r7 [4] |
Holds the R1, R3, and R7 response bytes returned by the SD card after a command.
Every SD command returns at least an R1 byte. Some commands additionally return a 4-byte trailing payload: R3 (OCR content, from CMD58) or R7 (interface condition, from CMD8). Unused fields are zeroed by sd_send_cmd.
Definition at line 39 of file sd.c.
◆ r1
| uint8_t CMD_RESPONSE_ts::r1 |
R1 response byte. Bit 0 = idle state, bits 1-6 = error flags.
Definition at line 40 of file sd.c.
◆ r3
| uint8_t CMD_RESPONSE_ts::r3[4] |
R3 trailing bytes (OCR register content). Valid after CMD58.
Definition at line 41 of file sd.c.
◆ r7
| uint8_t CMD_RESPONSE_ts::r7[4] |
R7 trailing bytes (interface condition echo). Valid after CMD8.
Definition at line 42 of file sd.c.
The documentation for this struct was generated from the following file: