MMC.mount

Name
MMC.mount - pf_mount in pff.c

Description
Mount a Volume. The volume must be mounted with this function prior to any other file function and after every media changes.

Syntax
FRESULT MMC.mount (FATFS *fs) /* fs = Pointer to new file system object (NULL: Unmount) */

Return FRESULT : /* FR_OK (0) -> The function succeeded. */ /* FR_DISK_ERR (1) -> The function failed due to a hard error in the disk function, a wrong FAT structure or an internal error. */ /* FR_NOT_READY (2) -> The storage device could not be initialized due to a hard error or no medium. */ /* FR_NO_FILESYSTEM (7) -> There is no valid FAT partition on the drive. */