/
FS_DEV_INFO

FS_DEV_INFO

typedef struct fs_dev_info {
    FS_STATE     State; 
    FS_SEC_QTY   Size; 
    FS_SEC_SIZE  SecSize;
    CPU_BOOLEAN  Fixed;
  } FS_DEV_INFO;

File

Used for

fs_dev.h

Second argument of FSDev_Query()

Receives information about a device.

Members

State

The device state:

FS_DEV_STATE_CLOSED

Device is closed.

FS_DEV_STATE_CLOSING

Device is closing.

FS_DEV_STATE_OPENING

Device is opening.

FS_DEV_STATE_OPEN

Device is open, but not present.

FS_DEV_STATE_PRESENT

Device is present, but not low-level formatted.

FS_DEV_STATE_LOW_FMT_VALID

Device low-level format is valid.

Size

The number of sectors on the device.

SecSize

The size of each device sector.

Fixed

Indicates whether the device is fixed or removable.

Notes

None.

Related content