Home
last modified time | relevance | path

Searched refs:BYTE (Results 1 – 4 of 4) sorted by relevance

/fatfs-latest/include/
Dff.h51 typedef unsigned char BYTE; /* char must be 8-bit */
60 typedef unsigned char BYTE; /* char must be 8-bit */
117 BYTE pd; /* Associated physical drive */
118 BYTE pt; /* Associated partition (0:Auto detect, 1-4:Forced partition) */
134 BYTE fs_type; /* Filesystem type (0:blank filesystem object) */
135 BYTE pdrv; /* Volume hosting physical drive */
136 BYTE ldrv; /* Logical drive number (used only when FF_FS_REENTRANT) */
137 BYTE n_fats; /* Number of FATs (1 or 2) */
138 BYTE wflag; /* win[] status (1:dirty) */
139 BYTE fsi_flag; /* Allocation information control (b7:disabled, b0:dirty) */
[all …]
Ddiskio.h13 typedef BYTE DSTATUS;
29 DSTATUS disk_initialize (BYTE pdrv);
30 DSTATUS disk_status (BYTE pdrv);
31 DRESULT disk_read (BYTE pdrv, BYTE* buff, LBA_t sector, UINT count);
32 DRESULT disk_write (BYTE pdrv, const BYTE* buff, LBA_t sector, UINT count);
33 DRESULT disk_ioctl (BYTE pdrv, BYTE cmd, void* buff);
/fatfs-latest/
Dff.c235 #define ABORT(fs, res) { fp->err = (BYTE)(res); LEAVE_FF(fs, res); }
254 #define LD2PD(vol) (BYTE)(vol) /* Each logical drive is associated with the same physical drive num…
469 static BYTE CurrVol; /* Current drive number set by f_chdrive() */
475 static volatile BYTE SysLock; /* System lock flag to protect Files[] (0:no mutex, 1:unlocked, 2:lo…
476 static volatile BYTE SysLockVolume; /* Volume id who is locking Files[] */
490 static const BYTE GUID_MS_Basic[16] = {0xA2,0xA0,0xD0,0xEB,0xE5,0xB9,0x33,0x44,0x87,0xC0,0x68,0xB6,…
518 static const BYTE LfnOfs[] = {1,3,5,7,9,14,16,18,20,22,24,28,30}; /* FAT: Offset of LFN characters …
523 static BYTE DirBuf[MAXDIRB(FF_MAX_LFN)]; /* Directory entry block scratchpad buffer */
533 #define DEF_NAMBUF WCHAR lbuf[FF_MAX_LFN+1]; BYTE dbuf[MAXDIRB(FF_MAX_LFN)]; /* LFN working buffer…
546 …fn) LEAVE_FF(fs, FR_NOT_ENOUGH_CORE); (fs)->lfnbuf = lfn; (fs)->dirbuf = (BYTE*)(lfn+FF_MAX_LFN+1)…
[all …]
Ddiskio.c24 BYTE pdrv /* Physical drive nmuber to identify the drive */ in disk_status()
62 BYTE pdrv /* Physical drive nmuber to identify the drive */ in disk_initialize()
100 BYTE pdrv, /* Physical drive nmuber to identify the drive */ in disk_read()
101 BYTE *buff, /* Data buffer to store read data */ in disk_read()
150 BYTE pdrv, /* Physical drive nmuber to identify the drive */ in disk_write()
151 const BYTE *buff, /* Data to be written */ in disk_write()
199 BYTE pdrv, /* Physical drive nmuber (0..) */ in disk_ioctl()
200 BYTE cmd, /* Control code */ in disk_ioctl()