SD_Init
Default mainpageat91libmemoriessdmmcSD_Init
Description Source Call Graph
SD_Init
Run the SDcard initialization sequence.
 
Syntax / parameters
unsigned char SD_Init (SdCard *pSd, SdDriver *pSdDriver)

Name Type Default Description
pSd SdCard *
  Pointer to a SD card driver instance.
pSdDriver SdDriver *
  Pointer to SD driver already initialized.
 
Return value unsigned char
   
Description
Run the SDcard 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 and the bus width. Returns 0 if successful; otherwise returns an SD_ERROR code.
 
Source
The documentation for this Member was generated from the following files:
  • sdmmc_spi.c