From 5630b9308323c3f3aaa09be8fe0f3aecaa826473 Mon Sep 17 00:00:00 2001 From: Leo C. Date: Sun, 30 Jun 2024 09:37:28 +0200 Subject: Import fatfs R0.15 --- fatfs/documents/doc/rc.html | 55 ++++++++++++++++++++++++--------------------- 1 file changed, 30 insertions(+), 25 deletions(-) (limited to 'fatfs/documents/doc/rc.html') diff --git a/fatfs/documents/doc/rc.html b/fatfs/documents/doc/rc.html index 05bcf9e..8f7fffa 100644 --- a/fatfs/documents/doc/rc.html +++ b/fatfs/documents/doc/rc.html @@ -11,7 +11,7 @@

Return Code of API Functions

-

Most of API functions return common result code as enum type FRESULT. When an API function succeeded, it returns zero (FR_OK), otherwise it returns non-zero value indicates type of error.

+

Most of API functions return common result code in enum type FRESULT. When an API function succeeded, it returns zero (FR_OK), otherwise it returns non-zero value indicates type of error.

@@ -22,14 +22,14 @@
The lower layer, disk_read, disk_write or disk_ioctl function, reported that an unrecoverable hard error occured.
Note that if once this error occured at any operation to an open file, the file object is aborted and any operations to the file except for close will be rejected.
FR_INT_ERR
-
Assertion failed. An insanity is detected in the internal process. One of the following possibilities is suspected. +
Assertion failed and an insanity is detected in the internal process. One of the following possibilities is suspected. -Note that if once this error occured at any operation to an open file, the file object is aborted and all operations to the file except for close will be rejected. +Note that if once this error occured in the operation to an open file, the file object is aborted and any operation to the file except for close will be rejected.
FR_NOT_READY
@@ -38,46 +38,46 @@ Note that if once this error occured at any operation to an open file, the file
  • No medium in the drive.
  • Wrong lower layer implementation.
  • Wrong hardware configuration.
  • -
  • The storage device has been broken.
  • +
  • The storage device has broken.
  • FR_NO_FILE
    -
    Could not find the file.
    +
    Could not find the file in the directory.
    FR_NO_PATH
    -
    Could not find the path.
    +
    Could not find the path. A directory in the path name could not be found.
    FR_INVALID_NAME
    -
    The given string is invalid as the path name. One of the following possibilities is suspected. +
    The given string is invalid as a path name. One of the following possibilities is suspected.
    FR_DENIED
    The required access was denied due to one of the following reasons:
    FR_EXIST
    -
    Name collision. An object with the same name is already existing.
    +
    Name collision. An object with the same name is already existing in the directory.
    FR_INVALID_OBJECT
    The file/directory object is invalid or a null pointer is given. There are some reasons as follows: @@ -87,20 +87,25 @@ Note that if once this error occured at any operation to an open file, the file
    A write mode operation against the write-protected media.
    FR_INVALID_DRIVE
    -
    Invalid drive number is specified in the path name. A null pointer is given as the path name. (Related option: FF_VOLUMES)
    +
    Invalid drive number is specified in the path name or a null pointer is given as the path name. (Related option: FF_VOLUMES)
    FR_NOT_ENABLED
    Work area for the logical drive has not been registered by f_mount function.
    FR_NO_FILESYSTEM
    -
    There is no valid FAT volume on the drive or wrong lower layer implementation.
    +
    Valid FAT volume could not be found in the drive. One of the following possibilities is suspected. +
    FR_MKFS_ABORTED
    The f_mkfs function aborted before start in format due to a reason as follows:
    -- cgit v1.2.3