AM243x MCU+ SDK  10.01.00
MMCSDLLD_Transaction Struct Reference

Detailed Description

MMCSDLLD Transaction.

This structure defines the nature of the MMCSD transaction. This structure specifies the buffer and buffer's size that is to be written to or read from the MMC peripheral.

Data Fields

uint32_t cmd
 
uint32_t dir
 
uint32_t arg
 
uint8_t * dataBuf
 
uint32_t blockSize
 
uint32_t blockCount
 
uint32_t autoCmdEn
 
uint32_t enableDma
 
uint32_t isTuning
 
uint32_t response [4]
 

Field Documentation

◆ cmd

uint32_t MMCSDLLD_Transaction::cmd

Command register content composed of CMD ID, DP, TYPE, RESP TYPE etc

◆ dir

uint32_t MMCSDLLD_Transaction::dir

Direction of transfer: Read/Write

◆ arg

uint32_t MMCSDLLD_Transaction::arg

Command argument as per MMC device specification

◆ dataBuf

uint8_t* MMCSDLLD_Transaction::dataBuf

Buffer containing data to be read into or written from

◆ blockSize

uint32_t MMCSDLLD_Transaction::blockSize

Number of bytes to be transferred per block

◆ blockCount

uint32_t MMCSDLLD_Transaction::blockCount

Number of block to be transferred

◆ autoCmdEn

uint32_t MMCSDLLD_Transaction::autoCmdEn

AutoCMD12 or AutoCMD23 or no AutoCMD

◆ enableDma

uint32_t MMCSDLLD_Transaction::enableDma

Is DMA enabled for the command

◆ isTuning

uint32_t MMCSDLLD_Transaction::isTuning

Is transaction used for tuning

◆ response

uint32_t MMCSDLLD_Transaction::response[4]

Command response per MMC device specification