X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/4bc81323e51ac138e733c14eeb6f283ae706e904..5013b94fb43ed4e86efb5d1d72350537cd1a3f8f:/fatfs/doc/en/dinit.html diff --git a/fatfs/doc/en/dinit.html b/fatfs/doc/en/dinit.html index c22df47..4a003e7 100644 --- a/fatfs/doc/en/dinit.html +++ b/fatfs/doc/en/dinit.html @@ -25,20 +25,20 @@ DSTATUS disk_initialize (

Parameter

pdrv
-
Physical drive number to identify the target device.
+
Physical drive number to identify the target device. Always zero at single drive system.

Return Values

-

This function returns a disk status as the result. For details of the disk status, refer to the disk_status() function.

+

This function returns the current drive status flags as the result. For details of the drive status, refer to the disk_status function.

Description

-

This function initializes a storage device and put it ready to generic read/write data. When the function succeeded, STA_NOINIT flag in the return value is cleared.

-

Application program MUST NOT call this function, or FAT structure on the volume can be broken. To re-initialize the file system, use f_mount() function instead. This function is called at volume mount process by FatFs module to manage the media change.

+

This function initializes the storage device and put it ready to generic read/write. When the function succeeded, STA_NOINIT flag in the return value is cleared.

+

Remarks: This function needs to be under control of FatFs module. Application program MUST NOT call this function, or FAT structure on the volume can be broken. To re-initialize the file system, use f_mount function instead.

Return