Cluster2Sector Function

Microchip MDD File System Interface

MDDFS Interface Library Help
Cluster2Sector Function
C
DWORD Cluster2Sector(
    DISK * disk, 
    DWORD cluster
);
Description

The Cluster2Sector function will calculate the sector number that corresponds to the first sector of the cluster whose value was passed into the function.

Preconditions

This function should not be called by the user.

Parameters
Parameters 
Description 
disk 
Disk structure 
cluster 
Cluster to be converted 
Returns

sector - Sector that corresponds to given cluster

Side Effects

None

Remarks

None.

Microchip MDD File System Interface 1.2.0 - [Aug 18, 2008]
Copyright © 2008 Microchip Technology, Inc.  All rights reserved.