On Time RTOS-32 Documentation
Welcome
RTTarget-32
RTKernel-32
RTFiles-32
RTFiles-32 Programming Manual
Introduction
The FAT File System Structure
The ISO 9660 File System Structure
The exFAT File System Structure
Benefits of the exFAT File System
API Differences Between FAT and exFAT
RTFiles-32 in Embedded Applications
RTFiles-32 APIs
Configuring RTFiles-32
Demo Programs
Advanced Topics
RTFiles-32 Reference Manual
RTIP-32
RTPEG-32
RTUSB-32
|
API Differences Between FAT and exFAT
RTFiles-32 presents an exFAT file system much like a FAT file system to the application. For example, function RTFFindFirstEx can return a FAT directory entry of a file. The same structure is also returned for files located on an exFAT volume even though exFAT uses a completely different structure. RTFiles-32 translates the exFAT format to the FAT format to allow applications to use a uniform API which does not depend on or change with the accessed file system. However, the following RTFiles-32 API functions may behave differently on exFAT volumes:
- If a function returns structure RTFDOSDirEntry, the file name and extension stored in structure RTFDOSDirEntry is invalid (FileName[0] is '\0'). Unlike FAT, exFAT does not have short file names.
- For the reasons given in the previous paragraph, function RTFMakeFileName cannot be used on exFAT volumes.
- Function RTFGetDiskInfoEx does not support flag RTF_DI_FAT_STATISTICS. If it is nevertheless specified, it will be unset in the function's return value.
- Function RTFFormat cannot create exFAT volumes. Please use RTFFormatExFAT instead.
The exFAT File System Structure
Benefits of the exFAT File System
|