Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


...

File Called from Code enabled by1110327
HTML Table
summary
classPlain_Table
Table Row (tr)
Table Cell (td)
Anchor
11103211110321
Table Cell (td)
Anchor
11103231110323
Table Cell (td)
Anchor
11103251110325
Table Row (tr)
Table Cell (td)
Anchor
1110327
Code Block
languagecpp
void  FSDev_PartitionFind (CPU_CHAR            *name_dev,
                           FS_PARTITION_NBR     partition_nbr,
                           FS_PARTITION_ENTRY  *p_partition_entry,
                           FS_ERR              *p_err);


File

Called from

Code enabled by

fs_dev.c

...

Application

...

...

FS_CFG_PARTITION_EN

...

10926101092610Find a partition on a device. Anchor

11235411123541See also section 7-5 “Partitions” on page 95. Anchor11049591104959 Arguments Anchor10926131092613Partitions.

Arguments

name_devanchor11412671141267

Device name.

...

partition_nbr Anchor11412741141274

Index of the partition to find.

Anchor10926151092615p_partition_entry Anchor11412811141281

Pointer to variable that will receive the partition information.

Anchor10926161092616p_err Anchor11412881141288

Pointer to variable that will receive return error code from this function.

...

...

FS_ERR_NONE

...

...

Partition found.

...

classWebWorks_Indent_1

...

FS_ERR_DEV_VOL_OPEN

...

classWebWorks_Indent_2

...

...

Volume open on device.

...

classWebWorks_Indent_1

...

FS_ERR_INVALID_PARTITION

...

classWebWorks_Indent_2

...

Invalid partition.

...

...

FS_ERR_INVALID_SEC_NBR

...

classWebWorks_Indent_2

...

Sector start or count invalid.

...

...

classWebWorks_Indent_1

...

FS_ERR_INVALID_SIG

...

classWebWorks_Indent_2

...

Invalid MBR signature.

...

classWebWorks_Indent_1

...

FS_ERR_NAME_NULL

...

...

classWebWorks_Indent_2

...

Argument name_dev passed a NULL pointer.

...

...

FS_ERR_NULL_PTR

...

...

Argument p_partition_entry passed a NULL pointer.

...

Or device access error (see

...

µC/FS Error Codes).

Returned Value

...

None. Anchor11869871186987

Notes/Warnings

...

  1. Device state change will result from device I/O, not present or timeout error.