Versions Compared

Key

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

...

void  FSDev_PartitionInit (CPU_CHAR    *name_dev,

...

                           FS_SEC_QTY   partition_size,

...

                           FS_ERR      *p_err);

...

...

File

...

...

Called from

...

...

Code enabled by

...

...

fs_dev.c

...

...

Application

...

not FS_CFG_RD_ONLY_EN

...

Initialize the partition structure on a device. See also section 7-5 “Partitions” on page 95. Anchor11049711104971

Arguments

...

name_dev Anchor11413441141344

Device name.

...

1092640partition_size Anchor11413511141351

Size of partition, in sectors. OR

...

0, if partition will occupy entire device.

Anchor10926431092643p_err Anchor11413721141372

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

...

classWebWorks_Indent_1

...

...

FS_ERR_NONE

...

classWebWorks_Indent_2

...

...

Partition structure initialized.

...

classWebWorks_Indent_1

...

FS_ERR_DEV_VOL_OPEN

...

...

classWebWorks_Indent_2

...

Volume open on device.

...

classWebWorks_Indent_1

...

FS_ERR_INVALID_SEC_NBR

...

...

Sector start or count invalid.

...

...

classWebWorks_Indent_1

...

FS_ERR_NAME_NULL

...

classWebWorks_Indent_2

...

Argument name_dev passed a NULL pointer.

...

Or device access error (see section B-4 “Device Error Codes”

...

).

...

Returned Value

...

None. Anchor11003691100369

Notes/Warnings

...