File System Component  Version 6.16.6
MDK Middleware for Devices with Flash File System
FsEFS: EFS File System

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) More...
 
__STATIC_INLINE void EvrFsEFS_InitDriver (uint32_t drive, uint32_t driver)
 Event on EFS driver initialization (Op) More...
 
__STATIC_INLINE void EvrFsEFS_InitDriverFailed (uint32_t drive, uint32_t driver)
 Event on EFS driver initialization error (Error) More...
 
__STATIC_INLINE void EvrFsEFS_UninitDrive (uint32_t drive)
 Event on EFS drive uninitialization (Op) More...
 
__STATIC_INLINE void EvrFsEFS_UninitDriver (uint32_t drive, uint32_t driver)
 Event on EFS driver uninitialization (Op) More...
 
__STATIC_INLINE void EvrFsEFS_MountDrive (uint32_t drive)
 Event on EFS drive mount (Op) More...
 
__STATIC_INLINE void EvrFsEFS_MountDriveSuccess (uint32_t drive)
 Event on successful EFS drive mount (Op) More...
 
__STATIC_INLINE void EvrFsEFS_FlashGetInfo (uint32_t drive)
 Event on Flash device info retrieve operation (Op) More...
 
__STATIC_INLINE void EvrFsEFS_FlashProgUnitTooBig (uint32_t drive, uint32_t current, uint32_t required)
 Event on Flash program unit too big (Error) More...
 
__STATIC_INLINE void EvrFsEFS_FlashCapacity (uint32_t drive, uint32_t capacity)
 Event on retrieved capacity of the Flash device (Error) More...
 
__STATIC_INLINE void EvrFsEFS_UnmountDrive (uint32_t drive)
 Event on EFS drive unmount (Op) More...
 
__STATIC_INLINE void EvrFsEFS_UnmountDriveSuccess (uint32_t drive)
 Event on successful EFS drive unmount operation (Op) More...
 
__STATIC_INLINE void EvrFsEFS_FormatDrive (uint32_t drive)
 Event on EFS drive format (Op) More...
 
__STATIC_INLINE void EvrFsEFS_FormatDriveSuccess (uint32_t drive)
 Event on successful EFS drive format operation (Op) More...
 
__STATIC_INLINE void EvrFsEFS_FlashEraseChip (uint32_t drive)
 Event on Flash chip erase operation (Op) More...
 
__STATIC_INLINE void EvrFsEFS_FlashEraseChipFailed (uint32_t drive)
 Event on Flash chip erase operation error (Error) More...
 
__STATIC_INLINE void EvrFsEFS_FlashEraseChipTimeout (uint32_t drive)
 Event on Flash chip erase operation timeout (Error) More...
 
__STATIC_INLINE void EvrFsEFS_FlashEraseSectors (uint32_t drive, uint32_t sector, uint32_t cnt)
 Event on Flash sectors erase operation (Op) More...
 
__STATIC_INLINE void EvrFsEFS_FileNameInvalid (const char *name, uint32_t len)
 Event on invalid EFS filename specification (Error) More...
 
__STATIC_INLINE void EvrFsEFS_FileDelete (uint32_t drive, const char *path)
 Event on EFS file delete (Op) More...
 
__STATIC_INLINE void EvrFsEFS_FileRename (uint32_t drive, const char *path, const char *newname)
 Event on EFS file rename (Op) More...
 
__STATIC_INLINE void EvrFsEFS_FileNotFound (uint32_t drive)
 Event on EFS file not found (Op) More...
 
__STATIC_INLINE void EvrFsEFS_FileAlreadyExists (uint32_t drive)
 Event on EFS file already exists (Op) More...
 
__STATIC_INLINE void EvrFsEFS_FreeSpaceRetrieve (uint32_t drive)
 Event on EFS free space retrieve request (Op) More...
 
__STATIC_INLINE void EvrFsEFS_FreeSpaceAmount (uint32_t drive, uint32_t free)
 Event on EFS free space retrieval (Op) More...
 
__STATIC_INLINE void EvrFsEFS_DriveAnalyze (uint32_t drive)
 Event on EFS drive analyze (Op) More...
 
__STATIC_INLINE void EvrFsEFS_DriveAnalyzeSuccess (uint32_t drive, uint32_t factor)
 Event on successful EFS drive analyze (Op) More...
 
__STATIC_INLINE void EvrFsEFS_DriveCheck (uint32_t drive)
 Event on EFS drive check (Op) More...
 
__STATIC_INLINE void EvrFsEFS_DriveCheckSuccess (uint32_t drive)
 Event on EFS drive check completed without errors (Error) More...
 
__STATIC_INLINE void EvrFsEFS_DataAreaOverlap (uint32_t drive)
 Event on EFS user and allocation area overlap detection (Error) More...
 
__STATIC_INLINE void EvrFsEFS_FileIdInvalid (uint32_t drive)
 Event on EFS invalid file ID detection (Error) More...
 
__STATIC_INLINE void EvrFsEFS_AllocationOrderInvalid (uint32_t drive)
 Event on EFS allocation order error (Error) More...
 
__STATIC_INLINE void EvrFsEFS_AllocationAreaOverlap (uint32_t drive)
 Event on EFS allocation area overlap error (Error) More...
 
__STATIC_INLINE void EvrFsEFS_DriveDefrag (uint32_t drive)
 Event on EFS drive defrag (Op) More...
 
__STATIC_INLINE void EvrFsEFS_FileHandleActive (uint32_t drive, uint32_t h)
 Event (Error) More...
 
__STATIC_INLINE void EvrFsEFS_FileHandleUnavailable (uint32_t drive)
 Event on too many open files (Error) More...
 
__STATIC_INLINE void EvrFsEFS_FileInUse (uint32_t h)
 Event on EFS file busy (Error) More...
 
__STATIC_INLINE void EvrFsEFS_DiskFull (uint32_t drive)
 Event on out of free space on EFS drive (Error) More...
 
__STATIC_INLINE void EvrFsEFS_FlashReadFailed (uint32_t drive, uint32_t addr, void *buf, uint32_t cnt)
 Event on Flash driver read data error (Error) More...
 
__STATIC_INLINE void EvrFsEFS_FlashReadTimeout (uint32_t drive, uint32_t addr, void *buf, uint32_t cnt)
 Event on Flash driver read data timeout (Error) More...
 
__STATIC_INLINE void EvrFsEFS_FlashEraseFailed (uint32_t drive, uint32_t block, uint32_t addr)
 Event on Flash driver read data error (Error) More...
 
__STATIC_INLINE void EvrFsEFS_InvalidParameter (uint32_t drive)
 Event on EFS invalid function parameter error (Error) More...
 
__STATIC_INLINE void EvrFsEFS_DriveNotMounted (uint32_t drive)
 Event on EFS when using unmounted drive (Error) More...
 
__STATIC_INLINE void EvrFsEFS_DriveNotInitialized (uint32_t drive)
 Event on EFS when media driver is not initialized (Error) More...
 
__STATIC_INLINE void EvrFsEFS_FileName (const char *buf, uint32_t len)
 Event on EFS file name specification (Detail) More...
 
__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) More...
 
__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) More...
 

Description

Events generated by File System - Embedded File System functions.

FileSystem - Embedded File System

Function Documentation

◆ EvrFsEFS_AllocationAreaOverlap()

__STATIC_INLINE void EvrFsEFS_AllocationAreaOverlap ( uint32_t  drive)

Event on EFS allocation area overlap error (Error)

Parameters
[in]drive4 byte encoded drive letter

The event AllocationAreaOverlap is generated when the function fcheck detects an overlapping file allocation record.

◆ EvrFsEFS_AllocationOrderInvalid()

__STATIC_INLINE void EvrFsEFS_AllocationOrderInvalid ( uint32_t  drive)

Event on EFS allocation order error (Error)

Parameters
[in]drive4 byte encoded drive letter

The event AllocationOrderInvalid when the function fcheck detects a non-ascending allocation pointer.

Value in the Event Recorder shows:

  • drive : identifier of the drive.

◆ EvrFsEFS_DataAreaOverlap()

__STATIC_INLINE void EvrFsEFS_DataAreaOverlap ( uint32_t  drive)

Event on EFS user and allocation area overlap detection (Error)

Parameters
[in]drive4 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:

  • drive : identifier of the drive.

◆ EvrFsEFS_DiskFull()

__STATIC_INLINE void EvrFsEFS_DiskFull ( uint32_t  drive)

Event on out of free space on EFS drive (Error)

Parameters
[in]drive4 byte encoded drive letter

The event DiskFull is generated when the disk is out of free space.

Value in the Event Recorder shows:

  • drive : identifier of the drive.

◆ EvrFsEFS_DriveAnalyze()

__STATIC_INLINE void EvrFsEFS_DriveAnalyze ( uint32_t  drive)

Event on EFS drive analyze (Op)

Parameters
[in]drive4 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:

  • drive : identifier of the drive.

◆ EvrFsEFS_DriveAnalyzeSuccess()

__STATIC_INLINE void EvrFsEFS_DriveAnalyzeSuccess ( uint32_t  drive,
uint32_t  factor 
)

Event on successful EFS drive analyze (Op)

Parameters
[in]drive4 byte encoded drive letter
[in]factordefragmentation factor

The event DriveAnalyzeSuccess is generated when the function fanalyse has finished.

Value in the Event Recorder shows:

  • drive : identifier of the drive.
  • factor: fragmentation factor or execution status
    • value >= 0 or <= 255: fragmentation factor.
    • value < 0: error occurred, -value is execution status as defined with fsStatus

◆ EvrFsEFS_DriveCheck()

__STATIC_INLINE void EvrFsEFS_DriveCheck ( uint32_t  drive)

Event on EFS drive check (Op)

Parameters
[in]drive4 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:

  • drive : identifier of the drive.

◆ EvrFsEFS_DriveCheckSuccess()

__STATIC_INLINE void EvrFsEFS_DriveCheckSuccess ( uint32_t  drive)

Event on EFS drive check completed without errors (Error)

Parameters
[in]drive4 byte encoded drive letter

The event DriveCheckSuccess is generated when the function fcheck executes successfully.

Value in the Event Recorder shows:

  • drive : identifier of the drive.

◆ EvrFsEFS_DriveDefrag()

__STATIC_INLINE void EvrFsEFS_DriveDefrag ( uint32_t  drive)

Event on EFS drive defrag (Op)

Parameters
[in]drive4 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:

  • drive : identifier of the drive.

◆ EvrFsEFS_DriveNotInitialized()

__STATIC_INLINE void EvrFsEFS_DriveNotInitialized ( uint32_t  drive)

Event on EFS when media driver is not initialized (Error)

Parameters
[in]drive4 byte encoded drive letter

The event DriveNotInitialized is generated when a function operates on an uninitialized EFS drive.

Value in the Event Recorder shows:

  • drive : identifier of the drive.

◆ EvrFsEFS_DriveNotMounted()

__STATIC_INLINE void EvrFsEFS_DriveNotMounted ( uint32_t  drive)

Event on EFS when using unmounted drive (Error)

Parameters
[in]drive4 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:

  • drive : identifier of the drive.

◆ EvrFsEFS_FileAllocRead()

__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)

Parameters
[in]addrmemory address
[in]endend address of the file fragment
[in]fileIDfile identification number
[in]indexfile 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:

  • addr : memory address of the file allocation info currently read
  • end : address where the corresponding file fragment ends
  • fileID : file identification number of the corresponding file fragment
  • index : ordering number of the corresponding file fragment

◆ EvrFsEFS_FileAllocWrite()

__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)

Parameters
[in]addrmemory address
[in]endend address of the file fragment
[in]fileIDfile identification number
[in]indexfile 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:

  • addr : memory address of the file allocation info currently written
  • end : address where the corresponding file fragment ends
  • fileID : file identification number of the corresponding file fragment
  • index : ordering number of the corresponding file fragment

◆ EvrFsEFS_FileAlreadyExists()

__STATIC_INLINE void EvrFsEFS_FileAlreadyExists ( uint32_t  drive)

Event on EFS file already exists (Op)

Parameters
[in]drive4 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:

  • drive : identifier of the drive.

◆ EvrFsEFS_FileDelete()

__STATIC_INLINE void EvrFsEFS_FileDelete ( uint32_t  drive,
const char *  path 
)

Event on EFS file delete (Op)

Parameters
[in]drive4 byte encoded drive letter
[in]pathfile 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:

  • drive : identifier of the drive.
  • path : string specifying the file or directory.

◆ EvrFsEFS_FileHandleActive()

__STATIC_INLINE void EvrFsEFS_FileHandleActive ( uint32_t  drive,
uint32_t  h 
)

Event (Error)

Parameters
[in]drive4 byte encoded drive letter
[in]hEFS file handle index

The event FileHandleActive is generated when function fdefrag detects an active file handle.

Value in the Event Recorder shows:

◆ EvrFsEFS_FileHandleUnavailable()

__STATIC_INLINE void EvrFsEFS_FileHandleUnavailable ( uint32_t  drive)

Event on too many open files (Error)

Parameters
[in]drive4 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:

  • drive : identifier of the drive.

◆ EvrFsEFS_FileIdInvalid()

__STATIC_INLINE void EvrFsEFS_FileIdInvalid ( uint32_t  drive)

Event on EFS invalid file ID detection (Error)

Parameters
[in]drive4 byte encoded drive letter

The event FileIdInvalid is generated when the function fanalyse detects an invalid file ID.

Value in the Event Recorder shows:

  • drive : identifier of the drive.

◆ EvrFsEFS_FileInUse()

__STATIC_INLINE void EvrFsEFS_FileInUse ( uint32_t  h)

Event on EFS file busy (Error)

Parameters
[in]hEFS 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:

◆ EvrFsEFS_FileName()

__STATIC_INLINE void EvrFsEFS_FileName ( const char *  buf,
uint32_t  len 
)

Event on EFS file name specification (Detail)

Parameters
[in]buffilename buffer
[in]lenfilename length

Value in the Event Recorder shows:

  • current file name

◆ EvrFsEFS_FileNameInvalid()

__STATIC_INLINE void EvrFsEFS_FileNameInvalid ( const char *  name,
uint32_t  len 
)

Event on invalid EFS filename specification (Error)

Parameters
[in]namefile name buffer
[in]lenfile name length

The event FileNameInvalid is generated when invalid file name is specified to the function.

Value in the Event Recorder shows:

  • name : pointer to the file name.

◆ EvrFsEFS_FileNotFound()

__STATIC_INLINE void EvrFsEFS_FileNotFound ( uint32_t  drive)

Event on EFS file not found (Op)

Parameters
[in]drive4 byte encoded drive letter

The event FileNotFound is generated when an operation executes on a unknown file.

Value in the Event Recorder shows:

  • drive : identifier of the drive.

◆ EvrFsEFS_FileRename()

__STATIC_INLINE void EvrFsEFS_FileRename ( uint32_t  drive,
const char *  path,
const char *  newname 
)

Event on EFS file rename (Op)

Parameters
[in]drive4 byte encoded drive letter
[in]pathfile path buffer address
[in]newnamenew 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:

  • drive : identifier of the drive.
  • path : string specifying the file or directory.
  • newname : new file name.

◆ EvrFsEFS_FlashCapacity()

__STATIC_INLINE void EvrFsEFS_FlashCapacity ( uint32_t  drive,
uint32_t  capacity 
)

Event on retrieved capacity of the Flash device (Error)

Parameters
[in]drive4 byte encoded drive letter
[in]capacityflash device capacity in bytes

The event FlashCapacity is generated when EFS determines the flash device capacity.

Value in the Event Recorder shows:

  • drive : identifier of the drive.
  • capacity : flash size in bytes.

◆ EvrFsEFS_FlashEraseChip()

__STATIC_INLINE void EvrFsEFS_FlashEraseChip ( uint32_t  drive)

Event on Flash chip erase operation (Op)

Parameters
[in]drive4 byte encoded drive letter

The event FlashEraseChip is generated when the function fformat erases the chip content.

Value in the Event Recorder shows:

  • drive : identifier of the drive.

◆ EvrFsEFS_FlashEraseChipFailed()

__STATIC_INLINE void EvrFsEFS_FlashEraseChipFailed ( uint32_t  drive)

Event on Flash chip erase operation error (Error)

Parameters
[in]drive4 byte encoded drive letter

The event FlashEraseChipFailed is generated when the function fformat failed to erase the chip.

Value in the Event Recorder shows:

  • drive : identifier of the drive.

◆ EvrFsEFS_FlashEraseChipTimeout()

__STATIC_INLINE void EvrFsEFS_FlashEraseChipTimeout ( uint32_t  drive)

Event on Flash chip erase operation timeout (Error)

Parameters
[in]drive4 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:

  • drive : identifier of the drive.

◆ EvrFsEFS_FlashEraseFailed()

__STATIC_INLINE void EvrFsEFS_FlashEraseFailed ( uint32_t  drive,
uint32_t  block,
uint32_t  addr 
)

Event on Flash driver read data error (Error)

Parameters
[in]drive4 byte encoded drive letter
[in]blockblock number
[in]addrblock address

The event FlashEraseFailed is generated when EFS fails to erase a memory block.

Value in the Event Recorder shows:

  • drive : identifier of the drive.
  • block : block number.
  • addr : block memory address.

◆ EvrFsEFS_FlashEraseSectors()

__STATIC_INLINE void EvrFsEFS_FlashEraseSectors ( uint32_t  drive,
uint32_t  sector,
uint32_t  cnt 
)

Event on Flash sectors erase operation (Op)

Parameters
[in]drive4 byte encoded drive letter
[in]sectorfirst sector to erase
[in]cntnumber 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:

  • drive : identifier of the drive.
  • sector : sector number.
  • cnt: number of sectors to erase.

◆ EvrFsEFS_FlashGetInfo()

__STATIC_INLINE void EvrFsEFS_FlashGetInfo ( uint32_t  drive)

Event on Flash device info retrieve operation (Op)

Parameters
[in]drive4 byte encoded drive letter

The event FlashGetInfo is generated when the function fmount attempts to retrieve Flash information.

Value in the Event Recorder shows:

  • drive : identifier of the drive.

◆ EvrFsEFS_FlashProgUnitTooBig()

__STATIC_INLINE void EvrFsEFS_FlashProgUnitTooBig ( uint32_t  drive,
uint32_t  current,
uint32_t  required 
)

Event on Flash program unit too big (Error)

Parameters
[in]drive4 byte encoded drive letter
[in]currentcurrent program unit in bytes
[in]requiredrequired 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:

  • drive : identifier of the drive.
  • current : size of current program unit.
  • required : expected size.

◆ EvrFsEFS_FlashReadFailed()

__STATIC_INLINE void EvrFsEFS_FlashReadFailed ( uint32_t  drive,
uint32_t  addr,
void *  buf,
uint32_t  cnt 
)

Event on Flash driver read data error (Error)

Parameters
[in]drive4 byte encoded drive letter
[in]addrblock address
[in]bufdata buffer address
[in]cntnumber of bytes to read

The event FlashReadFailed is generated when reading from Flash failed.

Value in the Event Recorder shows:

  • drive : identifier of the drive.
  • addr : memory address.
  • buf : data buffer memory address.
  • cnt : number of bytes to read.

◆ EvrFsEFS_FlashReadTimeout()

__STATIC_INLINE void EvrFsEFS_FlashReadTimeout ( uint32_t  drive,
uint32_t  addr,
void *  buf,
uint32_t  cnt 
)

Event on Flash driver read data timeout (Error)

Parameters
[in]drive4 byte encoded drive letter
[in]addrblock address
[in]bufdata buffer address
[in]cntnumber of bytes to read

The event FlashReadTimeout is generated when reading from Flash failed on timeout.

Value in the Event Recorder shows:

  • drive : identifier of the drive.
  • addr : memory address.
  • buf : data buffer memory address.
  • cnt : number of bytes to read.

◆ EvrFsEFS_FormatDrive()

__STATIC_INLINE void EvrFsEFS_FormatDrive ( uint32_t  drive)

Event on EFS drive format (Op)

Parameters
[in]drive4 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:

  • drive : identifier of the drive.

◆ EvrFsEFS_FormatDriveSuccess()

__STATIC_INLINE void EvrFsEFS_FormatDriveSuccess ( uint32_t  drive)

Event on successful EFS drive format operation (Op)

Parameters
[in]drive4 byte encoded drive letter

The event FormatDriveSuccess is generated when the function fformat executed successfully.

Value in the Event Recorder shows:

  • drive : identifier of the drive.

◆ EvrFsEFS_FreeSpaceAmount()

__STATIC_INLINE void EvrFsEFS_FreeSpaceAmount ( uint32_t  drive,
uint32_t  free 
)

Event on EFS free space retrieval (Op)

Parameters
[in]drive4 byte encoded drive letter
[in]freefree space amount

The event FreeSpaceAmount is generated when the function ffree executed successfully.

Value in the Event Recorder shows:

  • drive : identifier of the drive.
  • free : free space or execution status
    • value >= 0: free space on drive in bytes.
    • value < 0: error occurred, -value is execution status as defined with fsStatus

◆ EvrFsEFS_FreeSpaceRetrieve()

__STATIC_INLINE void EvrFsEFS_FreeSpaceRetrieve ( uint32_t  drive)

Event on EFS free space retrieve request (Op)

Parameters
[in]drive4 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:

  • drive : identifier of the drive.

◆ EvrFsEFS_InitDrive()

__STATIC_INLINE void EvrFsEFS_InitDrive ( uint32_t  drive)

Event on EFS drive initialization (Op)

Parameters
[in]drive4 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:

  • drive : identifier of the drive.

◆ EvrFsEFS_InitDriver()

__STATIC_INLINE void EvrFsEFS_InitDriver ( uint32_t  drive,
uint32_t  driver 
)

Event on EFS driver initialization (Op)

Parameters
[in]drive4 byte encoded drive letter
[in]driverCMSIS Flash driver control block address

The event InitDriver is generated when the system initializes the media driver.

Value in the Event Recorder shows:

  • instance : number of Software Component driver instance.
  • driver : name of Software Component driver.

◆ EvrFsEFS_InitDriverFailed()

__STATIC_INLINE void EvrFsEFS_InitDriverFailed ( uint32_t  drive,
uint32_t  driver 
)

Event on EFS driver initialization error (Error)

Parameters
[in]drive4 byte encoded drive letter
[in]driverCMSIS 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:

  • instance : number of Software Component driver instance.
  • driver : name of Software Component driver.

◆ EvrFsEFS_InvalidParameter()

__STATIC_INLINE void EvrFsEFS_InvalidParameter ( uint32_t  drive)

Event on EFS invalid function parameter error (Error)

Parameters
[in]drive4 byte encoded drive letter

The event InvalidParameter is generated when functions are called with wrong parameters.

Value in the Event Recorder shows:

  • drive : identifier of the drive.

◆ EvrFsEFS_MountDrive()

__STATIC_INLINE void EvrFsEFS_MountDrive ( uint32_t  drive)

Event on EFS drive mount (Op)

Parameters
[in]drive4 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:

  • drive : identifier of the drive.

◆ EvrFsEFS_MountDriveSuccess()

__STATIC_INLINE void EvrFsEFS_MountDriveSuccess ( uint32_t  drive)

Event on successful EFS drive mount (Op)

Parameters
[in]drive4 byte encoded drive letter

The event MountDriveSuccess is generated when EFS drive is successfully mounted.

Value in the Event Recorder shows:

  • drive : identifier of the drive.

◆ EvrFsEFS_UninitDrive()

__STATIC_INLINE void EvrFsEFS_UninitDrive ( uint32_t  drive)

Event on EFS drive uninitialization (Op)

Parameters
[in]drive4 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:

  • drive : identifier of the drive.

◆ EvrFsEFS_UninitDriver()

__STATIC_INLINE void EvrFsEFS_UninitDriver ( uint32_t  drive,
uint32_t  driver 
)

Event on EFS driver uninitialization (Op)

Parameters
[in]drive4 byte encoded drive letter
[in]driverCMSIS Flash driver control block address

The event UninitDriver is generated when the system uninitializes the media driver.

Value in the Event Recorder shows:

  • drive : identifier of the drive.
  • driver : name of Software Component driver.

◆ EvrFsEFS_UnmountDrive()

__STATIC_INLINE void EvrFsEFS_UnmountDrive ( uint32_t  drive)

Event on EFS drive unmount (Op)

Parameters
[in]drive4 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:

  • drive : identifier of the drive.

◆ EvrFsEFS_UnmountDriveSuccess()

__STATIC_INLINE void EvrFsEFS_UnmountDriveSuccess ( uint32_t  drive)

Event on successful EFS drive unmount operation (Op)

Parameters
[in]drive4 byte encoded drive letter

The event UnmountDriveSuccess is generated when the function funmount executed successfully.

Value in the Event Recorder shows:

  • drive : identifier of the drive.