mikroSDK Reference Manual
sdspi_physical_drive.h File Reference

Go to the source code of this file.

Data Structures

struct  sdspi_config_t
 A Structure used for initialization of SD SPI Physical Drive. More...
 
struct  sdspi_physical_drive_t
 SD SPI Physical Drive Data Structure. More...
 

Enumerations

enum  sdspi_card_type_t
 SD Card Type Enumerator. More...
 

Functions

pd_status_t sdspi_physical_drive_init (sdspi_physical_drive_t *sd, sdspi_config_t *config)
 Initializes Physical Drive for SD Card communication via SPI bus. More...
 

Detailed Description

SD Card Physical Drive via SPI.

Enumeration Type Documentation

◆ sdspi_card_type_t

Indicate the type of the SD Card. It will be determined during the process of the SD Card initialization.

Enumerator
CT_NO_CARD 

Initial value

CT_MMC 

Multi Media Card

CT_SD_VER1X_SC 

Standard Capacity Version 1 SD memory card

CT_SD_VER2X_SC 

Standard Capacity Version 2 SD memory card

CT_SD_VER2X_HC_XC 

High or Extended Capacity SD memory card

CT_UNSUPPORTED_CARD 

SD Card is not supported