ChibiOS/RT Logo ChibiOS/RT

Architecture - Reference Manual - Guides

MMCDriver Struct Reference
[MMC over SPI Driver]

Structure representing a MMC driver. More...

#include <mmc_spi.h>

Collaboration diagram for MMCDriver:
Collaboration graph
[legend]

Data Fields

mmcstate_t mmc_state
 Driver state.
const MMCConfigmmc_config
 Current configuration data.
SPIDrivermmc_spip
 SPI driver associated to this MMC driver.
const SPIConfigmmc_lscfg
 SPI low speed configuration used during initialization.
const SPIConfigmmc_hscfg
 SPI high speed configuration used during transfers.
mmcquery_t mmc_is_protected
 Write protect status query function.
mmcquery_t mmc_is_inserted
 Insertion status query function.
EventSource mmc_inserted_event
 Card insertion event source.
EventSource mmc_removed_event
 Card removal event source.
VirtualTimer mmc_vt
 MMC insertion polling timer.
uint_fast8_t mmc_cnt
 Insertion counter.

Detailed Description

Structure representing a MMC driver.

Definition at line 138 of file mmc_spi.h.


Field Documentation

Current configuration data.

Definition at line 146 of file mmc_spi.h.

Referenced by mmcObjectInit(), and mmcStart().

SPI low speed configuration used during initialization.

Definition at line 154 of file mmc_spi.h.

Referenced by mmcConnect(), and mmcObjectInit().

SPI high speed configuration used during transfers.

Definition at line 158 of file mmc_spi.h.

Referenced by mmcConnect(), mmcObjectInit(), mmcStartSequentialRead(), and mmcStartSequentialWrite().

Write protect status query function.

Definition at line 162 of file mmc_spi.h.

Referenced by mmcObjectInit().

Insertion status query function.

Definition at line 166 of file mmc_spi.h.

Referenced by mmcObjectInit(), and tmrfunc().

Card insertion event source.

Definition at line 170 of file mmc_spi.h.

Referenced by mmcObjectInit(), and tmrfunc().

Card removal event source.

Definition at line 174 of file mmc_spi.h.

Referenced by mmcObjectInit(), and tmrfunc().

MMC insertion polling timer.

Definition at line 178 of file mmc_spi.h.

Referenced by mmcStart(), mmcStop(), and tmrfunc().

Insertion counter.

Definition at line 182 of file mmc_spi.h.

Referenced by mmcStart(), and tmrfunc().


Generated on Sun Jul 11 13:13:34 2010 for ChibiOS/RT by doxygen 1.6.3