Events generated by File System - Embedded File System functions. More...
Functions | |
__STATIC_INLINE void | EvrFsEFS_InitDrive (uint32_t drive) |
Event on EFS drive initialization (Op) | |
__STATIC_INLINE void | EvrFsEFS_InitDriver (uint32_t drive, uint32_t driver) |
Event on EFS driver initialization (Op) | |
__STATIC_INLINE void | EvrFsEFS_InitDriverFailed (uint32_t drive, uint32_t driver) |
Event on EFS driver initialization error (Error) | |
__STATIC_INLINE void | EvrFsEFS_UninitDrive (uint32_t drive) |
Event on EFS drive uninitialization (Op) | |
__STATIC_INLINE void | EvrFsEFS_UninitDriver (uint32_t drive, uint32_t driver) |
Event on EFS driver uninitialization (Op) | |
__STATIC_INLINE void | EvrFsEFS_MountDrive (uint32_t drive) |
Event on EFS drive mount (Op) | |
__STATIC_INLINE void | EvrFsEFS_MountDriveSuccess (uint32_t drive) |
Event on successful EFS drive mount (Op) | |
__STATIC_INLINE void | EvrFsEFS_FlashGetInfo (uint32_t drive) |
Event on Flash device info retrieve operation (Op) | |
__STATIC_INLINE void | EvrFsEFS_FlashProgUnitTooBig (uint32_t drive, uint32_t current, uint32_t required) |
Event on Flash program unit too big (Error) | |
__STATIC_INLINE void | EvrFsEFS_FlashCapacity (uint32_t drive, uint32_t capacity) |
Event on retrieved capacity of the Flash device (Error) | |
__STATIC_INLINE void | EvrFsEFS_UnmountDrive (uint32_t drive) |
Event on EFS drive unmount (Op) | |
__STATIC_INLINE void | EvrFsEFS_UnmountDriveSuccess (uint32_t drive) |
Event on successful EFS drive unmount operation (Op) | |
__STATIC_INLINE void | EvrFsEFS_FormatDrive (uint32_t drive) |
Event on EFS drive format (Op) | |
__STATIC_INLINE void | EvrFsEFS_FormatDriveSuccess (uint32_t drive) |
Event on successful EFS drive format operation (Op) | |
__STATIC_INLINE void | EvrFsEFS_FlashEraseChip (uint32_t drive) |
Event on Flash chip erase operation (Op) | |
__STATIC_INLINE void | EvrFsEFS_FlashEraseChipFailed (uint32_t drive) |
Event on Flash chip erase operation error (Error) | |
__STATIC_INLINE void | EvrFsEFS_FlashEraseChipTimeout (uint32_t drive) |
Event on Flash chip erase operation timeout (Error) | |
__STATIC_INLINE void | EvrFsEFS_FlashEraseSectors (uint32_t drive, uint32_t sector, uint32_t cnt) |
Event on Flash sectors erase operation (Op) | |
__STATIC_INLINE void | EvrFsEFS_FileNameInvalid (const char *name, uint32_t len) |
Event on invalid EFS filename specification (Error) | |
__STATIC_INLINE void | EvrFsEFS_FileDelete (uint32_t drive, const char *path) |
Event on EFS file delete (Op) | |
__STATIC_INLINE void | EvrFsEFS_FileRename (uint32_t drive, const char *path, const char *newname) |
Event on EFS file rename (Op) | |
__STATIC_INLINE void | EvrFsEFS_FileNotFound (uint32_t drive) |
Event on EFS file not found (Op) | |
__STATIC_INLINE void | EvrFsEFS_FileAlreadyExists (uint32_t drive) |
Event on EFS file already exists (Op) | |
__STATIC_INLINE void | EvrFsEFS_FreeSpaceRetrieve (uint32_t drive) |
Event on EFS free space retrieve request (Op) | |
__STATIC_INLINE void | EvrFsEFS_FreeSpaceAmount (uint32_t drive, uint32_t free) |
Event on EFS free space retrieval (Op) | |
__STATIC_INLINE void | EvrFsEFS_DriveAnalyze (uint32_t drive) |
Event on EFS drive analyze (Op) | |
__STATIC_INLINE void | EvrFsEFS_DriveAnalyzeSuccess (uint32_t drive, uint32_t factor) |
Event on successful EFS drive analyze (Op) | |
__STATIC_INLINE void | EvrFsEFS_DriveCheck (uint32_t drive) |
Event on EFS drive check (Op) | |
__STATIC_INLINE void | EvrFsEFS_DriveCheckSuccess (uint32_t drive) |
Event on EFS drive check completed without errors (Error) | |
__STATIC_INLINE void | EvrFsEFS_DataAreaOverlap (uint32_t drive) |
Event on EFS user and allocation area overlap detection (Error) | |
__STATIC_INLINE void | EvrFsEFS_FileIdInvalid (uint32_t drive) |
Event on EFS invalid file ID detection (Error) | |
__STATIC_INLINE void | EvrFsEFS_AllocationOrderInvalid (uint32_t drive) |
Event on EFS allocation order error (Error) | |
__STATIC_INLINE void | EvrFsEFS_AllocationAreaOverlap (uint32_t drive) |
Event on EFS allocation area overlap error (Error) | |
__STATIC_INLINE void | EvrFsEFS_DriveDefrag (uint32_t drive) |
Event on EFS drive defrag (Op) | |
__STATIC_INLINE void | EvrFsEFS_FileHandleActive (uint32_t drive, uint32_t h) |
Event (Error) | |
__STATIC_INLINE void | EvrFsEFS_FileHandleUnavailable (uint32_t drive) |
Event on too many open files (Error) | |
__STATIC_INLINE void | EvrFsEFS_FileInUse (uint32_t h) |
Event on EFS file busy (Error) | |
__STATIC_INLINE void | EvrFsEFS_DiskFull (uint32_t drive) |
Event on out of free space on EFS drive (Error) | |
__STATIC_INLINE void | EvrFsEFS_FlashReadFailed (uint32_t drive, uint32_t addr, void *buf, uint32_t cnt) |
Event on Flash driver read data error (Error) | |
__STATIC_INLINE void | EvrFsEFS_FlashReadTimeout (uint32_t drive, uint32_t addr, void *buf, uint32_t cnt) |
Event on Flash driver read data timeout (Error) | |
__STATIC_INLINE void | EvrFsEFS_FlashEraseFailed (uint32_t drive, uint32_t block, uint32_t addr) |
Event on Flash driver read data error (Error) | |
__STATIC_INLINE void | EvrFsEFS_InvalidParameter (uint32_t drive) |
Event on EFS invalid function parameter error (Error) | |
__STATIC_INLINE void | EvrFsEFS_DriveNotMounted (uint32_t drive) |
Event on EFS when using unmounted drive (Error) | |
__STATIC_INLINE void | EvrFsEFS_DriveNotInitialized (uint32_t drive) |
Event on EFS when media driver is not initialized (Error) | |
__STATIC_INLINE void | EvrFsEFS_FileName (const char *buf, uint32_t len) |
Event on EFS file name specification (Detail) | |
__STATIC_INLINE void | EvrFsEFS_FileAllocRead (uint32_t addr, uint32_t end, uint32_t fileID, uint32_t index) |
Event on EFS file allocation info read (Detail) | |
__STATIC_INLINE void | EvrFsEFS_FileAllocWrite (uint32_t addr, uint32_t end, uint32_t fileID, uint32_t index) |
Event on EFS file allocation info write (Detail) | |
Events generated by File System - Embedded File System functions.
FileSystem - Embedded File System
__STATIC_INLINE void EvrFsEFS_AllocationAreaOverlap | ( | uint32_t | drive | ) |
Event on EFS allocation area overlap error (Error)
[in] | drive | 4 byte encoded drive letter |
The event AllocationAreaOverlap is generated when the function fcheck detects an overlapping file allocation record.
__STATIC_INLINE void EvrFsEFS_AllocationOrderInvalid | ( | uint32_t | drive | ) |
Event on EFS allocation order error (Error)
[in] | drive | 4 byte encoded drive letter |
The event AllocationOrderInvalid when the function fcheck detects a non-ascending allocation pointer.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsEFS_DataAreaOverlap | ( | uint32_t | drive | ) |
Event on EFS user and allocation area overlap detection (Error)
[in] | drive | 4 byte encoded drive letter |
The event DataAreaOverlap is generated when the function fcheck detects overlapping in the file allocation area.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsEFS_DiskFull | ( | uint32_t | drive | ) |
Event on out of free space on EFS drive (Error)
[in] | drive | 4 byte encoded drive letter |
The event DiskFull is generated when the disk is out of free space.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsEFS_DriveAnalyze | ( | uint32_t | drive | ) |
Event on EFS drive analyze (Op)
[in] | drive | 4 byte encoded drive letter |
The event DriveAnalyze is generated when the function fanalyse is called and a valid EFS drive is specified.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsEFS_DriveAnalyzeSuccess | ( | uint32_t | drive, |
uint32_t | factor | ||
) |
Event on successful EFS drive analyze (Op)
[in] | drive | 4 byte encoded drive letter |
[in] | factor | defragmentation factor |
The event DriveAnalyzeSuccess is generated when the function fanalyse has finished.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsEFS_DriveCheck | ( | uint32_t | drive | ) |
Event on EFS drive check (Op)
[in] | drive | 4 byte encoded drive letter |
The event DriveCheck is generated when the function fcheck is called and a valid EFS drive is specified.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsEFS_DriveCheckSuccess | ( | uint32_t | drive | ) |
Event on EFS drive check completed without errors (Error)
[in] | drive | 4 byte encoded drive letter |
The event DriveCheckSuccess is generated when the function fcheck executes successfully.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsEFS_DriveDefrag | ( | uint32_t | drive | ) |
Event on EFS drive defrag (Op)
[in] | drive | 4 byte encoded drive letter |
The event DriveDefrag is generated when the function fdefrag is called and a valid EFS drive is specified.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsEFS_DriveNotInitialized | ( | uint32_t | drive | ) |
Event on EFS when media driver is not initialized (Error)
[in] | drive | 4 byte encoded drive letter |
The event DriveNotInitialized is generated when a function operates on an uninitialized EFS drive.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsEFS_DriveNotMounted | ( | uint32_t | drive | ) |
Event on EFS when using unmounted drive (Error)
[in] | drive | 4 byte encoded drive letter |
The event DriveNotMounted is generated when a function fmount operates on an unmounted EFS drive.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsEFS_FileAllocRead | ( | uint32_t | addr, |
uint32_t | end, | ||
uint32_t | fileID, | ||
uint32_t | index | ||
) |
Event on EFS file allocation info read (Detail)
[in] | addr | memory address |
[in] | end | end address of the file fragment |
[in] | fileID | file identification number |
[in] | index | file fragment ordering number |
The event FileAllocRead is generated when file allocation info describing each existing file fragment is read out from the flash memory.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsEFS_FileAllocWrite | ( | uint32_t | addr, |
uint32_t | end, | ||
uint32_t | fileID, | ||
uint32_t | index | ||
) |
Event on EFS file allocation info write (Detail)
[in] | addr | memory address |
[in] | end | end address of the file fragment |
[in] | fileID | file identification number |
[in] | index | file fragment ordering number |
The event FileAllocWrite is generated when file allocation info describing current file fragment is written to the flash memory.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsEFS_FileAlreadyExists | ( | uint32_t | drive | ) |
Event on EFS file already exists (Op)
[in] | drive | 4 byte encoded drive letter |
The event FileAlreadyExists is generated when a function attempts to create a file with a name that exists already.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsEFS_FileDelete | ( | uint32_t | drive, |
const char * | path | ||
) |
Event on EFS file delete (Op)
[in] | drive | 4 byte encoded drive letter |
[in] | path | file path buffer address |
The event FileDelete is generated when the function fdelete is called and a valid EFS drive is specified.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsEFS_FileHandleActive | ( | uint32_t | drive, |
uint32_t | h | ||
) |
Event (Error)
[in] | drive | 4 byte encoded drive letter |
[in] | h | EFS file handle index |
The event FileHandleActive is generated when function fdefrag detects an active file handle.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsEFS_FileHandleUnavailable | ( | uint32_t | drive | ) |
Event on too many open files (Error)
[in] | drive | 4 byte encoded drive letter |
The event FileHandleUnavailable is generated when functions use a file handler that is in use already.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsEFS_FileIdInvalid | ( | uint32_t | drive | ) |
Event on EFS invalid file ID detection (Error)
[in] | drive | 4 byte encoded drive letter |
The event FileIdInvalid is generated when the function fanalyse detects an invalid file ID.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsEFS_FileInUse | ( | uint32_t | h | ) |
Event on EFS file busy (Error)
[in] | h | EFS file handle index |
The event FileInUse is generated when functions try to use a file handler that is in use already.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsEFS_FileName | ( | const char * | buf, |
uint32_t | len | ||
) |
Event on EFS file name specification (Detail)
[in] | buf | filename buffer |
[in] | len | filename length |
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsEFS_FileNameInvalid | ( | const char * | name, |
uint32_t | len | ||
) |
Event on invalid EFS filename specification (Error)
[in] | name | file name buffer |
[in] | len | file name length |
The event FileNameInvalid is generated when invalid file name is specified to the function.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsEFS_FileNotFound | ( | uint32_t | drive | ) |
Event on EFS file not found (Op)
[in] | drive | 4 byte encoded drive letter |
The event FileNotFound is generated when an operation executes on a unknown file.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsEFS_FileRename | ( | uint32_t | drive, |
const char * | path, | ||
const char * | newname | ||
) |
Event on EFS file rename (Op)
[in] | drive | 4 byte encoded drive letter |
[in] | path | file path buffer address |
[in] | newname | new file name buffer address |
The event FileRename is generated when the function frename is called and a valid EFS drive is specified.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsEFS_FlashCapacity | ( | uint32_t | drive, |
uint32_t | capacity | ||
) |
Event on retrieved capacity of the Flash device (Error)
[in] | drive | 4 byte encoded drive letter |
[in] | capacity | flash device capacity in bytes |
The event FlashCapacity is generated when EFS determines the flash device capacity.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsEFS_FlashEraseChip | ( | uint32_t | drive | ) |
Event on Flash chip erase operation (Op)
[in] | drive | 4 byte encoded drive letter |
The event FlashEraseChip is generated when the function fformat erases the chip content.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsEFS_FlashEraseChipFailed | ( | uint32_t | drive | ) |
Event on Flash chip erase operation error (Error)
[in] | drive | 4 byte encoded drive letter |
The event FlashEraseChipFailed is generated when the function fformat failed to erase the chip.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsEFS_FlashEraseChipTimeout | ( | uint32_t | drive | ) |
Event on Flash chip erase operation timeout (Error)
[in] | drive | 4 byte encoded drive letter |
The event FlashEraseChipTimeout is generated when the attempt to erase the chip failed on timeout.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsEFS_FlashEraseFailed | ( | uint32_t | drive, |
uint32_t | block, | ||
uint32_t | addr | ||
) |
Event on Flash driver read data error (Error)
[in] | drive | 4 byte encoded drive letter |
[in] | block | block number |
[in] | addr | block address |
The event FlashEraseFailed is generated when EFS fails to erase a memory block.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsEFS_FlashEraseSectors | ( | uint32_t | drive, |
uint32_t | sector, | ||
uint32_t | cnt | ||
) |
Event on Flash sectors erase operation (Op)
[in] | drive | 4 byte encoded drive letter |
[in] | sector | first sector to erase |
[in] | cnt | number of sectors to erase |
The event FlashEraseSectors is generated when the attempt is made to erase chip sectors during Flash programming.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsEFS_FlashGetInfo | ( | uint32_t | drive | ) |
Event on Flash device info retrieve operation (Op)
[in] | drive | 4 byte encoded drive letter |
The event FlashGetInfo is generated when the function fmount attempts to retrieve Flash information.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsEFS_FlashProgUnitTooBig | ( | uint32_t | drive, |
uint32_t | current, | ||
uint32_t | required | ||
) |
Event on Flash program unit too big (Error)
[in] | drive | 4 byte encoded drive letter |
[in] | current | current program unit in bytes |
[in] | required | required program unit in bytes |
The event FlashProgUnitTooBig is generated when CMSIS Flash driver reports smallest programmable unit that is to big.
Embedded File System requires smallest programmable unit smaller than or equal to 4 bytes.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsEFS_FlashReadFailed | ( | uint32_t | drive, |
uint32_t | addr, | ||
void * | buf, | ||
uint32_t | cnt | ||
) |
Event on Flash driver read data error (Error)
[in] | drive | 4 byte encoded drive letter |
[in] | addr | block address |
[in] | buf | data buffer address |
[in] | cnt | number of bytes to read |
The event FlashReadFailed is generated when reading from Flash failed.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsEFS_FlashReadTimeout | ( | uint32_t | drive, |
uint32_t | addr, | ||
void * | buf, | ||
uint32_t | cnt | ||
) |
Event on Flash driver read data timeout (Error)
[in] | drive | 4 byte encoded drive letter |
[in] | addr | block address |
[in] | buf | data buffer address |
[in] | cnt | number of bytes to read |
The event FlashReadTimeout is generated when reading from Flash failed on timeout.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsEFS_FormatDrive | ( | uint32_t | drive | ) |
Event on EFS drive format (Op)
[in] | drive | 4 byte encoded drive letter |
The event FormatDrive is generated when the function fformat is called and a valid EFS drive is specified.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsEFS_FormatDriveSuccess | ( | uint32_t | drive | ) |
Event on successful EFS drive format operation (Op)
[in] | drive | 4 byte encoded drive letter |
The event FormatDriveSuccess is generated when the function fformat executed successfully.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsEFS_FreeSpaceAmount | ( | uint32_t | drive, |
uint32_t | free | ||
) |
Event on EFS free space retrieval (Op)
[in] | drive | 4 byte encoded drive letter |
[in] | free | free space amount |
The event FreeSpaceAmount is generated when the function ffree executed successfully.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsEFS_FreeSpaceRetrieve | ( | uint32_t | drive | ) |
Event on EFS free space retrieve request (Op)
[in] | drive | 4 byte encoded drive letter |
The event FreeSpaceRetrieve is generated when the function ffree is called and a valid EFS drive is specified.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsEFS_InitDrive | ( | uint32_t | drive | ) |
Event on EFS drive initialization (Op)
[in] | drive | 4 byte encoded drive letter |
The event InitDrive is generated when the function finit is called and a valid EFS drive is specified.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsEFS_InitDriver | ( | uint32_t | drive, |
uint32_t | driver | ||
) |
Event on EFS driver initialization (Op)
[in] | drive | 4 byte encoded drive letter |
[in] | driver | CMSIS Flash driver control block address |
The event InitDriver is generated when the system initializes the media driver.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsEFS_InitDriverFailed | ( | uint32_t | drive, |
uint32_t | driver | ||
) |
Event on EFS driver initialization error (Error)
[in] | drive | 4 byte encoded drive letter |
[in] | driver | CMSIS Flash driver control block address |
The event InitDriverFailed is generated when the system failed to initialize the media driver.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsEFS_InvalidParameter | ( | uint32_t | drive | ) |
Event on EFS invalid function parameter error (Error)
[in] | drive | 4 byte encoded drive letter |
The event InvalidParameter is generated when functions are called with wrong parameters.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsEFS_MountDrive | ( | uint32_t | drive | ) |
Event on EFS drive mount (Op)
[in] | drive | 4 byte encoded drive letter |
The event MountDrive is generated when the function fmount is called and a valid EFS drive is specified.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsEFS_MountDriveSuccess | ( | uint32_t | drive | ) |
Event on successful EFS drive mount (Op)
[in] | drive | 4 byte encoded drive letter |
The event MountDriveSuccess is generated when EFS drive is successfully mounted.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsEFS_UninitDrive | ( | uint32_t | drive | ) |
Event on EFS drive uninitialization (Op)
[in] | drive | 4 byte encoded drive letter |
The event UninitDrive is generated when the function funinit is called and a valid EFS drive is specified.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsEFS_UninitDriver | ( | uint32_t | drive, |
uint32_t | driver | ||
) |
Event on EFS driver uninitialization (Op)
[in] | drive | 4 byte encoded drive letter |
[in] | driver | CMSIS Flash driver control block address |
The event UninitDriver is generated when the system uninitializes the media driver.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsEFS_UnmountDrive | ( | uint32_t | drive | ) |
Event on EFS drive unmount (Op)
[in] | drive | 4 byte encoded drive letter |
The event UnmountDrive is generated when the function funmount is called and a valid EFS drive is specified.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsEFS_UnmountDriveSuccess | ( | uint32_t | drive | ) |
Event on successful EFS drive unmount operation (Op)
[in] | drive | 4 byte encoded drive letter |
The event UnmountDriveSuccess is generated when the function funmount executed successfully.
Value in the Event Recorder shows: