Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Anchor10560091056009 Volume Operations Anchor10465951046595Five general operations can be performed on a volume: Anchor10465961046596

...

For information about using volume names, see section 4-2 “μC/FS Device and Volume Names” on page 61. For FAT-specific volume functions, see Chapter 4Chapter 4, “File Systems: FAT” on page 153. Anchor10500781050078  

...

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