![]() |
|
| << Previous | Next >> | |
| | |
int sdspi_reset_card( sd_device * sd );
Description
- Resets the SD card pointed to by sd. Function executes protocol command 0 to force the card to Idle mode. This command is sent multiple times to reset the SD card.
Parameter
- sd
- Pointer to
sd_devicestructure of the SD card.
Return Value
- 0: Success
-EIO: I/O error
-EINVAL: Invalid parameter given
-ENOMEDIUM: No SD card in socket
-ESHAREDBUSY: Shared SPI port busyLibrary
- SDFLASH.LIB
| Dynamic C Functions | << Previous | Next >> | rabbit.com |