# sdmmc_card Struct Reference

SD/MMC Card structure. More...

`#include <sdmmc.h>`

Collaboration diagram for sdmmc_card:

[legend]

## Data Fields
enum sdmmc_card_type | type
uint32_t | rca
struct sdmmc_cid | cid
struct sdmmc_csd | csd
uint32_t | block_size

## Detailed Description

SD/MMC Card structure.

Definition at line 177 of file sdmmc.h.

## Field Documentation

uint32_t sdmmc_card::block_size

Block size for card

Definition at line 187 of file sdmmc.h.

Referenced by sdmmc_card_block2addr(), and sdmmc_req_prep_transfer().

struct sdmmc_cid sdmmc_card::cid`[read]`

Card Identification

Definition at line 183 of file sdmmc.h.

Referenced by sdmmc_decode_mmc_cid(), and sdmmc_decode_sd_cid().

struct sdmmc_csd sdmmc_card::csd`[read]`

Card-Specific Data

Definition at line 185 of file sdmmc.h.

Referenced by sdmmc_decode_mmc_cid(), sdmmc_decode_mmc_csd(), and sdmmc_decode_sd_csd().

uint32_t sdmmc_card::rca

Relative Card Address

Definition at line 181 of file sdmmc.h.

Referenced by sdmmc_card_get_rca().

enum sdmmc_card_type sdmmc_card::type

Type of card

Definition at line 179 of file sdmmc.h.

Referenced by sdmmc_card_block2addr(), and sdmmc_card_set_type().

The documentation for this struct was generated from the following file:

- include/sdmmc/sdmmc.h