File System Component  
MDK Middleware for Devices with Flash File System
 
Loading...
Searching...
No Matches
FsMcMCI: Memory Card MCI

Events generated by File System - Memory Card MCI functions. More...

Functions

__STATIC_INLINE void EvrFsMcMCI_InitDriver (uint32_t instance, uint32_t driver)
 Event on memory card driver initialization (Op)
 
__STATIC_INLINE void EvrFsMcMCI_InitDriverError (uint32_t instance, uint32_t driver)
 Event on memory card driver initialization error (Op)
 
__STATIC_INLINE void EvrFsMcMCI_InitDriverPowerError (uint32_t instance, uint32_t driver, uint32_t state)
 Event on memory card driver initialization error (Op)
 
__STATIC_INLINE void EvrFsMcMCI_InitMedia (uint32_t instance)
 Event on memory card device initialization (Op)
 
__STATIC_INLINE void EvrFsMcMCI_MediaNotInitialized (uint32_t instance)
 Event on using uninitialized memory card device (Error)
 
__STATIC_INLINE void EvrFsMcMCI_MediaCdActive (uint32_t instance)
 Event on media detection using card detect switch (Op)
 
__STATIC_INLINE void EvrFsMcMCI_MediaCdInactive (uint32_t instance)
 Event on card detect switch check and media is not present (Op)
 
__STATIC_INLINE void EvrFsMcMCI_MediaWpActive (uint32_t instance)
 Event on active write protection switch (Op)
 
__STATIC_INLINE void EvrFsMcMCI_MediaWpInactive (uint32_t instance)
 Event on inactive write protection switch (Op)
 
__STATIC_INLINE void EvrFsMcMCI_MediaReset (uint32_t instance)
 Event on memory card device reset (Op)
 
__STATIC_INLINE void EvrFsMcMCI_MediaDetectionSD (uint32_t instance)
 Event on start of SD memory card detection operation (Op)
 
__STATIC_INLINE void EvrFsMcMCI_MediaSD_V2 (uint32_t instance)
 Event on received response from SD memory card V2 (Op)
 
__STATIC_INLINE void EvrFsMcMCI_MediaReady (uint32_t instance, uint32_t ocr)
 Event on received response from SD memory card V2 (Op)
 
__STATIC_INLINE void EvrFsMcMCI_MediaNoResponse (uint32_t instance)
 Event on nonresponsive media device (Error)
 
__STATIC_INLINE void EvrFsMcMCI_MediaDetectionMMC (uint32_t instance)
 Event on start of MMC/eMMC device detection procedure (Op)
 
__STATIC_INLINE void EvrFsMcMCI_MediaDetectionError (uint32_t instance)
 Event on media device detection error (Error)
 
__STATIC_INLINE void EvrFsMcMCI_CidReadError (uint32_t instance)
 Event on CID register read error (Error)
 
__STATIC_INLINE void EvrFsMcMCI_RcaReadError (uint32_t instance)
 Event on RCA (Relative Card Address) register read error (Error)
 
__STATIC_INLINE void EvrFsMcMCI_RcaWriteError (uint32_t instance)
 Event on RCA (Relative Card Address) register write error (Error)
 
__STATIC_INLINE void EvrFsMcMCI_CsdReadError (uint32_t instance)
 Event on CSD register read error (Error)
 
__STATIC_INLINE void EvrFsMcMCI_TranStateError (uint32_t instance)
 Event on failed switch to TRAN state (Error)
 
__STATIC_INLINE void EvrFsMcMCI_BlenWriteError (uint32_t instance, uint32_t blen)
 Event on failed block length setting (Error)
 
__STATIC_INLINE void EvrFsMcMCI_ExtCsdReadError (uint32_t instance)
 Event on EXT_CSD register read error (Error)
 
__STATIC_INLINE void EvrFsMcMCI_HighSpeedSwitchError (uint32_t instance)
 Event on high speed mode switch error (Error)
 
__STATIC_INLINE void EvrFsMcMCI_DataBusSwitchError (uint32_t instance)
 Event on data bus width switch error (Error)
 
__STATIC_INLINE void EvrFsMcMCI_StbyStateError (uint32_t instance)
 Event on STBY state switch error (Error)
 
__STATIC_INLINE void EvrFsMcMCI_InitSuccess (uint32_t instance)
 Event on successful memory card device initialization (Op)
 
__STATIC_INLINE void EvrFsMcMCI_UninitDriver (uint32_t instance, uint32_t driver)
 Event on MCI driver uninitialization (Op)
 
__STATIC_INLINE void EvrFsMcMCI_UninitMedia (uint32_t instance)
 Event on memory card device uninitialization (Op)
 
__STATIC_INLINE void EvrFsMcMCI_SectorRead (uint32_t instance, uint32_t sector, uint32_t count)
 Event on sector read operation (Op)
 
__STATIC_INLINE void EvrFsMcMCI_SectorReadError (uint32_t instance, uint32_t sector, uint32_t count)
 Event on sector read operation error (Op)
 
__STATIC_INLINE void EvrFsMcMCI_SectorWrite (uint32_t instance, uint32_t sector, uint32_t count)
 Event on sector write operation (Op)
 
__STATIC_INLINE void EvrFsMcMCI_SectorWriteError (uint32_t instance, uint32_t sector, uint32_t count)
 Event on sector write operation error (Op)
 
__STATIC_INLINE void EvrFsMcMCI_TransferError (uint32_t instance, uint32_t events)
 Event on transfer error (Error)
 
__STATIC_INLINE void EvrFsMcMCI_TransferRetry (uint32_t instance, uint32_t retry)
 Event on transfer setup error (Op)
 
__STATIC_INLINE void EvrFsMcMCI_ReadInfo (uint32_t instance)
 Event on media capacity retrieval operation (Op)
 
__STATIC_INLINE void EvrFsMcMCI_ReadInfoSuccess (uint32_t instance, uint32_t sect_count)
 Event on media capacity retrieval operation (Op)
 
__STATIC_INLINE void EvrFsMcMCI_DevCtrl (uint32_t instance, uint32_t code, uint32_t p)
 Event on memory card device control operation (Op)
 
__STATIC_INLINE void EvrFsMcMCI_DevCtrlUnsupported (uint32_t instance, uint32_t code)
 Event on memory card device control code unsupported error (Error)
 
__STATIC_INLINE void EvrFsMcMCI_LockUnlockExec (uint32_t instance)
 Event on Lock/Unlock command execution (Op)
 
__STATIC_INLINE void EvrFsMcMCI_LockUnlockExecError (uint32_t instance)
 Event on Lock/Unlock command execution error (Error)
 
__STATIC_INLINE void EvrFsMcMCI_LockActive (uint32_t instance)
 Event on active password protection status (Op)
 
__STATIC_INLINE void EvrFsMcMCI_LockDeactivated (uint32_t instance)
 Event on deactivated password protection status (Op)
 
__STATIC_INLINE void EvrFsMcMCI_DeviceStateUnknown (uint32_t instance, uint32_t state)
 Event on discovery of unknown device state (Error)
 
__STATIC_INLINE void EvrFsMcMCI_DeviceStateInvalid (uint32_t instance, uint32_t state)
 Event on discovery of invalid device state (Error)
 
__STATIC_INLINE void EvrFsMcMCI_DeviceStateTimeout (uint32_t instance, uint32_t cstate, uint32_t nstate)
 Event on discovery of invalid device state (Error)
 
__STATIC_INLINE void EvrFsMcMCI_TransferAbort (uint32_t instance)
 Event on data transfer abort operation (Op)
 
__STATIC_INLINE void EvrFsMcMCI_SleepAwakeControl (uint32_t instance)
 Event on SLEEP/AWAKE control operation (Op)
 
__STATIC_INLINE void EvrFsMcMCI_SleepActive (uint32_t instance)
 Event on SLEEP mode active status (Op)
 
__STATIC_INLINE void EvrFsMcMCI_AwakeActive (uint32_t instance)
 Event on AWAKE mode active status (Op)
 
__STATIC_INLINE void EvrFsMcMCI_CardPowerControl (uint32_t instance, uint32_t voltage)
 Event on memory card power control operation (Op)
 
__STATIC_INLINE void EvrFsMcMCI_SendCommandError (uint32_t instance, uint32_t cmd, uint32_t arg)
 Event on AWAKE mode active status (Op)
 
__STATIC_INLINE void EvrFsMcMCI_ReadXferSetupError (uint32_t instance, uint8_t *buf, uint32_t cnt, uint32_t size)
 Event on TransferSetup error for block read operation (Op)
 
__STATIC_INLINE void EvrFsMcMCI_ParameterInvalid (uint32_t instance)
 Event on invalid function parameter(s) (Error)
 
__STATIC_INLINE void EvrFsMcMCI_MediaPasswordEnabled (uint32_t instance)
 Event on detection of enabled media password protection (Error)
 

Description

Events generated by File System - Memory Card MCI functions.

FileSystem - Memory Card MCI

Function Documentation

◆ EvrFsMcMCI_AwakeActive()

__STATIC_INLINE void EvrFsMcMCI_AwakeActive ( uint32_t  instance)

Event on AWAKE mode active status (Op)

Parameters
[in]instancememory card control layer instance

The event AwakeActive is generated when Memory Card Control Layer deactivates eMMC SLEEP state.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcMCI_BlenWriteError()

__STATIC_INLINE void EvrFsMcMCI_BlenWriteError ( uint32_t  instance,
uint32_t  blen 
)

Event on failed block length setting (Error)

Parameters
[in]instancememory card control layer instance
[in]blenblock length

The event BlenWriteError is generated when Memory Card Control Layer is not able to set transfer block length.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.
  • blen : block length.

◆ EvrFsMcMCI_CardPowerControl()

__STATIC_INLINE void EvrFsMcMCI_CardPowerControl ( uint32_t  instance,
uint32_t  voltage 
)

Event on memory card power control operation (Op)

Parameters
[in]instancememory card control layer instance
[in]voltagememory card power supply voltage

The event CardPowerControl is generated when Memory Card Control Layer controls MCI driver card power.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.
  • voltage : MCI Card Power.

◆ EvrFsMcMCI_CidReadError()

__STATIC_INLINE void EvrFsMcMCI_CidReadError ( uint32_t  instance)

Event on CID register read error (Error)

Parameters
[in]instancememory card control layer instance

The event CidReadError is generated when Memory Card Control Layer is not able to read device CID register.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcMCI_CsdReadError()

__STATIC_INLINE void EvrFsMcMCI_CsdReadError ( uint32_t  instance)

Event on CSD register read error (Error)

Parameters
[in]instancememory card control layer instance

The event CdsReadError is generated when Memory Card Control Layer is not able to read device CSD register.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcMCI_DataBusSwitchError()

__STATIC_INLINE void EvrFsMcMCI_DataBusSwitchError ( uint32_t  instance)

Event on data bus width switch error (Error)

Parameters
[in]instancememory card control layer instance

The event DataBusSwitchError is generated when Memory Card Control Layer fails to switch bus data width.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcMCI_DevCtrl()

__STATIC_INLINE void EvrFsMcMCI_DevCtrl ( uint32_t  instance,
uint32_t  code,
uint32_t  p 
)

Event on memory card device control operation (Op)

Parameters
[in]instancememory card control layer instance
[in]codedevice control command code
[in]pcommand code argument address

The event DevCtrl is generated when control code is sent directly to Memory Card Control Layer.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.
  • code : string specifying the key name of the control code.
  • p : memory address of the control code parameter.

◆ EvrFsMcMCI_DevCtrlUnsupported()

__STATIC_INLINE void EvrFsMcMCI_DevCtrlUnsupported ( uint32_t  instance,
uint32_t  code 
)

Event on memory card device control code unsupported error (Error)

Parameters
[in]instancememory card control layer instance
[in]codedevice control command code

The event DevCtrlUnsupported is generated whenever an unsupported control code is used.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.
  • code : string specifying the key name of the control code.

◆ EvrFsMcMCI_DeviceStateInvalid()

__STATIC_INLINE void EvrFsMcMCI_DeviceStateInvalid ( uint32_t  instance,
uint32_t  state 
)

Event on discovery of invalid device state (Error)

Parameters
[in]instancememory card control layer instance
[in]statememory card state

The event DeviceStateInvalid is generated when Memory Card Control Layer detects invalid SD/MMC/eMMC device state.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.
  • state : current device state (R1 response).

◆ EvrFsMcMCI_DeviceStateTimeout()

__STATIC_INLINE void EvrFsMcMCI_DeviceStateTimeout ( uint32_t  instance,
uint32_t  cstate,
uint32_t  nstate 
)

Event on discovery of invalid device state (Error)

Parameters
[in]instancememory card control layer instance
[in]cstatecurrent device state
[in]nstatenew device state

The event DeviceStateTimeout is generated when Memory Card Control Layer operation timed-out while waiting for the SD/MMC/eMMC device state transition.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.
  • cstate : current device state (R1 response).
  • nstate : expected device state.

◆ EvrFsMcMCI_DeviceStateUnknown()

__STATIC_INLINE void EvrFsMcMCI_DeviceStateUnknown ( uint32_t  instance,
uint32_t  state 
)

Event on discovery of unknown device state (Error)

Parameters
[in]instancememory card control layer instance
[in]statememory card state

The event DeviceStateUnknown is generated when Memory Card Control Layer detects unknown SD/MMC/eMMC device state.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.
  • state : current device state (R1 response).

◆ EvrFsMcMCI_ExtCsdReadError()

__STATIC_INLINE void EvrFsMcMCI_ExtCsdReadError ( uint32_t  instance)

Event on EXT_CSD register read error (Error)

Parameters
[in]instancememory card control layer instance

The event ExtCdsReadError is generated when Memory Card Control Layer is not able to read device EXT_CSD register.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcMCI_HighSpeedSwitchError()

__STATIC_INLINE void EvrFsMcMCI_HighSpeedSwitchError ( uint32_t  instance)

Event on high speed mode switch error (Error)

Parameters
[in]instancememory card control layer instance

The event HighSpeedSwitchError is generated when Memory Card Control Layer fails to switch bus speed to high-speed mode.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcMCI_InitDriver()

__STATIC_INLINE void EvrFsMcMCI_InitDriver ( uint32_t  instance,
uint32_t  driver 
)

Event on memory card driver initialization (Op)

Parameters
[in]instancememory card control layer instance
[in]driverCMSIS MCI driver control block address

The event InitDriver is generated on attempt to initialize the MCI driver.

Value in the Event Recorder shows:

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

◆ EvrFsMcMCI_InitDriverError()

__STATIC_INLINE void EvrFsMcMCI_InitDriverError ( uint32_t  instance,
uint32_t  driver 
)

Event on memory card driver initialization error (Op)

Parameters
[in]instancememory card control layer instance
[in]driverCMSIS MCI driver control block address

The event InitDriverError is generated when the MCI driver initialization fails.

Value in the Event Recorder shows:

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

◆ EvrFsMcMCI_InitDriverPowerError()

__STATIC_INLINE void EvrFsMcMCI_InitDriverPowerError ( uint32_t  instance,
uint32_t  driver,
uint32_t  state 
)

Event on memory card driver initialization error (Op)

Parameters
[in]instancememory card control layer instance
[in]driverCMSIS MCI driver control block address
[in]stateCMSIS driver power state

The event InitDriverPowerError is generated when the MCI driver power control fails.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.
  • driver : name of Software Component driver.
  • state : power state (ARM_POWER_STATE).

◆ EvrFsMcMCI_InitMedia()

__STATIC_INLINE void EvrFsMcMCI_InitMedia ( uint32_t  instance)

Event on memory card device initialization (Op)

Parameters
[in]instancememory card control layer instance

The event InitMedia is generated on attempt to initialize the SD/MMC/eMMC memory device.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcMCI_InitSuccess()

__STATIC_INLINE void EvrFsMcMCI_InitSuccess ( uint32_t  instance)

Event on successful memory card device initialization (Op)

Parameters
[in]instancememory card control layer instance

The event InitSuccess is generated when Memory Card Control Layer successfully initializes the SD/MMC/eMMC memory device.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcMCI_LockActive()

__STATIC_INLINE void EvrFsMcMCI_LockActive ( uint32_t  instance)

Event on active password protection status (Op)

Parameters
[in]instancememory card control layer instance

The event LockActive is generated when Memory Card Control Layer activates password protection and the SD/eMMC LOCK command executes successfully.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcMCI_LockDeactivated()

__STATIC_INLINE void EvrFsMcMCI_LockDeactivated ( uint32_t  instance)

Event on deactivated password protection status (Op)

Parameters
[in]instancememory card control layer instance

The event LockDeactivated is generated when Memory Card Control Layer deactivates password protection and the SD/eMMC UNLOCK command executes successfully.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcMCI_LockUnlockExec()

__STATIC_INLINE void EvrFsMcMCI_LockUnlockExec ( uint32_t  instance)

Event on Lock/Unlock command execution (Op)

Parameters
[in]instancememory card control layer instance

The event LockUnlockExec is generated on attempt to execute the SD/MMC/eMMC LOCK/UNLOCK command.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcMCI_LockUnlockExecError()

__STATIC_INLINE void EvrFsMcMCI_LockUnlockExecError ( uint32_t  instance)

Event on Lock/Unlock command execution error (Error)

Parameters
[in]instancememory card control layer instance

The event LockUnlockExecError is generated when the SD/MMC/eMMC LOCK/UNLOCK command execution fails.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcMCI_MediaCdActive()

__STATIC_INLINE void EvrFsMcMCI_MediaCdActive ( uint32_t  instance)

Event on media detection using card detect switch (Op)

Parameters
[in]instancememory card control layer instance

The event MediaCdActive is generated when media presence is detected using Card Detect pin state.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcMCI_MediaCdInactive()

__STATIC_INLINE void EvrFsMcMCI_MediaCdInactive ( uint32_t  instance)

Event on card detect switch check and media is not present (Op)

Parameters
[in]instancememory card control layer instance

The event MediaCdInactive is generated when media absence is detected using Card Detect pin state.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcMCI_MediaDetectionError()

__STATIC_INLINE void EvrFsMcMCI_MediaDetectionError ( uint32_t  instance)

Event on media device detection error (Error)

Parameters
[in]instancememory card control layer instance

The event MediaDetectionError is generated when Memory Card Control Layer is not able to detect the SD/MMC/eMMC memory device.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcMCI_MediaDetectionMMC()

__STATIC_INLINE void EvrFsMcMCI_MediaDetectionMMC ( uint32_t  instance)

Event on start of MMC/eMMC device detection procedure (Op)

Parameters
[in]instancememory card control layer instance

The event MediaDetectionSD is generated at the beginning of the MMC/eMMC memory device detection procedure.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcMCI_MediaDetectionSD()

__STATIC_INLINE void EvrFsMcMCI_MediaDetectionSD ( uint32_t  instance)

Event on start of SD memory card detection operation (Op)

Parameters
[in]instancememory card control layer instance

The event MediaDetectionSD is generated at the beginning of the SD memory device detection procedure.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcMCI_MediaNoResponse()

__STATIC_INLINE void EvrFsMcMCI_MediaNoResponse ( uint32_t  instance)

Event on nonresponsive media device (Error)

Parameters
[in]instancememory card control layer instance

The event MediaNoResponse is generated when memory device does not respond to the initialization command.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcMCI_MediaNotInitialized()

__STATIC_INLINE void EvrFsMcMCI_MediaNotInitialized ( uint32_t  instance)

Event on using uninitialized memory card device (Error)

Parameters
[in]instancememory card control layer instance

The event MediaNotInitialized is generated on attempt to access non-initialized SD/MMC/eMMC memory device.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcMCI_MediaPasswordEnabled()

__STATIC_INLINE void EvrFsMcMCI_MediaPasswordEnabled ( uint32_t  instance)

Event on detection of enabled media password protection (Error)

Parameters
[in]instancememory card control layer instance

The event MediaPasswordEnabled is generated on attempt to access the SD/MMC/eMMC device while the password protection is still active.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcMCI_MediaReady()

__STATIC_INLINE void EvrFsMcMCI_MediaReady ( uint32_t  instance,
uint32_t  ocr 
)

Event on received response from SD memory card V2 (Op)

Parameters
[in]instancememory card control layer instance
[in]ocrOCR register content

The event MediaReady is generated when memory device power up status bit is set in the OCR register.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.
  • ocr : OCR content

◆ EvrFsMcMCI_MediaReset()

__STATIC_INLINE void EvrFsMcMCI_MediaReset ( uint32_t  instance)

Event on memory card device reset (Op)

Parameters
[in]instancememory card control layer instance

The event MediaReset is generated on attempt to reset the SD/MMC/eMMC memory device.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcMCI_MediaSD_V2()

__STATIC_INLINE void EvrFsMcMCI_MediaSD_V2 ( uint32_t  instance)

Event on received response from SD memory card V2 (Op)

Parameters
[in]instancememory card control layer instance

The event MediaSD_V2 is generated when SD memory device responds with the SD V2 response.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcMCI_MediaWpActive()

__STATIC_INLINE void EvrFsMcMCI_MediaWpActive ( uint32_t  instance)

Event on active write protection switch (Op)

Parameters
[in]instancememory card control layer instance

The event MediaWpActive is generated when media write protect activation is detected using Write Protect pin state.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcMCI_MediaWpInactive()

__STATIC_INLINE void EvrFsMcMCI_MediaWpInactive ( uint32_t  instance)

Event on inactive write protection switch (Op)

Parameters
[in]instancememory card control layer instance

The event MediaWpInactive is generated when media write protect deactivation is detected using Write Protect pin state.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcMCI_ParameterInvalid()

__STATIC_INLINE void EvrFsMcMCI_ParameterInvalid ( uint32_t  instance)

Event on invalid function parameter(s) (Error)

Parameters
[in]instancememory card control layer instance

The event ParameterInvalid is generated when Memory Card Control Layer detects invalid function parameter.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcMCI_RcaReadError()

__STATIC_INLINE void EvrFsMcMCI_RcaReadError ( uint32_t  instance)

Event on RCA (Relative Card Address) register read error (Error)

Parameters
[in]instancememory card control layer instance

The event RcaReadError is generated when Memory Card Control Layer is not able to read device RCA (Relative Card Address) register.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcMCI_RcaWriteError()

__STATIC_INLINE void EvrFsMcMCI_RcaWriteError ( uint32_t  instance)

Event on RCA (Relative Card Address) register write error (Error)

Parameters
[in]instancememory card control layer instance

The event RcaWriteError is generated when Memory Card Control Layer is not able to write device RCA (Relative Card Address) register.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcMCI_ReadInfo()

__STATIC_INLINE void EvrFsMcMCI_ReadInfo ( uint32_t  instance)

Event on media capacity retrieval operation (Op)

Parameters
[in]instancememory card control layer instance

The event ReadInfo is generated on attempt to read the SD/MMC/eMMC device storage geometry properties.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcMCI_ReadInfoSuccess()

__STATIC_INLINE void EvrFsMcMCI_ReadInfoSuccess ( uint32_t  instance,
uint32_t  sect_count 
)

Event on media capacity retrieval operation (Op)

Parameters
[in]instancememory card control layer instance
[in]sect_countcapacity in number of sectors

The event ReadInfoSuccess is generated when the SD/MMC/eMMC device storage geometry properties are retrieved successfully.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.
  • sect_count : number of sectors available on the device.

◆ EvrFsMcMCI_ReadXferSetupError()

__STATIC_INLINE void EvrFsMcMCI_ReadXferSetupError ( uint32_t  instance,
uint8_t *  buf,
uint32_t  cnt,
uint32_t  size 
)

Event on TransferSetup error for block read operation (Op)

Parameters
[in]instancememory card control layer instance
[in]bufdata buffer
[in]cntnumber of blocks to read
[in]sizeblock size

The event ReadXferSetupError is generated when MCI driver fails to setup the read transfer parameters.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.
  • buf : data buffer address.
  • cnt : number of blocks to transfer.
  • size : block size.

◆ EvrFsMcMCI_SectorRead()

__STATIC_INLINE void EvrFsMcMCI_SectorRead ( uint32_t  instance,
uint32_t  sector,
uint32_t  count 
)

Event on sector read operation (Op)

Parameters
[in]instancememory card control layer instance
[in]sectorsector number
[in]countnumber of sectors to read

The event SectorRead is generated on attempt to read sector from the SD/MMC/eMMC memory device.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.
  • sector : sector number.
  • count : number of sectors.

◆ EvrFsMcMCI_SectorReadError()

__STATIC_INLINE void EvrFsMcMCI_SectorReadError ( uint32_t  instance,
uint32_t  sector,
uint32_t  count 
)

Event on sector read operation error (Op)

Parameters
[in]instancememory card control layer instance
[in]sectorsector number
[in]countnumber of sectors to read

The event SectorReadError is generated when sector read from the SD/MMC/eMMC memory device fails.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.
  • sector : sector number.
  • count : number of sectors.

◆ EvrFsMcMCI_SectorWrite()

__STATIC_INLINE void EvrFsMcMCI_SectorWrite ( uint32_t  instance,
uint32_t  sector,
uint32_t  count 
)

Event on sector write operation (Op)

Parameters
[in]instancememory card control layer instance
[in]sectorsector number
[in]countnumber of sectors to write

The event SectorWrite is generated on attempt to write sector to the SD/MMC/eMMC memory device.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.
  • sector : sector number.
  • count : number of sectors.

◆ EvrFsMcMCI_SectorWriteError()

__STATIC_INLINE void EvrFsMcMCI_SectorWriteError ( uint32_t  instance,
uint32_t  sector,
uint32_t  count 
)

Event on sector write operation error (Op)

Parameters
[in]instancememory card control layer instance
[in]sectorsector number
[in]countnumber of sectors to write

The event SectorWriteError is generated when sector write to the SD/MMC/eMMC memory device fails.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.
  • sector : sector number.
  • count : number of sectors.

◆ EvrFsMcMCI_SendCommandError()

__STATIC_INLINE void EvrFsMcMCI_SendCommandError ( uint32_t  instance,
uint32_t  cmd,
uint32_t  arg 
)

Event on AWAKE mode active status (Op)

Parameters
[in]instancememory card control layer instance
[in]cmdcommand index
[in]argcommand argument

The event SendCommandError is generated when MCI driver fails to send the command to the SD/MMC/eMMC device.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.
  • cmd : command index.
  • arg : command argument.

◆ EvrFsMcMCI_SleepActive()

__STATIC_INLINE void EvrFsMcMCI_SleepActive ( uint32_t  instance)

Event on SLEEP mode active status (Op)

Parameters
[in]instancememory card control layer instance

The event SleepActive is generated when Memory Card Control Layer activates eMMC SLEEP state.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcMCI_SleepAwakeControl()

__STATIC_INLINE void EvrFsMcMCI_SleepAwakeControl ( uint32_t  instance)

Event on SLEEP/AWAKE control operation (Op)

Parameters
[in]instancememory card control layer instance

The event SleepAwakeControl is generated on attempt to execute the eMMC SLEEP command.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcMCI_StbyStateError()

__STATIC_INLINE void EvrFsMcMCI_StbyStateError ( uint32_t  instance)

Event on STBY state switch error (Error)

Parameters
[in]instancememory card control layer instance

The event StbyStateError is generated when Memory Card Control Layer fails to switch device state to STBY.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcMCI_TransferAbort()

__STATIC_INLINE void EvrFsMcMCI_TransferAbort ( uint32_t  instance)

Event on data transfer abort operation (Op)

Parameters
[in]instancememory card control layer instance

The event TransferAbort is generated when Memory Card Control Layer detects invalid SD/MMC/eMMC device state and aborts the MCI driver data transfer.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcMCI_TransferError()

__STATIC_INLINE void EvrFsMcMCI_TransferError ( uint32_t  instance,
uint32_t  events 
)

Event on transfer error (Error)

Parameters
[in]instancememory card control layer instance
[in]eventsFsMcMCI: Memory Card MCI

The event TransferError is generated when data transfer is active and Memory Card Control Layer does not receive ARM_MCI_EVENT_TRANSFER_COMPLETE event from the MCI driver.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.
  • events : CMSIS MCI driver events.

◆ EvrFsMcMCI_TransferRetry()

__STATIC_INLINE void EvrFsMcMCI_TransferRetry ( uint32_t  instance,
uint32_t  retry 
)

Event on transfer setup error (Op)

Parameters
[in]instancememory card control layer instance
[in]retryretry number

The event TransferRetry is generated when Memory Card Control Layer retries the data transfer operation.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.
  • retry : retry count.

◆ EvrFsMcMCI_TranStateError()

__STATIC_INLINE void EvrFsMcMCI_TranStateError ( uint32_t  instance)

Event on failed switch to TRAN state (Error)

Parameters
[in]instancememory card control layer instance

The event TranStateError is generated when Memory Card Control Layer is not able to switch device state from STBY to TRAN.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcMCI_UninitDriver()

__STATIC_INLINE void EvrFsMcMCI_UninitDriver ( uint32_t  instance,
uint32_t  driver 
)

Event on MCI driver uninitialization (Op)

Parameters
[in]instancememory card control layer instance
[in]driverCMSIS MCI driver control block address

The event UninitDriver is generated on attempt to de-initialize the MCI driver.

Value of the Event Recorder shows:

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

◆ EvrFsMcMCI_UninitMedia()

__STATIC_INLINE void EvrFsMcMCI_UninitMedia ( uint32_t  instance)

Event on memory card device uninitialization (Op)

Parameters
[in]instancememory card control layer instance

The event UninitMedia is generated on attempt to de-initialize the SD/MMC/eMMC memory device.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.