Function Initial8073_MMC
Description Before using a new MMC(MultiMediaCard), this function should be called to initial the MMC.
This function is used for C/C++ compiler.
Function Prototype unsigned int Initial8073_MMC(int slot, unsigned long *BlockNumber,
unsigned long *MemorySize);

unsigned int Function return
0: MMC initial success
1: MMC initial fail,NO MMC
slot Specified slot of the I-8000 system
Range from 0 to 3 for 4 slot
Range from 0 to 7 for 8 slot
BlockNumber block size of the MMC card.
MemorySize total memory size of the MMC card.
Example
Function status = Initial8073_MMC(0,&BlockNo,&MemorySize)
Return status
Description The example initials the MMC, if success the status is 0, block size and memory size are returnned; if fail, the status is 1, block size and memory size are not changed.
Modules I-8073

Reference
Initial8073
Initial8073_MMC
MMC_WRITE_BLOCK
MMC_READ_BLOCK
EE_WriteEnable_8073
EE_WriteProtect_8073
EE_MultiRead_8073
EE_MultiWrite_8073
EE_RandomRead_8073
EE_RandomWrite_8073
EE_ReadNext_8073
SetDO
GetDI
AnalogIn
GetAngIn
Read_AD_CalibraionGain
Read_AD_CalibraionOffset
Write_AD_CalibraionGain
Write_AD_CalibraionOffset



Back to Previous Page