AM243x MCU+ SDK  10.00.00
MMCSD_Transaction Struct Reference

Detailed Description

MMCSD 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
 
void * 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 MMCSD_Transaction::cmd

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

◆ dir

uint32_t MMCSD_Transaction::dir

Direction of transfer: Read/Write

◆ arg

uint32_t MMCSD_Transaction::arg

Command argument as per MMC device specification

◆ dataBuf

void* MMCSD_Transaction::dataBuf

buffer containing data to be read into or written

◆ blockSize

uint32_t MMCSD_Transaction::blockSize

Number of bytes to be transferred per block

◆ blockCount

uint32_t MMCSD_Transaction::blockCount

Number of block to be transferred

◆ autoCmdEn

uint32_t MMCSD_Transaction::autoCmdEn

◆ enableDma

uint32_t MMCSD_Transaction::enableDma

◆ isTuning

uint32_t MMCSD_Transaction::isTuning

◆ response

uint32_t MMCSD_Transaction::response[4]

Command response per MMC device specification