<< Previous | Next >> | |
|
int sdspi_get_status_reg( sd_device *sd, int * status );
Description
- This function is called to execute protocol command 13 to retrieve the status register value of the SD card.
Parameters
- sd
- Pointer to the device structure for the SD card.
- status
- Pointer to variable that returns the status.
Return Value
- 0: Success, Card status placed in status
-EIO
: I/O error
-ENOMEDIUM
: No SD card in socket
-ESHAREDBUSY
: Shared SPI port busyLibrary
- SDFLASH.LIB
Dynamic C Functions | << Previous | Next >> | rabbit.com |