Versions Compared

Key

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


Code Block
languagecpp
CPU_BOOLEAN  FSDev_Refresh (CPU_CHAR  *name_dev,

...


                            FS_ERR    *p_err);


File

Called from

Code enabled by

fs_dev.c

Application

N/A

Refresh a device.Arguments

...

Or device access error (see section B-4 “Device Error Codes” µC/FS Error Codes).

Returned Value

DEF_YES, if the device has not changed.

DEF_NO, if the device has not changed.

Notes/Warnings

  1. If device has changed, all volumes open on the device must be refreshed and all files closed and reopened.
  2. A device status change may be caused by :
    1. A device was connected, but no longer is.
    2. A device was not connected, but now is.
    3. A different device is connected.