Five general operations can be performed on a volume:
For information about using volume names, see section 4-2 “μC/FS Device and Volume Names”. For FAT-specific volume functions, see Chapter 4, “File Systems: FAT”.
Function |
Description |
Valid for Unmounted Volume? |
FSVol_CacheAssign() |
Assign cache to volume. |
Yes |
FSVol_CacheInvalidate() |
Invalidate cache for volume. |
No |
FSVol_CacheFlush() |
Flush cache for volume. |
No |
FSVol_Close() |
Close (unmount) volume. |
Yes |
FSVol_Fmt() |
Format volume. |
Yes |
FSVol_IsMounted() |
Determine whether volume is mounted. |
Yes |
FSVol_LabelGet() |
Get volume label. |
No |
FSVol_LabelSet() |
Set volume label. |
No |
FSVol_Open() |
Open (mount) volume. |
----- |
FSVol_Query() |
Get volume information. |
Yes |
FSVol_Rd() |
Read sector on volume. |
No |
FSVol_Refresh() |
Refresh a volume. |
No |
FSVol_Wr() |
Write sector on volume. |
No |
Table 7-2 Volume API functions