Function MMC_READ_BLOCK
Description This function read the MMC(MultiMediaCard) data in the specified slot of the I-8000 system.
This function is used for C/C++ compiler.
Function Prototype unsigned int MMC_READ_BLOCK(int slot,unsigned char *dataarray, unsigned long BlockNumber,int TryCount);
unsigned int Function return
0: no error
1: read fail
slot Specified slot of the I-8000 system
Range from 0 to 3 for 4 slot
Range from 0 to 7 for 8 slot
*dataarray read MMC data into dataarray
BlockNumber specified which block will be read.
TryCount normal : 1
If the MMC isn't stable,set the TryCount to perform
many times reading until successful.
Example
Function status = MMC_READ_BLOCK(0,dataarray,block,1)
Return status
Description The example read 512 bytes from the MMC and move to dataarray ,if success will return 0
Reference Initial8073
MMC_WRITE_BLOCK
MMC_READ_BLOCK
GetAngIn
GetDI
SetDO
EE_WriteEnable_8073
EE_WriteProtect_8073
EE_MultiRead_8073
EE_MultiWrite_8073
Read_AD_CalibraionGain
Read_AD_CalibraionOffset
Write_AD_CalibraionGain
Write_AD_CalibraionOffset
Modules I-8073



Back to Previous Page