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

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

Functions

__STATIC_INLINE void EvrFsMcSPI_InitDriver (uint32_t instance, uint32_t driver)
 Event on memory card driver initialization (Op)
 
__STATIC_INLINE void EvrFsMcSPI_InitDriverSuccess (uint32_t instance, uint32_t driver)
 Event on successful memory card driver initialization (Op)
 
__STATIC_INLINE void EvrFsMcSPI_InitDriverError (uint32_t instance, uint32_t driver)
 Event on memory card driver initialization error (Op)
 
__STATIC_INLINE void EvrFsMcSPI_InitDriverPowerError (uint32_t instance, uint32_t driver, uint32_t state)
 Event on memory card driver power control error (Op)
 
__STATIC_INLINE void EvrFsMcSPI_InitMedia (uint32_t instance)
 Event on memory card device initialization (Op)
 
__STATIC_INLINE void EvrFsMcSPI_InitMediaSuccess (uint32_t instance)
 Event on successful memory card device initialization (Op)
 
__STATIC_INLINE void EvrFsMcSPI_MediaNotInitialized (uint32_t instance)
 Event on using uninitialized memory card device (Error)
 
__STATIC_INLINE void EvrFsMcSPI_MediaCdActive (uint32_t instance)
 Event on media detection using card detect switch (Op)
 
__STATIC_INLINE void EvrFsMcSPI_MediaCdInactive (uint32_t instance)
 Event on card detect switch check and media is not present (Op)
 
__STATIC_INLINE void EvrFsMcSPI_MediaWpActive (uint32_t instance)
 Event on active write protection switch (Op)
 
__STATIC_INLINE void EvrFsMcSPI_MediaWpInactive (uint32_t instance)
 Event on inactive write protection switch (Op)
 
__STATIC_INLINE void EvrFsMcSPI_MediaReset (uint32_t instance)
 Event on start of memory card device reset operation (Op)
 
__STATIC_INLINE void EvrFsMcSPI_MediaResetError (uint32_t instance)
 Event on memory card device reset error (Op)
 
__STATIC_INLINE void EvrFsMcSPI_MediaDetectionSD (uint32_t instance)
 Event on start of SD memory card detection operation (Op)
 
__STATIC_INLINE void EvrFsMcSPI_MediaSD_V2 (uint32_t instance)
 Event on received response from SD memory card V2 (Op)
 
__STATIC_INLINE void EvrFsMcSPI_MediaReady (uint32_t instance, uint32_t ocr)
 Event on received response from SD memory card V2 (Op)
 
__STATIC_INLINE void EvrFsMcSPI_MediaNoResponse (uint32_t instance)
 Event on nonresponsive media device (Error)
 
__STATIC_INLINE void EvrFsMcSPI_MediaDetectionMMC (uint32_t instance)
 Event on start of MMC/eMMC device detection procedure (Op)
 
__STATIC_INLINE void EvrFsMcSPI_MediaDetectionError (uint32_t instance)
 Event on media device detection error (Error)
 
__STATIC_INLINE void EvrFsMcSPI_CidReadError (uint32_t instance)
 Event on CID register read error (Error)
 
__STATIC_INLINE void EvrFsMcSPI_CsdReadError (uint32_t instance)
 Event on CSD register read error (Error)
 
__STATIC_INLINE void EvrFsMcSPI_BlenWriteError (uint32_t instance, uint32_t blen)
 Event on failed block length setting (Error)
 
__STATIC_INLINE void EvrFsMcSPI_UninitDriver (uint32_t instance, uint32_t driver)
 Event on SPI driver uninitialization (Op)
 
__STATIC_INLINE void EvrFsMcSPI_UninitMedia (uint32_t instance)
 Event on memory card device uninitialization (Op)
 
__STATIC_INLINE void EvrFsMcSPI_SectorRead (uint32_t instance, uint32_t sector, uint32_t count)
 Event on sector read operation (Op)
 
__STATIC_INLINE void EvrFsMcSPI_SectorReadError (uint32_t instance, uint32_t sector, uint32_t count)
 Event on sector read operation error (Op)
 
__STATIC_INLINE void EvrFsMcSPI_SectorWrite (uint32_t instance, uint32_t sector, uint32_t count)
 Event on sector write operation (Op)
 
__STATIC_INLINE void EvrFsMcSPI_SectorWriteError (uint32_t instance, uint32_t sector, uint32_t count)
 Event on sector write operation error (Op)
 
__STATIC_INLINE void EvrFsMcSPI_ReadInfo (uint32_t instance)
 Event on media capacity retrieval operation (Op)
 
__STATIC_INLINE void EvrFsMcSPI_ReadInfoSuccess (uint32_t instance, uint32_t sect_count)
 Event on media capacity retrieval operation (Op)
 
__STATIC_INLINE void EvrFsMcSPI_DevCtrl (uint32_t instance, uint32_t code, uint32_t p)
 Event on memory card device control operation (Op)
 
__STATIC_INLINE void EvrFsMcSPI_DevCtrlUnsupported (uint32_t instance, uint32_t code)
 Event on memory card device control code unsupported error (Error)
 
__STATIC_INLINE void EvrFsMcSPI_LockUnlockExec (uint32_t instance)
 Event on Lock/Unlock command execution (Op)
 
__STATIC_INLINE void EvrFsMcSPI_LockUnlockExecError (uint32_t instance)
 Event on Lock/Unlock command execution error (Error)
 
__STATIC_INLINE void EvrFsMcSPI_LockActive (uint32_t instance)
 Event on active password protection status (Op)
 
__STATIC_INLINE void EvrFsMcSPI_LockDeactivated (uint32_t instance)
 Event on deactivated password protection status (Op)
 
__STATIC_INLINE void EvrFsMcSPI_BusSpeedControl (uint32_t instance, uint32_t speed)
 Event on SPI bus speed control operation (Op)
 
__STATIC_INLINE void EvrFsMcSPI_SlaveSelCtrlMissing (uint32_t instance)
 Event on missing fs_mc_spi_control_ss function (Op)
 
__STATIC_INLINE void EvrFsMcSPI_ReadWpMissing (uint32_t instance)
 Event on missing fs_mc_read_wp function (Op)
 
__STATIC_INLINE void EvrFsMcSPI_ReadCdMissing (uint32_t instance)
 Event on missing fs_mc_read_cd function (Op)
 
__STATIC_INLINE void EvrFsMcSPI_CrcDisableError (uint32_t instance)
 Event on CRC check disable error (Error)
 
__STATIC_INLINE void EvrFsMcSPI_DriverSendError (uint32_t instance, uint32_t event)
 Event on SPI driver Send function error (Error)
 
__STATIC_INLINE void EvrFsMcSPI_DriverReceiveError (uint32_t instance, uint32_t event)
 Event on SPI driver Receive function error (Error)
 
__STATIC_INLINE void EvrFsMcSPI_CmdSendError (uint32_t instance, uint32_t cmd, uint32_t arg)
 Event on command send error (Error)
 
__STATIC_INLINE void EvrFsMcSPI_CmdResponseError (uint32_t instance, uint32_t cmd)
 Event on missing or invalid command response (Error)
 
__STATIC_INLINE void EvrFsMcSPI_ACmdResponseError (uint32_t instance, uint32_t cmd)
 Event on missing or invalid application command response (Error)
 
__STATIC_INLINE void EvrFsMcSPI_ParameterInvalid (uint32_t instance)
 Event on invalid function parameter(s) (Error)
 
__STATIC_INLINE void EvrFsMcSPI_MediaPasswordEnabled (uint32_t instance)
 Event on detection of enabled media password protection (Error)
 

Description

Events generated by File System - Memory Card SPI functions.

FileSystem - Memory Card SPI

Function Documentation

◆ EvrFsMcSPI_ACmdResponseError()

__STATIC_INLINE void EvrFsMcSPI_ACmdResponseError ( uint32_t  instance,
uint32_t  cmd 
)

Event on missing or invalid application command response (Error)

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

The event ACmdResponseError is generated when response to the last application command is not received.

Value in the Event Recorder shows:

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

◆ EvrFsMcSPI_BlenWriteError()

__STATIC_INLINE void EvrFsMcSPI_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 in bytes.

◆ EvrFsMcSPI_BusSpeedControl()

__STATIC_INLINE void EvrFsMcSPI_BusSpeedControl ( uint32_t  instance,
uint32_t  speed 
)

Event on SPI bus speed control operation (Op)

Parameters
[in]instancememory card control layer instance
[in]speedbus speed in Hz

The event BusSpeedControl is generated on attempt to change SPI bus speed.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.
  • speed : bus speed in Hz

◆ EvrFsMcSPI_CidReadError()

__STATIC_INLINE void EvrFsMcSPI_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.

◆ EvrFsMcSPI_CmdResponseError()

__STATIC_INLINE void EvrFsMcSPI_CmdResponseError ( uint32_t  instance,
uint32_t  cmd 
)

Event on missing or invalid command response (Error)

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

The event CmdResponseError is generated when response to the last command is not received.

Value in the Event Recorder shows:

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

◆ EvrFsMcSPI_CmdSendError()

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

Event on command send error (Error)

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

The event CmdSendError is generated when SPI driver fails to send the command to the SD/MMC device.

Value in the Event Recorder shows:

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

◆ EvrFsMcSPI_CrcDisableError()

__STATIC_INLINE void EvrFsMcSPI_CrcDisableError ( uint32_t  instance)

Event on CRC check disable error (Error)

Parameters
[in]instancememory card control layer instance

The event CrcDisableError is generated when the SD/MMC CRC check disable command execution fails.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcSPI_CsdReadError()

__STATIC_INLINE void EvrFsMcSPI_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.

◆ EvrFsMcSPI_DevCtrl()

__STATIC_INLINE void EvrFsMcSPI_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.

◆ EvrFsMcSPI_DevCtrlUnsupported()

__STATIC_INLINE void EvrFsMcSPI_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.

◆ EvrFsMcSPI_DriverReceiveError()

__STATIC_INLINE void EvrFsMcSPI_DriverReceiveError ( uint32_t  instance,
uint32_t  event 
)

Event on SPI driver Receive function error (Error)

Parameters
[in]instancememory card control layer instance
[in]eventSignalEvent function event flags

The event DriverReceiveError is generated when the SPI driver Receive function did not complete with ARM_SPI_EVENT_TRANSFER_COMPLETE event.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.
  • event : CMSIS SPI driver events.

◆ EvrFsMcSPI_DriverSendError()

__STATIC_INLINE void EvrFsMcSPI_DriverSendError ( uint32_t  instance,
uint32_t  event 
)

Event on SPI driver Send function error (Error)

Parameters
[in]instancememory card control layer instance
[in]eventSignalEvent function event flags

The event DriverSendError is generated when the SPI driver Send function did not complete with ARM_SPI_EVENT_TRANSFER_COMPLETE event.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.
  • event : CMSIS SPI driver events.

◆ EvrFsMcSPI_InitDriver()

__STATIC_INLINE void EvrFsMcSPI_InitDriver ( uint32_t  instance,
uint32_t  driver 
)

Event on memory card driver initialization (Op)

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

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

Value in the Event Recorder shows:

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

◆ EvrFsMcSPI_InitDriverError()

__STATIC_INLINE void EvrFsMcSPI_InitDriverError ( uint32_t  instance,
uint32_t  driver 
)

Event on memory card driver initialization error (Op)

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

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

Value in the Event Recorder shows:

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

◆ EvrFsMcSPI_InitDriverPowerError()

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

Event on memory card driver power control error (Op)

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

The event InitDriverPowerError is generated when the SPI 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).

◆ EvrFsMcSPI_InitDriverSuccess()

__STATIC_INLINE void EvrFsMcSPI_InitDriverSuccess ( uint32_t  instance,
uint32_t  driver 
)

Event on successful memory card driver initialization (Op)

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

The event InitDriverSuccess is generated when SPI driver is initialized successfully.

Value in the Event Recorder shows:

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

◆ EvrFsMcSPI_InitMedia()

__STATIC_INLINE void EvrFsMcSPI_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 memory device.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcSPI_InitMediaSuccess()

__STATIC_INLINE void EvrFsMcSPI_InitMediaSuccess ( uint32_t  instance)

Event on successful memory card device initialization (Op)

Parameters
[in]instancememory card control layer instance

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

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcSPI_LockActive()

__STATIC_INLINE void EvrFsMcSPI_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/MMC LOCK command executes successfully.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcSPI_LockDeactivated()

__STATIC_INLINE void EvrFsMcSPI_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/MMC UNLOCK command executes successfully.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcSPI_LockUnlockExec()

__STATIC_INLINE void EvrFsMcSPI_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 LOCK/UNLOCK command.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcSPI_LockUnlockExecError()

__STATIC_INLINE void EvrFsMcSPI_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 LOCK/UNLOCK command execution fails.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcSPI_MediaCdActive()

__STATIC_INLINE void EvrFsMcSPI_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.

◆ EvrFsMcSPI_MediaCdInactive()

__STATIC_INLINE void EvrFsMcSPI_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.

◆ EvrFsMcSPI_MediaDetectionError()

__STATIC_INLINE void EvrFsMcSPI_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 SD/MMC memory device.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcSPI_MediaDetectionMMC()

__STATIC_INLINE void EvrFsMcSPI_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 memory device detection procedure.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcSPI_MediaDetectionSD()

__STATIC_INLINE void EvrFsMcSPI_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.

◆ EvrFsMcSPI_MediaNoResponse()

__STATIC_INLINE void EvrFsMcSPI_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.

◆ EvrFsMcSPI_MediaNotInitialized()

__STATIC_INLINE void EvrFsMcSPI_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 memory device.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcSPI_MediaPasswordEnabled()

__STATIC_INLINE void EvrFsMcSPI_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 device while the password protection is still active.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcSPI_MediaReady()

__STATIC_INLINE void EvrFsMcSPI_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.

◆ EvrFsMcSPI_MediaReset()

__STATIC_INLINE void EvrFsMcSPI_MediaReset ( uint32_t  instance)

Event on start of memory card device reset operation (Op)

Parameters
[in]instancememory card control layer instance

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

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcSPI_MediaResetError()

__STATIC_INLINE void EvrFsMcSPI_MediaResetError ( uint32_t  instance)

Event on memory card device reset error (Op)

Parameters
[in]instancememory card control layer instance

The event MediaResetError is generated when SD/MMC memory device reset command fails.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcSPI_MediaSD_V2()

__STATIC_INLINE void EvrFsMcSPI_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.

◆ EvrFsMcSPI_MediaWpActive()

__STATIC_INLINE void EvrFsMcSPI_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.

◆ EvrFsMcSPI_MediaWpInactive()

__STATIC_INLINE void EvrFsMcSPI_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.

◆ EvrFsMcSPI_ParameterInvalid()

__STATIC_INLINE void EvrFsMcSPI_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.

◆ EvrFsMcSPI_ReadCdMissing()

__STATIC_INLINE void EvrFsMcSPI_ReadCdMissing ( uint32_t  instance)

Event on missing fs_mc_read_cd function (Op)

Parameters
[in]instancememory card control layer instance

The event ReadCdMissing is generated when Memory Card Control Layer detects that Card Detect signal control is missing.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcSPI_ReadInfo()

__STATIC_INLINE void EvrFsMcSPI_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 device storage geometry properties.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcSPI_ReadInfoSuccess()

__STATIC_INLINE void EvrFsMcSPI_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 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.

◆ EvrFsMcSPI_ReadWpMissing()

__STATIC_INLINE void EvrFsMcSPI_ReadWpMissing ( uint32_t  instance)

Event on missing fs_mc_read_wp function (Op)

Parameters
[in]instancememory card control layer instance

The event ReadWpMissing is generated when Memory Card Control Layer detects that Write Protect signal control is missing.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcSPI_SectorRead()

__STATIC_INLINE void EvrFsMcSPI_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 memory device.

Value in the Event Recorder shows:

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

◆ EvrFsMcSPI_SectorReadError()

__STATIC_INLINE void EvrFsMcSPI_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 memory device fails.

Value in the Event Recorder shows:

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

◆ EvrFsMcSPI_SectorWrite()

__STATIC_INLINE void EvrFsMcSPI_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 memory device.

Value in the Event Recorder shows:

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

◆ EvrFsMcSPI_SectorWriteError()

__STATIC_INLINE void EvrFsMcSPI_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 memory device fails.

Value in the Event Recorder shows:

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

◆ EvrFsMcSPI_SlaveSelCtrlMissing()

__STATIC_INLINE void EvrFsMcSPI_SlaveSelCtrlMissing ( uint32_t  instance)

Event on missing fs_mc_spi_control_ss function (Op)

Parameters
[in]instancememory card control layer instance

The event SlaveSelCtrlMissing is generated when Memory Card Control Layer detects that Slave Select signal control is missing.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsMcSPI_UninitDriver()

__STATIC_INLINE void EvrFsMcSPI_UninitDriver ( uint32_t  instance,
uint32_t  driver 
)

Event on SPI 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 SPI driver.

Value of the Event Recorder shows:

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

◆ EvrFsMcSPI_UninitMedia()

__STATIC_INLINE void EvrFsMcSPI_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 memory device.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.