Getting Started
From FullFAT
For a comprehensive Getting Started guide, please refer to the Windows Demonstration.
FullFAT can be used in 4 stages:
1. Creation and device registration.
- Call FF_CreateIOMAN() -- This can be thought of as an IO/Manager, or partition handle.
- Register a device driver with FF_RegisterBlkDevice().
2. Device mounting.
- Call FF_MountPartition() -- This attempts to mount a partition from the provided blockdevice driver.
3. File I/O and FS Transactions.
- Use FF_Open() -- to Open files.
- Use FF_Read() -- to Read files.
- Use FF_Write() -- to Write files.
- Use FF_Close() -- to close files.
- See API -- for information on other File I/O api's, and directory management.
4. Dis-mounting, and cleanup.
- Use FF_UnmountPartition() -- to unmount partition cleanly.
- USe FF_DestroyIOMAN() -- To free-up the IO/Manager resources.
It really is that simple.