sdmmc_slot Struct Reference

SD/MMC Slot structure. More...

#include <sdmmc.h>

Collaboration diagram for sdmmc_slot:

Collaboration graph
[legend]

Data Fields

int id
struct sdmmc_hosthost
unsigned long flags
struct sdmmc_card card
uint32_t bcr
uint32_t ocr
int bus_width
int bus_width_max
int32_t f_max
void(* notify_card_detect )(void *context)
 Callback for hw card detect events.
void * context
struct sdmmc_cd * cd

Detailed Description

SD/MMC Slot structure.

Definition at line 211 of file sdmmc.h.


Field Documentation

uint32_t sdmmc_slot::bcr

Host Operating Condition Register

Definition at line 221 of file sdmmc.h.

Current bus width

Definition at line 225 of file sdmmc.h.

Referenced by sdmmc_slot_power_up(), and sdmmc_slot_set_bus_width().

Maximum bus width

Definition at line 227 of file sdmmc.h.

SD/MMC Card structure.

Definition at line 219 of file sdmmc.h.

Referenced by sdmmc_req_prep_transfer().

struct sdmmc_cd* sdmmc_slot::cd [read]

Card detect

Definition at line 235 of file sdmmc.h.

Arbitrary data for use by notify card detect

Definition at line 233 of file sdmmc.h.

Referenced by sdmmc_probe_init(), and sdmmc_slot_notify_card_detect().

Maximum frequency

Definition at line 229 of file sdmmc.h.

Referenced by sdmmc_slot_init(), and sdmmc_slot_set_f_max().

unsigned long sdmmc_slot::flags

Flags. See sdmmc_slot_flags

Definition at line 217 of file sdmmc.h.

Referenced by sdmmc_slot_init(), sdmmc_slot_is_card_present(), sdmmc_slot_notify_card_detect(), and sdmmc_slot_power_up().

struct sdmmc_host* sdmmc_slot::host [read]

Slot id identifying the slot to the underlying driver

Definition at line 213 of file sdmmc.h.

Referenced by sdmmc_slot_init().

Callback for hw card detect events.

Referenced by sdmmc_probe_init(), sdmmc_slot_init(), and sdmmc_slot_notify_card_detect().

uint32_t sdmmc_slot::ocr

Card Operating Condition Register

Definition at line 223 of file sdmmc.h.


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

Generated on Tue Sep 15 10:22:26 2009 for libavr32 by  doxygen 1.5.8