You are currently viewing the documentation for:
The ECF_Unmount function unmounts a file system. It is very important to unmount a file system after usage so that all the data is saved.
ECF_ErrorCode ECF_Unmount(
   char driveLetter
This is the drive letter of the file system you wish to unmount. E.g. 'A'.
Return value
Returns one of the EcFAT error codes (ECFERR_SUCCESS on success)
This must be called when you are done using a drive. If you are worried about power loss or similar scenarios you do not need to call ECF_Unmount()/ECF_Mount() repeatedly. Call ECF_Flush() instead to write all data to disk.
Example Code
See ECF_Mount
See also