AWECore 8.C.1 API Document
|
The DSPC Flash File System Instance. More...
#include <Include/AWECore.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 [62] |
Reserved member. | |
The DSPC Flash File System Instance.
Optional – SINGLE INSTANCE ONLY
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.