- Main Page
- Modules
- Data Structures
- Files
- Related Pages

- Alphabetical List
- Data Structures
- Data Fields

# Fs_sector_cache Struct Reference

Struture to store the information about sector cache (=last sector read or write on disk). More...

`#include <fat.h>`

## Data Fields
U8 | u8_lun
| LUN of sector.
U32 | u32_addr
| Sector address (unit 512B).
U8 | u8_dirty
| Cache status if the sector is a sector from a cluster list THEN.
U32 | u32_clusterlist_start
| first cluster of cluster list
U32 | u32_clusterlist_pos
| position in cluster list (unit 512B)

## Detailed Description

Struture to store the information about sector cache (=last sector read or write on disk).

Definition at line 341 of file fat.h.

## Field Documentation

U8 Fs_sector_cache::u8_lun

LUN of sector.

Definition at line 342 of file fat.h.

Referenced by fat_cache_flush(), fat_cache_read_sector(), fat_cache_reset(), fat_check_device(), fat_read_dir(), and fat_read_file().

U32 Fs_sector_cache::u32_addr

Sector address (unit 512B).

Definition at line 343 of file fat.h.

Referenced by fat_cache_flush(), and fat_cache_read_sector().

U8 Fs_sector_cache::u8_dirty

Cache status if the sector is a sector from a cluster list THEN.

Definition at line 344 of file fat.h.

Referenced by fat_cache_flush(), and fat_cache_reset().

U32 Fs_sector_cache::u32_clusterlist_start

first cluster of cluster list

Definition at line 346 of file fat.h.

Referenced by fat_cache_reset(), fat_read_dir(), and fat_read_file().

U32 Fs_sector_cache::u32_clusterlist_pos

position in cluster list (unit 512B)

Definition at line 347 of file fat.h.

Referenced by fat_read_dir(), and fat_read_file().

The documentation for this struct was generated from the following file:

- fat.h