|
HP85 GPIB Disk Emulator
1.0
HP85GPIBDiskEmulator
|
#include "ffconf.h"Go to the source code of this file.
Data Structures | |
| struct | FATFS |
| struct | FFOBJID |
| struct | FIL |
| struct | DIR |
| struct | FILINFO |
| struct | MKFS_PARM |
Macros | |
| #define | FF_DEFINED 86606 /* Revision ID */ |
| #define | FF_INTDEF 1 |
| #define | _INC_TCHAR |
| #define | _T(x) x |
| #define | _TEXT(x) x |
| #define | f_eof(fp) ((int)((fp)->fptr == (fp)->obj.objsize)) |
| #define | f_error(fp) ((fp)->err) |
| #define | f_tell(fp) ((fp)->fptr) |
| #define | f_size(fp) ((fp)->obj.objsize) |
| #define | f_rewind(fp) f_lseek((fp), 0) |
| #define | f_rewinddir(dp) f_readdir((dp), 0) |
| #define | f_rmdir(path) f_unlink(path) |
| #define | f_unmount(path) f_mount(0, path, 0) |
| #define | EOF (-1) |
| #define | FA_READ 0x01 |
| #define | FA_WRITE 0x02 |
| #define | FA_OPEN_EXISTING 0x00 |
| #define | FA_CREATE_NEW 0x04 |
| #define | FA_CREATE_ALWAYS 0x08 |
| #define | FA_OPEN_ALWAYS 0x10 |
| #define | FA_OPEN_APPEND 0x30 |
| #define | CREATE_LINKMAP ((FSIZE_t)0 - 1) |
| #define | FM_FAT 0x01 |
| #define | FM_FAT32 0x02 |
| #define | FM_EXFAT 0x04 |
| #define | FM_ANY 0x07 |
| #define | FM_SFD 0x08 |
| #define | FS_FAT12 1 |
| #define | FS_FAT16 2 |
| #define | FS_FAT32 3 |
| #define | FS_EXFAT 4 |
| #define | AM_RDO 0x01 /* Read only */ |
| #define | AM_HID 0x02 /* Hidden */ |
| #define | AM_SYS 0x04 /* System */ |
| #define | AM_DIR 0x10 /* Directory */ |
| #define | AM_ARC 0x20 /* Archive */ |
Typedefs | |
| typedef unsigned int | UINT |
| typedef unsigned char | BYTE |
| typedef unsigned short | WORD |
| typedef unsigned long | DWORD |
| typedef WORD | WCHAR |
| typedef char | TCHAR |
| typedef DWORD | FSIZE_t |
| typedef DWORD | LBA_t |
Functions | |
| FRESULT | f_open (FIL *fp, const TCHAR *path, BYTE mode) |
| FRESULT | f_close (FIL *fp) |
| FRESULT | f_read (FIL *fp, void *buff, UINT btr, UINT *br) |
| FRESULT | f_write (FIL *fp, const void *buff, UINT btw, UINT *bw) |
| FRESULT | f_lseek (FIL *fp, FSIZE_t ofs) |
| FRESULT | f_truncate (FIL *fp) |
| FRESULT | f_sync (FIL *fp) |
| FRESULT | f_opendir (DIR *dp, const TCHAR *path) |
| FRESULT | f_closedir (DIR *dp) |
| FRESULT | f_readdir (DIR *dp, FILINFO *fno) |
| FRESULT | f_findfirst (DIR *dp, FILINFO *fno, const TCHAR *path, const TCHAR *pattern) |
| FRESULT | f_findnext (DIR *dp, FILINFO *fno) |
| FRESULT | f_mkdir (const TCHAR *path) |
| FRESULT | f_unlink (const TCHAR *path) |
| FRESULT | f_rename (const TCHAR *path_old, const TCHAR *path_new) |
| FRESULT | f_stat (const TCHAR *path, FILINFO *fno) |
| FRESULT | f_chmod (const TCHAR *path, BYTE attr, BYTE mask) |
| FRESULT | f_utime (const TCHAR *path, const FILINFO *fno) |
| FRESULT | f_chdir (const TCHAR *path) |
| FRESULT | f_chdrive (const TCHAR *path) |
| FRESULT | f_getcwd (TCHAR *buff, UINT len) |
| FRESULT | f_getfree (const TCHAR *path, DWORD *nclst, FATFS **fatfs) |
| FRESULT | f_getlabel (const TCHAR *path, TCHAR *label, DWORD *vsn) |
| FRESULT | f_setlabel (const TCHAR *label) |
| FRESULT | f_forward (FIL *fp, UINT(*func)(const BYTE *, UINT), UINT btf, UINT *bf) |
| FRESULT | f_expand (FIL *fp, FSIZE_t fsz, BYTE opt) |
| FRESULT | f_mount (FATFS *fs, const TCHAR *path, BYTE opt) |
| FRESULT | f_mkfs (const TCHAR *path, const MKFS_PARM *opt, void *work, UINT len) |
| FRESULT | f_fdisk (BYTE pdrv, const LBA_t ptbl[], void *work) |
| FRESULT | f_setcp (WORD cp) |
| int | f_putc (TCHAR c, FIL *fp) |
| int | f_puts (const TCHAR *str, FIL *cp) |
| int | f_printf (FIL *fp, const TCHAR *str,...) |
| TCHAR * | f_gets (TCHAR *buff, int len, FIL *fp) |
| DWORD | get_fattime (void) |
| Read time and convert to FAT32 time. More... | |
| WCHAR | ff_oem2uni (WCHAR oem, WORD cp) |
| WCHAR | ff_uni2oem (DWORD uni, WORD cp) |
| DWORD | ff_wtoupper (DWORD uni) |
| void * | ff_memalloc (UINT msize) |
| void | ff_memfree (void *mblock) |
| enum FRESULT |
Definition at line 5218 of file ff.c.
Referenced by chmod(), and fatfs_tests().
Definition at line 4193 of file ff.c.
Referenced by close(), dbf_close(), and open().
Definition at line 4637 of file ff.c.
Referenced by closedir(), and fatfs_ls().
Definition at line 4703 of file ff.c.
Referenced by f_findfirst().
Definition at line 4790 of file ff.c.
Referenced by fatfs_ls(), and fatfs_status().
Definition at line 5312 of file ff.c.
Referenced by fatfs_status().
Definition at line 4408 of file ff.c.
Referenced by dbf_lseek(), fatfs_getc(), ftruncate(), lseek(), open(), and truncate().
Definition at line 5838 of file ff.c.
Referenced by fatfs_tests(), and mkfs().
Definition at line 3649 of file ff.c.
Referenced by fatfs_tests(), mkfs(), and mmc_init().
Definition at line 3697 of file ff.c.
Referenced by dbf_open(), open(), and truncate().
Definition at line 4571 of file ff.c.
Referenced by f_findfirst(), fatfs_ls(), fatfs_scan_files(), and opendir().
Definition at line 3889 of file ff.c.
Referenced by dbf_read(), fatfs_getc(), and read().
Definition at line 4667 of file ff.c.
Referenced by f_findnext(), fatfs_ls(), fatfs_scan_files(), and readdir().
Definition at line 4880 of file ff.c.
Referenced by ftruncate(), and truncate().
Definition at line 3990 of file ff.c.
Referenced by dbf_write(), fatfs_putc(), and write().
| void* ff_memalloc | ( | UINT | msize | ) |
Definition at line 23 of file ffsystem.c.
Referenced by dir_clear(), and f_mkfs().
| void ff_memfree | ( | void * | mblock | ) |
Definition at line 35 of file ffsystem.c.
Referenced by dir_clear().
Definition at line 15244 of file ffunicode.c.
Referenced by f_getlabel(), get_fileinfo(), and tchar2uni().
Definition at line 15222 of file ffunicode.c.
Referenced by create_name(), f_setlabel(), and put_utf().
Definition at line 15464 of file ffunicode.c.
Referenced by cmp_lfn(), create_name(), dir_find(), f_mkfs(), f_setlabel(), and get_achar().
| DWORD get_fattime | ( | void | ) |
Read time and convert to FAT32 time.
Definition at line 129 of file fatfs_sup.c.
1.8.17