Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages | Examples

PHAT12 Support
[PHAT File System]

Collaboration diagram for PHAT12 Support:


Detailed Description

PHAT12 specific routines.


Defines

#define PHAT12CMASK   0x0FFF

Functions

int Phat12GetClusterLink (NUTDEVICE *dev, u_long clust, u_long *link)
 Get link value of a specified cluster.
int Phat12SetClusterLink (NUTDEVICE *dev, u_long clust, u_long link)
 Set link value of a specified cluster.
int Phat12ReleaseChain (NUTDEVICE *dev, u_long first)
 Release a cluster chain.


Function Documentation

int Phat12GetClusterLink NUTDEVICE dev,
u_long  clust,
u_long link
 

Get link value of a specified cluster.

Parameters:
dev Specifies the file system device.
clust Get the link of this cluster.
link Pointer to a variable which will receive the link.
Returns:
0 on success or -1 on failure.

int Phat12SetClusterLink NUTDEVICE dev,
u_long  clust,
u_long  link
 

Set link value of a specified cluster.

Parameters:
dev Specifies the file system device.
clust This cluster will be linked.
link Link to this cluster.
Returns:
0 on success or -1 on failure.

int Phat12ReleaseChain NUTDEVICE dev,
u_long  first
 

Release a cluster chain.

Parameters:
dev Specifies the file system device.
first First cluster of the chain to release.
Returns:
0 on success or -1 on failure.


© 2000-2006 by egnite Software GmbH - visit http://www.ethernut.de/