Code Block | ||
---|---|---|
| ||
void FSDev_PartitionInit (CPU_CHAR *name_dev, |
...
FS_SEC_QTY partition_size, |
...
FS_ERR *p_err); |
File | Called from | Code enabled by |
---|---|---|
| Application | not |
Initialize the partition structure on a device. See also section 7-5 “Partitions”also Partitions.
Arguments
name_dev
Device name.
...
Or device access error (see Device µC/FS Error Codes).
Returned Value
None.
Notes/Warnings
- Function blocked if a volume is open on the device. All volume (and files) must be closed prior to initializing the partition structure, since it will obliterate any existing file system.
- Device state change will result from device I/O, not present or timeout error.