Block device operations
File system operations
Direct Block access
Block driver (mandatory)
Block driver (optional)
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.
This is the drive letter of the file system you wish to unmount. E.g. 'A'.
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.