23#ifndef _FLASHFSINSTANCE_H
24#define _FLASHFSINSTANCE_H
57 BOOL (*
cbEraseSector)(UINT32 nStartingAddress, UINT32 nNumberOfSectors);
60 BOOL (*
cbFlashWrite)(UINT32 nFlashAddress, UINT32 * pBuffer, UINT32 nDWordsToWrite);
63 BOOL (*
cbFlashRead)(UINT32 nFlashAddress, UINT32 * pBuffer, UINT32 nDWordsToRead);
70#ifdef FILESYSTEM_FRAMEWORK
80#define FLASH_FS_API_CHANGED
struct _AWEFlashFSInstance AWEFlashFSInstance
The DSPC Flash File System Instance.
The AWE instance.
Definition: AWEInstance.h:45
The DSPC Flash File System Instance.
Definition: FlashFSInstance.h:40
UINT32 flashEraseTimeInMs
Flash erase time in milliseconds.
Definition: FlashFSInstance.h:51
UINT32 _Reserved[59]
Reserved member.
Definition: FlashFSInstance.h:74
BOOL(* cbFlashRead)(UINT32 nFlashAddress, UINT32 *pBuffer, UINT32 nDWordsToRead)
User function to read from flash.
Definition: FlashFSInstance.h:63
INT32(* cbFlashProcessCmd)(struct _AWEInstance *pAWE)
Optional user callback function to return the next command from an awb in flash.
Definition: FlashFSInstance.h:68
BOOL(* cbFlashWrite)(UINT32 nFlashAddress, UINT32 *pBuffer, UINT32 nDWordsToWrite)
User callback function to write to flash.
Definition: FlashFSInstance.h:60
UINT32 flashStartOffsetInBytes
Offset into start of flash used for file system.
Definition: FlashFSInstance.h:48
UINT32 flashSizeInBytes
Size of flash memory - if non-zero, next two values must also be non-zero.
Definition: FlashFSInstance.h:42
BOOL(* cbEraseSector)(UINT32 nStartingAddress, UINT32 nNumberOfSectors)
User callback function to erase one or more sectors.
Definition: FlashFSInstance.h:57
UINT32 flashErasableBlockSizeInBytes
Size of flash erase block.
Definition: FlashFSInstance.h:45
BOOL(* cbInit)(void)
User function to initialize flash file system.
Definition: FlashFSInstance.h:54