# _FATFS_ Struct Reference

`#include <ff.h>`

## Data Fields
BYTE | fs_type
BYTE | drive
BYTE | csize
BYTE | n_fats
BYTE | wflag
BYTE | fsi_flag
WORD | id
WORD | n_rootdir
WORD | s_size
DWORD | last_clust
DWORD | free_clust
DWORD | fsi_sector
DWORD | sects_fat
DWORD | max_clust
DWORD | fatbase
DWORD | dirbase
DWORD | database
DWORD | winsect
BYTE | win [_MAX_SS]

## Field Documentation

BYTE _FATFS_::csize

DWORD _FATFS_::database

DWORD _FATFS_::dirbase

BYTE _FATFS_::drive

DWORD _FATFS_::fatbase

DWORD _FATFS_::free_clust

BYTE _FATFS_::fs_type

BYTE _FATFS_::fsi_flag

DWORD _FATFS_::fsi_sector

WORD _FATFS_::id

DWORD _FATFS_::last_clust

DWORD _FATFS_::max_clust

BYTE _FATFS_::n_fats

WORD _FATFS_::n_rootdir

WORD _FATFS_::s_size

DWORD _FATFS_::sects_fat

BYTE _FATFS_::wflag

BYTE _FATFS_::win[_MAX_SS]

DWORD _FATFS_::winsect

The documentation for this struct was generated from the following file:

- modules/fatfs/src/ff.h