Interface: tos.chips.at45db.At45dbVolume

interface At45dbVolume

AT45DB interface for managing flash volumes.

Author:
David Gay

Commands
command at45page_t remap(at45page_t volumePage) Map a volume page to the corresponding page in the whole flash
command at45page_t volumeSize() Find the flash volume size

Commands - Details

remap

command at45page_t remap(at45page_t volumePage)

Map a volume page to the corresponding page in the whole flash

Returns:
What flash page this volume page maps to, or AT45_MAX_PAGES for invalid volumes

volumeSize

command at45page_t volumeSize()

Find the flash volume size

Returns:
Flash volume size in pages