VALUE_BASED_ON_ENTRIES_PER_CLUSTER Macro

Microchip MDD File System Interface

MDDFS Interface Library Help
VALUE_BASED_ON_ENTRIES_PER_CLUSTER Macro
C
#define VALUE_BASED_ON_ENTRIES_PER_CLUSTER 4
Description

The VALUE_BASED_ON_ENTRIES_PER_CLUSTER macro is used to calculate sector offsets for directories. The position of the entry is shifted by 4 bits (divided by 16, since there are 16 entries in a sector) to calculate how many sectors a specified entry is offset from the beginning of the directory.

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