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 |
...
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.