AM62x MCU+ SDK  10.01.00

Detailed Description

MMCSD driver object.

Data Fields

MMCSD_Handle handle
 
uint32_t cardType
 
uint8_t * tempDataBuf
 
MMCSD_EmmcDeviceDataemmcData
 
MMCSD_SdDeviceDatasdData
 
uint8_t sdVer
 
uint32_t busWidth
 
uint32_t transferSpeed
 
uint32_t isHC
 
uint32_t isUHS
 
uint32_t isCmd23
 
uint32_t is1_8V
 
uint32_t isSwitch1_8V
 
uint32_t blockSize
 
uint64_t blockCount
 
uint64_t mediaSize
 
uint32_t enableDma
 
uint32_t intrEnable
 
volatile uint32_t cmdComp
 
volatile uint32_t cmdTimeout
 
volatile uint32_t cmdCRCError
 
volatile uint32_t cmdEBError
 
volatile uint32_t cmdIndexError
 
volatile uint32_t dataTimeoutError
 
volatile uint32_t dataCRCError
 
volatile uint32_t dataEBError
 
volatile uint32_t cmdError
 
volatile uint32_t xferInProgress
 
volatile uint32_t xferComp
 
volatile uint32_t xferTimeout
 
uint8_t * dataBufIdx
 
uint32_t dataBlockCount
 
uint32_t dataBlockSize
 
uint8_t * readBufIdx
 
uint32_t readBlockCount
 
uint8_t * writeBufIdx
 
uint32_t writeBlockCount
 
uint32_t isManualTuning
 
uint32_t isOpen
 
uint32_t xferHighSpeedEn
 
uint32_t uhsmode
 
SemaphoreP_Object cmdMutex
 
SemaphoreP_Object xferMutex
 
SemaphoreP_Object cmdCompleteSemObj
 
SemaphoreP_Object dataCopyCompleteSemObj
 
SemaphoreP_Object xferCompleteSemObj
 
HwiP_Object hwiObj
 

Field Documentation

◆ handle

MMCSD_Handle MMCSD_Object::handle

Instance handle

◆ cardType

uint32_t MMCSD_Object::cardType

Type of card

◆ tempDataBuf

uint8_t* MMCSD_Object::tempDataBuf

◆ emmcData

MMCSD_EmmcDeviceData* MMCSD_Object::emmcData

◆ sdData

MMCSD_SdDeviceData* MMCSD_Object::sdData

◆ sdVer

uint8_t MMCSD_Object::sdVer

Version of SD card

◆ busWidth

uint32_t MMCSD_Object::busWidth

Current bus width

◆ transferSpeed

uint32_t MMCSD_Object::transferSpeed

Current transfer speed

◆ isHC

uint32_t MMCSD_Object::isHC

Is card of high capacity

◆ isUHS

uint32_t MMCSD_Object::isUHS

Is card UHS

◆ isCmd23

uint32_t MMCSD_Object::isCmd23

Is command 23 supported

◆ is1_8V

uint32_t MMCSD_Object::is1_8V

Is 1.8V supported by card

◆ isSwitch1_8V

uint32_t MMCSD_Object::isSwitch1_8V

Is the card switched to 1.8V

◆ blockSize

uint32_t MMCSD_Object::blockSize

Size of a block in bytes

◆ blockCount

uint64_t MMCSD_Object::blockCount

Number of blocks

◆ mediaSize

uint64_t MMCSD_Object::mediaSize

Size of the card in bytes

◆ enableDma

uint32_t MMCSD_Object::enableDma

DMA enable

◆ intrEnable

uint32_t MMCSD_Object::intrEnable

Module interrupt enable

◆ cmdComp

volatile uint32_t MMCSD_Object::cmdComp

Command completion flag

◆ cmdTimeout

volatile uint32_t MMCSD_Object::cmdTimeout

◆ cmdCRCError

volatile uint32_t MMCSD_Object::cmdCRCError

◆ cmdEBError

volatile uint32_t MMCSD_Object::cmdEBError

◆ cmdIndexError

volatile uint32_t MMCSD_Object::cmdIndexError

◆ dataTimeoutError

volatile uint32_t MMCSD_Object::dataTimeoutError

◆ dataCRCError

volatile uint32_t MMCSD_Object::dataCRCError

◆ dataEBError

volatile uint32_t MMCSD_Object::dataEBError

◆ cmdError

volatile uint32_t MMCSD_Object::cmdError

◆ xferInProgress

volatile uint32_t MMCSD_Object::xferInProgress

◆ xferComp

volatile uint32_t MMCSD_Object::xferComp

◆ xferTimeout

volatile uint32_t MMCSD_Object::xferTimeout

◆ dataBufIdx

uint8_t* MMCSD_Object::dataBufIdx

◆ dataBlockCount

uint32_t MMCSD_Object::dataBlockCount

◆ dataBlockSize

uint32_t MMCSD_Object::dataBlockSize

◆ readBufIdx

uint8_t* MMCSD_Object::readBufIdx

◆ readBlockCount

uint32_t MMCSD_Object::readBlockCount

◆ writeBufIdx

uint8_t* MMCSD_Object::writeBufIdx

◆ writeBlockCount

uint32_t MMCSD_Object::writeBlockCount

◆ isManualTuning

uint32_t MMCSD_Object::isManualTuning

Flag to enable manual tuning

◆ isOpen

uint32_t MMCSD_Object::isOpen

Flag to indicate if the instance is already open

◆ xferHighSpeedEn

uint32_t MMCSD_Object::xferHighSpeedEn

Flag to indicate hs transfers

◆ uhsmode

uint32_t MMCSD_Object::uhsmode

Flag to indicate hs mode

◆ cmdMutex

SemaphoreP_Object MMCSD_Object::cmdMutex

Command Mutex

◆ xferMutex

SemaphoreP_Object MMCSD_Object::xferMutex

Transfer Mutex

◆ cmdCompleteSemObj

SemaphoreP_Object MMCSD_Object::cmdCompleteSemObj

Command complete semaphore

◆ dataCopyCompleteSemObj

SemaphoreP_Object MMCSD_Object::dataCopyCompleteSemObj

Data buffer copy complete semaphore

◆ xferCompleteSemObj

SemaphoreP_Object MMCSD_Object::xferCompleteSemObj

Transfer complete semaphore

◆ hwiObj

HwiP_Object MMCSD_Object::hwiObj

Interrupt object