mikroSDK Reference Manual
logical_drive_t Struct Reference

Logical Drive Base Data Structure. More...

Data Fields

logical_drive_vector_table_tvtptr
 
logical_drive_type_t type
 
uint8_t volume_id
 
uint8_t object_count
 
uint8_t error
 

Detailed Description

Keeps track of the relevant data for the logical drive and manages what APIs, are being called depending on what type of file system it is initialized in. It's intended usage is, as a base structure of a derived structures, eg. fatfs_logical_drive_t. It is not intended to be used independently.

Field Documentation

◆ vtptr

logical_drive_vector_table_t* logical_drive_t::vtptr

Logical drive table with function pointers to specific file system APIs implementations. See logical_drive_vector_table_t structure.

◆ type

logical_drive_type_t logical_drive_t::type

Type of files system that this logical drive uses. See logical_drive_type_t structure

◆ volume_id

uint8_t logical_drive_t::volume_id

Logical drive id.

◆ object_count

uint8_t logical_drive_t::object_count

Number of open files and directories on this logical drive

◆ error

uint8_t logical_drive_t::error

Tracks APIs statuses and errors on this logical drive