AWE Core 8.D.6 Documentation
Data Fields
_AWEFlashFSInstance Struct Reference

The DSPC Flash File System Instance. More...

#include <Include/FlashFSInstance.h>

Data Fields

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(* cbInit )(void)
 User function to initialize flash file system.
 
BOOL(* cbEraseSector )(UINT32 nStartingAddress, UINT32 nNumberOfSectors)
 User callback function to erase one or more sectors.
 
BOOL(* cbFlashWrite )(UINT32 nFlashAddress, UINT32 *pBuffer, UINT32 nDWordsToWrite)
 User callback function to write to flash.
 
BOOL(* cbFlashRead )(UINT32 nFlashAddress, UINT32 *pBuffer, UINT32 nDWordsToRead)
 User function to read from flash.
 
INT32(* cbFlashProcessCmd )(struct _AWEInstance *pAWE)
 Optional user callback function to return the next command from an awb in flash. More...
 
UINT32 _Reserved [59]
 Reserved member.
 

Detailed Description

The DSPC Flash File System Instance.

Optional – SINGLE INSTANCE ONLY

Field Documentation

◆ cbFlashProcessCmd

INT32(* _AWEFlashFSInstance::cbFlashProcessCmd) (struct _AWEInstance *pAWE)

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.


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