weAut_01 / weAutSys    R 2.2.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines
Data Fields
FIL Struct Reference

Data Fields

uint32_t clust
 Current cluster of fpter.
uint8_t * dir_ptr
 Pointer to the directory entry in the window.
uint32_t dir_sect
 Sector containing the directory entry.
uint32_t dsect
 Current data sector of fpter.
uint8_t flag
 File status flags.
uint32_t fptr
 File read/write pointer (0ed on file open)
FATFSfs
 Pointer to the related file system object.
uint32_t fsize
 File size.
uint16_t id
 File system mount ID of the related file system object.
uint8_t pad1
 Fill byte.
uint32_t sclust
 File data start cluster (0:no data cluster, always 0 when fsize is 0)

Detailed Description

File object structure (FIL)

A structure of this type holds the state of an open file initialised by f_open() and subsequently used by file functions.

Internal hint: some parts of ChaN's fatFS software assume the beginning of DIR and FIL being identical.

See also:
DIR

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