disk_initialize

The disk_initialize function initializes the disk drive.

DSTATUS disk_initialize (
  BYTE Drive           /* Physical drive number */
);

Parameters

Drive
Specifies the physical drive number to initialize.

Return Values

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

Description

The disk_initialize function initializes a physical drive. When the function succeeded, STA_NOINIT flag in the return value is cleard.

Return