Data Fields
CSL_MMCCardObj Struct Reference

structure for card specific information. More...

#include <csl_mmcsd.h>

Data Fields

Uint16 rca
Uint16 ST0
Uint16 ST1
Uint16 cardIndex
Uint32 maxXfrRate
Uint32 readAccessTime
Uint32 cardCapacity
Uint32 blockLength
Uint32 totalSectors
Uint32 lastAddrRead
Uint32 lastAddrWritten
CSL_CardType cardType
CSL_MMCCardIdObjcid
CSL_MMCCardCsdObjcsd
CSL_MMCCardXCsdObjxcsd
Bool sdHcDetected
Bool cardAtaFsOpen
Uint16 cardMscStatus

Detailed Description

structure for card specific information.


Field Documentation

Block length of card

Referenced by MMC_getCardCsd(), and SD_getCardCsd().

Flag to indicate whether ATAFS open on card

Total memory available on card Note: For CSD Version 1.0 (CSL_MMCCardCsdObj.csdStruct = 0) capacity will be in bytes For CSD Version 2.0 (CSL_MMCCardCsdObj.csdStruct = 1) capacity will be in KBytes

Referenced by MMC_getCardCsd(), and SD_getCardCsd().

MMC module assigned card index for card

MSC status for card

Type of the card - MMC or SD

Referenced by MMC_deselectCard(), MMC_selectCard(), MMC_sendOpCond(), and MMC_setCardType().

Manufacturers Card ID

Referenced by MMC_sendAllCID(), and SD_sendAllCID().

Card specific data

Referenced by MMC_getCardCsd(), and SD_getCardCsd().

Last address read from memory card

Referenced by MMC_read().

Last Address written to memory card

Referenced by MMC_write().

Maximum transfer rate

MMC card: User assigned relative card address (RCA). SD card: Relative card address (RCA) published by the card

Referenced by MMC_getCardCsd(), MMC_getCardStatus(), MMC_setRca(), MMC_setWriteBlkEraseCnt(), SD_configurePullup(), SD_getCardCsd(), SD_sendRca(), and SD_setBusWidth().

TAAC - exp * mantissa

Last read ST0 register value

Referenced by MMC_saveStatus().

Last read ST1 register value

Referenced by MMC_saveStatus().

Extended CSD


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