Skip to content

_AWEFlashFSInstance

The DSPC Flash File System Instance. More...

#include <Include/FlashFSInstance.h>

Public Attributes

Name
UINT32 flashSizeInBytes
Size of flash memory - if non-zero, next two values must also be non-zero.
UINT32 flashErasableBlockSizeInBytes
Size of flash erase block.
UINT32 flashStartOffsetInBytes
Offset into start of flash used for file system.
UINT32 flashEraseTimeInMs
Flash erase time in milliseconds.
BOOL(*)(void) cbInit
User function to initialize flash file system.
BOOL(*)(UINT32 nStartingAddress, UINT32 nNumberOfSectors) cbEraseSector
User callback function to erase one or more sectors.
BOOL()(UINT32 nFlashAddress, UINT32 pBuffer, UINT32 nDWordsToWrite) cbFlashWrite
User callback function to write to flash.
BOOL()(UINT32 nFlashAddress, UINT32 pBuffer, UINT32 nDWordsToRead) cbFlashRead
User function to read from flash.
INT32()(struct _AWEInstance pAWE) cbFlashProcessCmd
Optional user callback function to return the next command from an awb in flash.
UINT32[59] _Reserved
Reserved member.

Detailed Description

struct _AWEFlashFSInstance;

The DSPC Flash File System Instance.

Optional – SINGLE INSTANCE ONLY

Public Attributes Documentation

variable flashSizeInBytes

UINT32 flashSizeInBytes;

Size of flash memory - if non-zero, next two values must also be non-zero.

variable flashErasableBlockSizeInBytes

UINT32 flashErasableBlockSizeInBytes;

Size of flash erase block.

variable flashStartOffsetInBytes

UINT32 flashStartOffsetInBytes;

Offset into start of flash used for file system.

variable flashEraseTimeInMs

UINT32 flashEraseTimeInMs;

Flash erase time in milliseconds.

variable cbInit

BOOL(*)(void) cbInit;

User function to initialize flash file system.

variable cbEraseSector

BOOL(*)(UINT32 nStartingAddress, UINT32 nNumberOfSectors) cbEraseSector;

User callback function to erase one or more sectors.

variable cbFlashWrite

BOOL(*)(UINT32 nFlashAddress, UINT32 *pBuffer, UINT32 nDWordsToWrite) cbFlashWrite;

User callback function to write to flash.

variable cbFlashRead

BOOL(*)(UINT32 nFlashAddress, UINT32 *pBuffer, UINT32 nDWordsToRead) cbFlashRead;

User function to read from flash.

variable cbFlashProcessCmd

INT32(*)(struct _AWEInstance *pAWE) cbFlashProcessCmd;

Optional user callback function to return the next command from an awb in flash.

Only required for multi-instance BSPs. If not defined, awb commands are processed internally in the associated AWEInstance. The command to be processed is in pAWE->pPacketBuffer. Parse the instanceID/opcode with AWECoreUtils, and route/process it on the desired instance.

variable _Reserved

UINT32[59] _Reserved;

Reserved member.


Updated on 2026-02-10 at 15:44:28 -0500