Microchip® Advanced Software Framework

Fs_rootdir Union Reference

Union to define a root directory.

#include <fat.h>

Data Fields

struct {
   uint16_t   u16_pos
 Offset between the beginning of FAT and the beginning of root dir (unit 512B) More...
 
   uint16_t   u16_size
 Size of root (unit 512B) More...
 
seg
 For FAT 12 & 16, it is a segment (no cluster list) More...
 
uint32_t u32_cluster
 For FAT32, the root directory is a cluster list. More...
 

struct { ... } Fs_rootdir::seg

For FAT 12 & 16, it is a segment (no cluster list)

Referenced by fat_cluster_list(), and fat_mount().

uint16_t Fs_rootdir::u16_pos

Offset between the beginning of FAT and the beginning of root dir (unit 512B)

Referenced by fat_cluster_list(), and fat_mount().

uint16_t Fs_rootdir::u16_size

Size of root (unit 512B)

Referenced by fat_cluster_list(), and fat_mount().

uint32_t Fs_rootdir::u32_cluster

For FAT32, the root directory is a cluster list.

Referenced by fat_cluster_list(), and fat_mount().