SD_SPI_Init
Default mainpageat91libmemoriessdmmcSD_SPI_Init
Description Source Call Graph
SD_SPI_Init
Run the SDcard SPI Mode initialization sequence.
 
Syntax / parameters
unsigned char SD_SPI_Init (SdCard *pSd, SdDriver *pSpi)

Name Type Default Description
pSd SdCard *
  Pointer to a SD card driver instance.
pSpi SdDriver *
   
 
Return value unsigned char
   
Description
Run the SDcard SPI Mode initialization sequence.
This function runs the initialisation procedure and the identification process, then it sets the SD card in transfer state to set the block length. Returns 0 if successful; otherwise returns an SD_ERROR code.
 
Source
The documentation for this Member was generated from the following file:
  • sdmmc_spi.c