FatFs - disk_initialize

## disk_initialize

The disk_initialize function initializes the disk drive.

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

#### Parameter

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.

This function is called from volume mount process in the FatFs module to manage the media change. Application program must not call this function while FatFs module is active, or FAT structure on the drive may be collapted.

#### Description

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

Return