Library Members

Microchip MDD File System Interface

MDDFS Interface Library Help
Library Members

The following functions, variables, structures, and macros are public, but are intended only to be accessed by the library itself. Applications should generally not call these functions or modify these variables.

Enumerations
 
Name 
Description 
 
An enumeration used for various error codes. 
 
An enumeration used for various error codes. 
 
Indicates how to search for file entries in the FILEfind function 
Functions
 
Name 
Description 
 
Read a byte from a buffer 
 
Read a 32-bit double word from a buffer 
 
Read a 16-bit word from a buffer 
 
Function pointer that points to a physical layer's MDD_xxxxx_WriteProtectState function 
Macros
 
Name 
Description 
 
A macro for the attributes for a long-file name entry 
 
A macro for the boot sector boot signature offset 
 
A macro for the boot sector bytes per sector value offset 
 
A macro for the FAT32 boot sector boot signature offset 
 
A macro for the FAT32 boot sector file system type string offset 
 
A macro for the boot sector FAT count value offset 
 
A macro for the boot sector 32-bit sector per FAT value offset 
 
A macro for the boot sector file system type string offset 
 
A macro for the boot sector reserved sector count value offset 
 
A macro for the boot sector start cluster of root directory value offset 
 
A macro for the boot sector root directory entry count value offset 
 
A macro for the boot sector sector per cluster value offset 
 
A macro for the boot sector sectors per FAT value offset 
 
A macro for the boot sector 16-bit total sector count value offset 
 
A macro for the boot sector 32-bit total sector count value offset 
 
Error that indicates that the end of the file has been reached 
 
Error that indicates an attempt to read FAT entries beyond the end of the file 
 
A macro to indicate an empty FAT entry 
 
A macro to indicate the failure of the ReadFAT function 
 
A macro to indicate the failure of the ReadFAT function 
 
A macro for a deleted dir entry marker. 
 
A macro for the last dir entry marker. 
 
A macro used to indicate the length of an 8.3 file extension 
 
A macro used to indicate the length of an 8.3 file name and extension 
 
A macro used to indicate the length of an 8.3 file name 
 
A macro to indicate the last allocatable cluster for FAT12 
 
A macro to indicate the last allocatable cluster for FAT16 
 
A macro to indicate the last allocatable cluster for FAT32 
 
A macro for the first boot sector/MBR signature byte 
 
A macro for the second boot sector/MBR signature byte 
 
A macro indicating the device is formatted with FAT12 
 
A macro indicating the device is formatted with FAT16 
 
A macro indicating the device is formatted with FAT32 
 
MAcro indicating the length of an 8.3 file name in a directory entry 
 
A macro indicating the offset for the master boot record 
 
A macro indicating a dir entry was found 
 
Instruction clock frequency 
 
Peripheral clock frequency 
 
System clock frequency (Hz) 
 
A macro used to set TRIS register bits to input 
 
A macro to indicate the last cluster value for FAT12 
 
A macro to indicate the last cluster value for FAT16 
 
A macro to indicate the last cluster value for FAT32 
 
A mask that indicates the limit of directory entries in a sector 
 
Function pointer to the I/O Initialization Physical Layer function 
 
Function pointer to the Media Initialize Physical Layer function 
 
Function pointer to the Read Capacity Physical Layer function 
 
Function pointer to the Read Sector Size Physical Layer Function 
 
Function pointer to the Sector Read Physical Layer function 
 
Function pointer to the Sector Write Physical Layer function 
 
Function pointer to the Media Shutdown Physical Layer function 
 
A macro indicating that no more files were found 
 
A macro indicating no dir entry was found 
 
A macro indicating the number of bytes in a directory entry. 
 
A macro used to set TRIS register bits to output 
 
A macro to read a byte from RAM 
 
A macro to read a 32-bit word from RAM 
 
A macro to read a 16-bit word from RAM 
 
A macro to write a byte to RAM 
 
Macro indicating the length of a 8.3 file name 
 
Value used for shift operations to calculate the sector offset in a directory 
 
A value that will indicate that a dotdot directory entry points to the root. 
Structures
 
Name 
Description 
 
A structure of the organization of a boot sector. 
 
A structure containing the bios parameter block for a FAT12 file system (in the boot sector) 
 
A structure containing the bios parameter block for a FAT16 file system (in the boot sector) 
 
A structure containing the bios parameter block for a FAT32 file system (in the boot sector) 
 
A structure of the organization of a master boot record. 
 
DISK 
A structure containing information about the device. 
 
Indicates flag conditions for a file object 
 
A partition table entry structure. 
 
A 24-bit data type 
Types
 
Name 
Description 
 
A pointer to a _BootSec structure 
 
A pointer to a _PT_MBR structure 
 
The segment header data type 
Microchip MDD File System Interface 1.2.0 - [Aug 18, 2008]
Copyright © 2008 Microchip Technology, Inc.  All rights reserved.