mmcWriteBlock Function

Writes a data block that starts from (addressHigh<<16)+addressLow location

Syntax

ERRCODE mmcWriteBlock( UINT addressHigh, UINT addressLow, UBYTE *pData, UINT length );

Parameters

UINT addressHigh - high word of address
UINT addressLow - low word of address
UINT length	- length of block (>=512)
UBYTE *pData- data buffer to write

Return Value

ERRCODE - SUCCESS or _MMC_ERROR or _MMC_NO_START_BYTE

Remarks

N/A

Requirements

mmc.h

Example

N/A