Record FATFS

Hierarchy
Methods
Properties

Unit

Declaration

type FATFS = record

Description

File system object structure

Overview

Fields

fs_type: byte;
flag: byte;
csize: byte;
pad1: byte;
n_rootdir: word;
n_fatent: CLUST;
fatbase: DWORD;
dirbase: DWORD;
database: DWORD;
fptr: DWORD;
fsize: DWORD;
org_clust: CLUST;
curr_clust: CLUST;
dsect: DWORD;

Description

Fields

fs_type: byte;

FAT sub type

flag: byte;

File status flags

csize: byte;

Number of sectors per cluster

pad1: byte;
 
n_rootdir: word;

Number of root directory entries (0 on FAT32)

n_fatent: CLUST;

Number of FAT entries (= number of clusters + 2)

fatbase: DWORD;

FAT start sector

dirbase: DWORD;

Root directory start sector (Cluster# on FAT32)

database: DWORD;

Data start sector

fptr: DWORD;

File R/W pointer

fsize: DWORD;

File size

org_clust: CLUST;

File start cluster

curr_clust: CLUST;

File current cluster

dsect: DWORD;

File current data sector


Generated by PasDoc 0.15.0.