PHAT file descriptor structure. More...
#include <phatfs.h>
Data Fields | |
uint32_t | f_pos |
Current position into the file. | |
uint32_t | f_clust |
Current cluster. | |
uint32_t | f_clust_pos |
Sector within the current cluster. | |
uint32_t | f_sect_pos |
Position within the sector. | |
uint32_t | f_clust_prv |
Previous cluster used,. | |
uint32_t | f_mode |
File open mode flags. | |
PHATDIRENT | f_dirent |
Directory entry of this file. | |
uint32_t | f_de_sect |
Sector of the directory entry. | |
uint32_t | f_de_offs |
Offset into the sector containing the directory entry. | |
unsigned int | f_de_dirty |
Directory entry change marker. | |
uint16_t | f_pde_clust |
First cluster of the parent directory, low word. | |
uint16_t | f_pde_clusthi |
First cluster of the parent directory, high word. |
PHAT file descriptor structure.
Current position into the file.
Referenced by PhatDbgFileInfo(), PhatFilePosRewind(), PhatFilePosSet(), PhatFileRead(), and PhatFileWrite().
Current cluster.
Referenced by PhatDbgFileInfo(), PhatDirCreate(), PhatDirOpen(), PhatFileOpen(), PhatFilePosRewind(), PhatFilePosSet(), PhatFileRead(), and PhatFileWrite().
Sector within the current cluster.
Referenced by PhatDbgFileInfo(), PhatDirOpen(), PhatFileOpen(), PhatFilePosRewind(), PhatFilePosSet(), PhatFileRead(), and PhatFileWrite().
Position within the sector.
Referenced by PhatDbgFileInfo(), PhatDirOpen(), PhatFileOpen(), PhatFilePosRewind(), PhatFilePosSet(), PhatFileRead(), and PhatFileWrite().
Previous cluster used,.
Referenced by PhatDbgFileInfo(), PhatDirCreate(), PhatDirOpen(), PhatFilePosSet(), PhatFileRead(), and PhatFileWrite().
File open mode flags.
Referenced by PhatDirOpen(), and PhatFileOpen().
Directory entry of this file.
Referenced by PhatDbgFileInfo(), PhatDirCreate(), PhatDirOpen(), PhatFileOpen(), PhatFilePosRewind(), PhatFilePosSet(), PhatFileRead(), and PhatFileWrite().
Sector of the directory entry.
For the root directory this value is zero, because the root doesn't have any entry in another directory.
Referenced by PhatDbgFileInfo(), PhatDirOpen(), and PhatFileOpen().
Offset into the sector containing the directory entry.
Referenced by PhatDbgFileInfo(), PhatDirOpen(), and PhatFileOpen().
unsigned int _PHATFILE::f_de_dirty |
Directory entry change marker.
Referenced by PhatDbgFileInfo(), PhatFileOpen(), and PhatFileWrite().
First cluster of the parent directory, low word.
Our directory entry is located in this cluster.
Referenced by PhatDbgFileInfo(), PhatDirCreate(), PhatDirOpen(), and PhatFileOpen().
First cluster of the parent directory, high word.
Referenced by PhatDbgFileInfo(), PhatDirCreate(), PhatDirOpen(), and PhatFileOpen().