mikroSDK Reference Manual
dir_t Struct Reference

Directory Data Structure. More...

Data Fields

logical_drive_tlogical_drive
 
fs_dir_t fs_dir
 

Detailed Description

The struct is used to link file system specific directory data structure fs_dir, to the logical drive struct where the directory is located. It is used as identifier for the directory in Directory Access API functions.

Note
The directory is considered closed or uninitialized when both of its elements are NULL, and if both elements are set the directory is considered to be open. If one element is NULL while the other is not, the directory is considered to be uninitialized.

Field Documentation

◆ logical_drive

logical_drive_t* dir_t::logical_drive

A pointer to base Logical drive structure where the directory is located. See logical_drive_t for detailed explanation.

◆ fs_dir

fs_dir_t dir_t::fs_dir

Directory data structure specific to the particular file system in which logical_drive is initialized.