SAM3S8/SD8 Software Package: SD/MMC Card Types

SAM3S8/SD8 Software Package 1.2
Defines

# SD/MMC Card Types
[SD/MMC Low Level Driver]

Collaboration diagram for SD/MMC Card Types:

## Defines

#define | CARD_TYPE_bmHC (1 << 0)
#define | CARD_TYPE_bmSDMMC (0x3 << 1)
#define | CARD_TYPE_bmUNKNOWN (0x0 << 1)
#define | CARD_TYPE_bmSD (0x1 << 1)
#define | CARD_TYPE_bmMMC (0x2 << 1)
#define | CARD_TYPE_bmSDIO (1 << 3)
#define | CARD_UNKNOWN (0)
#define | CARD_SD (CARD_TYPE_bmSD)
#define | CARD_SDHC (CARD_TYPE_bmSD|CARD_TYPE_bmHC)
#define | CARD_MMC (CARD_TYPE_bmMMC)
#define | CARD_MMCHD (CARD_TYPE_bmMMC|CARD_TYPE_bmHC)
#define | CARD_SDIO (CARD_TYPE_bmSDIO)
#define | CARD_SDCOMBO (CARD_TYPE_bmSDIO|CARD_SD)
#define | CARD_SDHCCOMBO (CARD_TYPE_bmSDIO|CARD_SDHC)

## Detailed Description

Here lists the SD/MMC card types.

- Card Type Category Bitmap
  - CARD_TYPE_bmHC
  - CARD_TYPE_bmSDMMC
    - CARD_TYPE_bmUNKNOWN
    - CARD_TYPE_bmSD
    - CARD_TYPE_bmMMC
  - CARD_TYPE_bmSDIO
- Card Types
  - CARD_UNKNOWN
  - CARD_SD
  - CARD_SDHC
  - CARD_MMC
  - CARD_MMCHD
  - CARD_SDIO
  - CARD_SDCOMBO
  - CARD_SDHCCOMBO

## Define Documentation

#define CARD_MMC (CARD_TYPE_bmMMC)

MMC Card (0x4)

Definition at line 127 of file sdmmc_cmd.h.

#define CARD_MMCHD (CARD_TYPE_bmMMC|CARD_TYPE_bmHC)

MMC High-Density Card (0x5)

Definition at line 129 of file sdmmc_cmd.h.

#define CARD_SD (CARD_TYPE_bmSD)

SD Card (0x2)

Definition at line 123 of file sdmmc_cmd.h.

#define CARD_SDCOMBO (CARD_TYPE_bmSDIO|CARD_SD)

SDIO Combo, with SD embedded (0xA)

Definition at line 133 of file sdmmc_cmd.h.

#define CARD_SDHC (CARD_TYPE_bmSD|CARD_TYPE_bmHC)

SD High Capacity Card (0x3)

Definition at line 125 of file sdmmc_cmd.h.

#define CARD_SDHCCOMBO (CARD_TYPE_bmSDIO|CARD_SDHC)

SDIO Combo, with SDHC embedded (0xB)

Definition at line 135 of file sdmmc_cmd.h.

#define CARD_SDIO (CARD_TYPE_bmSDIO)

SDIO only card (0x8)

Definition at line 131 of file sdmmc_cmd.h.

#define CARD_TYPE_bmHC (1 << 0)

Bit for High-Capacity(Density)

Definition at line 114 of file sdmmc_cmd.h.

#define CARD_TYPE_bmMMC (0x2 << 1)

Bits for MMC

Definition at line 118 of file sdmmc_cmd.h.

#define CARD_TYPE_bmSD (0x1 << 1)

Bits for SD

Definition at line 117 of file sdmmc_cmd.h.

#define CARD_TYPE_bmSDIO (1 << 3)

Bit for SDIO

Definition at line 119 of file sdmmc_cmd.h.

#define CARD_TYPE_bmSDMMC (0x3 << 1)

Bits mask for SD/MMC

Definition at line 115 of file sdmmc_cmd.h.

#define CARD_TYPE_bmUNKNOWN (0x0 << 1)

Bits for Unknown card

Definition at line 116 of file sdmmc_cmd.h.

#define CARD_UNKNOWN (0)

Card can not be identified

Definition at line 121 of file sdmmc_cmd.h.

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines