|Hint: Use the tree menu to navigate groups of related pages|
[FreeRTOS+FAT Native API Reference]
FF_Error_t FF_Mount( FF_Disk_t *pxDisk, BaseType_t xPartitionNumber );
The media is the physical device on which files are stored. Examples of media suitable for use in an embedded file system include SD cards, solid state disks, NOR flash memory chips, NAND flash chips, and RAM chips.
Partitioning divides the media into multiple units, each of which is called a partition. A partition cannot be used to hold a FreeRTOS+FAT file system until it has been formatted.
The FF_Disk_t structure that holds the formatted partition
to be mounted.
The number of the partition on the media to mount.
Partition numbers start from 0.
If the partition was successfully mounted then FF_ERR_NONE is returned. If the partition could not be mounted then an error code is returned. FF_GetErrMessage() converts error codes into error descriptions.
The page that documents how to create a FreeRTOS+FAT media driver also demonstrates how to use the FF_Mount() function.