Atmel Software Framework

Fs_clusterlist_cache Struct Reference

Structure to store the cluster list cache.

#include <fat.h>

Data Fields

bool b_cache_file
 Signal a cluster cache from file cluster list or directory cluster list. More...
 
uint32_t u32_addr
 Address corresponding at the position "start" in cluster list. More...
 
uint32_t u32_cluster
 First cluster of cluster list. More...
 
uint32_t u32_size
 Cluster list size. More...
 
uint32_t u32_start
 Start position in the cluster list (unit 512B) More...
 
uint8_t u8_level_use
 Cache level, 0 for the last used and up to FS_NB_CACHE_CLUSLIST-1 for the old access (ignore if FS_NB_CACHE_CLUSLIST=1) More...
 
uint8_t u8_lun
 LUN of cluster list. More...
 

bool Fs_clusterlist_cache::b_cache_file

Signal a cluster cache from file cluster list or directory cluster list.

Referenced by fat_cache_clusterlist_reset(), fat_cache_clusterlist_update_select(), and fat_cache_clusterlist_update_start().

uint32_t Fs_clusterlist_cache::u32_addr

Address corresponding at the position "start" in cluster list.

Referenced by fat_cache_clusterlist_update_finish(), and fat_cache_clusterlist_update_read().

uint32_t Fs_clusterlist_cache::u32_cluster

First cluster of cluster list.

Referenced by fat_cache_clusterlist_update_start().

uint32_t Fs_clusterlist_cache::u32_size
uint32_t Fs_clusterlist_cache::u32_start
uint8_t Fs_clusterlist_cache::u8_level_use

Cache level, 0 for the last used and up to FS_NB_CACHE_CLUSLIST-1 for the old access (ignore if FS_NB_CACHE_CLUSLIST=1)

Referenced by fat_cache_clusterlist_reset(), fat_cache_clusterlist_update_select(), and fat_cache_clusterlist_update_start().