Logical Drive Data Structures Reference.
More...
◆ logical_drive_vector_table_t
The struct represents a table of function pointers and it used used by logical_drive_t struct, in order to call up correct functions for the file system type being used by the logical drive.
◆ fatfs_initialize()
This API function will initialize the fatfs_drive
, by zeroing fatfs
structure making it ready to be used, as well as setting vector table vtptr
inside base
to point to functions relevant for FatFs operations. It also sets type
inside base
struct to be FS_TYPE_FATFS, signaling at the same time that logical drive is initialized and that its type is FatFs. All other values are set to zeros.
- Postcondition
- Logical drive
fatfs_drive
is now ready to be used by filesystem.