AM261x MCU+ SDK: MMCSDLLD_Transaction Struct Reference

| AM261x MCU+ SDK 26.00.00 |

Data Fields
MMCSDLLD_Transaction Struct Reference
APIs for SOC Specific Device Drivers » APIs for MMCSD LLD

## Detailed Description

MMCSD LLD Transaction.

This structure defines the nature of a 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 | flags
uint32_t | arg
uint8_t * | dataBuf
uint32_t | blockSize
uint32_t | blockCount
uint32_t | response [4]

## Field Documentation

## ◆ cmd

uint32_t MMCSDLLD_Transaction::cmd

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

## ◆ flags

uint32_t MMCSDLLD_Transaction::flags

Command flag as per MMC device specification

## ◆ 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

## ◆ response

uint32_t MMCSDLLD_Transaction::response[4]

Command response per MMC device specification