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) | |
Events generated by File System - Memory Card SPI functions.
FileSystem - Memory Card SPI
__STATIC_INLINE void EvrFsMcSPI_ACmdResponseError | ( | uint32_t | instance, |
uint32_t | cmd | ||
) |
Event on missing or invalid application command response (Error)
[in] | instance | memory card control layer instance |
[in] | cmd | command index |
The event ACmdResponseError is generated when response to the last application command is not received.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsMcSPI_BlenWriteError | ( | uint32_t | instance, |
uint32_t | blen | ||
) |
Event on failed block length setting (Error)
[in] | instance | memory card control layer instance |
[in] | blen | block 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:
__STATIC_INLINE void EvrFsMcSPI_BusSpeedControl | ( | uint32_t | instance, |
uint32_t | speed | ||
) |
Event on SPI bus speed control operation (Op)
[in] | instance | memory card control layer instance |
[in] | speed | bus speed in Hz |
The event BusSpeedControl is generated on attempt to change SPI bus speed.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsMcSPI_CidReadError | ( | uint32_t | instance | ) |
Event on CID register read error (Error)
[in] | instance | memory 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:
__STATIC_INLINE void EvrFsMcSPI_CmdResponseError | ( | uint32_t | instance, |
uint32_t | cmd | ||
) |
Event on missing or invalid command response (Error)
[in] | instance | memory card control layer instance |
[in] | cmd | command index |
The event CmdResponseError is generated when response to the last command is not received.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsMcSPI_CmdSendError | ( | uint32_t | instance, |
uint32_t | cmd, | ||
uint32_t | arg | ||
) |
Event on command send error (Error)
[in] | instance | memory card control layer instance |
[in] | cmd | command index |
[in] | arg | command 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:
__STATIC_INLINE void EvrFsMcSPI_CrcDisableError | ( | uint32_t | instance | ) |
Event on CRC check disable error (Error)
[in] | instance | memory 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:
__STATIC_INLINE void EvrFsMcSPI_CsdReadError | ( | uint32_t | instance | ) |
Event on CSD register read error (Error)
[in] | instance | memory 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:
__STATIC_INLINE void EvrFsMcSPI_DevCtrl | ( | uint32_t | instance, |
uint32_t | code, | ||
uint32_t | p | ||
) |
Event on memory card device control operation (Op)
[in] | instance | memory card control layer instance |
[in] | code | device control command code |
[in] | p | command 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:
__STATIC_INLINE void EvrFsMcSPI_DevCtrlUnsupported | ( | uint32_t | instance, |
uint32_t | code | ||
) |
Event on memory card device control code unsupported error (Error)
[in] | instance | memory card control layer instance |
[in] | code | device control command code |
The event DevCtrlUnsupported is generated whenever an unsupported control code is used.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsMcSPI_DriverReceiveError | ( | uint32_t | instance, |
uint32_t | event | ||
) |
Event on SPI driver Receive function error (Error)
[in] | instance | memory card control layer instance |
[in] | event | SignalEvent 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:
__STATIC_INLINE void EvrFsMcSPI_DriverSendError | ( | uint32_t | instance, |
uint32_t | event | ||
) |
Event on SPI driver Send function error (Error)
[in] | instance | memory card control layer instance |
[in] | event | SignalEvent 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:
__STATIC_INLINE void EvrFsMcSPI_InitDriver | ( | uint32_t | instance, |
uint32_t | driver | ||
) |
Event on memory card driver initialization (Op)
[in] | instance | memory card control layer instance |
[in] | driver | CMSIS SPI driver control block address |
The event InitDriver is generated on attempt to initialize the SPI driver.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsMcSPI_InitDriverError | ( | uint32_t | instance, |
uint32_t | driver | ||
) |
Event on memory card driver initialization error (Op)
[in] | instance | memory card control layer instance |
[in] | driver | CMSIS SPI driver control block address |
The event InitDriverError is generated when the SPI driver initialization fails.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsMcSPI_InitDriverPowerError | ( | uint32_t | instance, |
uint32_t | driver, | ||
uint32_t | state | ||
) |
Event on memory card driver power control error (Op)
[in] | instance | memory card control layer instance |
[in] | driver | CMSIS SPI driver control block address |
[in] | state | CMSIS driver power state |
The event InitDriverPowerError is generated when the SPI driver power control fails.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsMcSPI_InitDriverSuccess | ( | uint32_t | instance, |
uint32_t | driver | ||
) |
Event on successful memory card driver initialization (Op)
[in] | instance | memory card control layer instance |
[in] | driver | CMSIS SPI driver control block address |
The event InitDriverSuccess is generated when SPI driver is initialized successfully.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsMcSPI_InitMedia | ( | uint32_t | instance | ) |
Event on memory card device initialization (Op)
[in] | instance | memory card control layer instance |
The event InitMedia is generated on attempt to initialize the SD/MMC memory device.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsMcSPI_InitMediaSuccess | ( | uint32_t | instance | ) |
Event on successful memory card device initialization (Op)
[in] | instance | memory 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:
__STATIC_INLINE void EvrFsMcSPI_LockActive | ( | uint32_t | instance | ) |
Event on active password protection status (Op)
[in] | instance | memory 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:
__STATIC_INLINE void EvrFsMcSPI_LockDeactivated | ( | uint32_t | instance | ) |
Event on deactivated password protection status (Op)
[in] | instance | memory 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:
__STATIC_INLINE void EvrFsMcSPI_LockUnlockExec | ( | uint32_t | instance | ) |
Event on Lock/Unlock command execution (Op)
[in] | instance | memory 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:
__STATIC_INLINE void EvrFsMcSPI_LockUnlockExecError | ( | uint32_t | instance | ) |
Event on Lock/Unlock command execution error (Error)
[in] | instance | memory card control layer instance |
The event LockUnlockExecError is generated when the SD/MMC LOCK/UNLOCK command execution fails.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsMcSPI_MediaCdActive | ( | uint32_t | instance | ) |
Event on media detection using card detect switch (Op)
[in] | instance | memory 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:
__STATIC_INLINE void EvrFsMcSPI_MediaCdInactive | ( | uint32_t | instance | ) |
Event on card detect switch check and media is not present (Op)
[in] | instance | memory 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:
__STATIC_INLINE void EvrFsMcSPI_MediaDetectionError | ( | uint32_t | instance | ) |
Event on media device detection error (Error)
[in] | instance | memory 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:
__STATIC_INLINE void EvrFsMcSPI_MediaDetectionMMC | ( | uint32_t | instance | ) |
Event on start of MMC/eMMC device detection procedure (Op)
[in] | instance | memory 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:
__STATIC_INLINE void EvrFsMcSPI_MediaDetectionSD | ( | uint32_t | instance | ) |
Event on start of SD memory card detection operation (Op)
[in] | instance | memory 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:
__STATIC_INLINE void EvrFsMcSPI_MediaNoResponse | ( | uint32_t | instance | ) |
Event on nonresponsive media device (Error)
[in] | instance | memory 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:
__STATIC_INLINE void EvrFsMcSPI_MediaNotInitialized | ( | uint32_t | instance | ) |
Event on using uninitialized memory card device (Error)
[in] | instance | memory 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:
__STATIC_INLINE void EvrFsMcSPI_MediaPasswordEnabled | ( | uint32_t | instance | ) |
Event on detection of enabled media password protection (Error)
[in] | instance | memory 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:
__STATIC_INLINE void EvrFsMcSPI_MediaReady | ( | uint32_t | instance, |
uint32_t | ocr | ||
) |
Event on received response from SD memory card V2 (Op)
[in] | instance | memory card control layer instance |
[in] | ocr | OCR 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:
__STATIC_INLINE void EvrFsMcSPI_MediaReset | ( | uint32_t | instance | ) |
Event on start of memory card device reset operation (Op)
[in] | instance | memory card control layer instance |
The event MediaReset is generated on attempt to reset the SD/MMC memory device.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsMcSPI_MediaResetError | ( | uint32_t | instance | ) |
Event on memory card device reset error (Op)
[in] | instance | memory card control layer instance |
The event MediaResetError is generated when SD/MMC memory device reset command fails.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsMcSPI_MediaSD_V2 | ( | uint32_t | instance | ) |
Event on received response from SD memory card V2 (Op)
[in] | instance | memory 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:
__STATIC_INLINE void EvrFsMcSPI_MediaWpActive | ( | uint32_t | instance | ) |
Event on active write protection switch (Op)
[in] | instance | memory 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:
__STATIC_INLINE void EvrFsMcSPI_MediaWpInactive | ( | uint32_t | instance | ) |
Event on inactive write protection switch (Op)
[in] | instance | memory 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:
__STATIC_INLINE void EvrFsMcSPI_ParameterInvalid | ( | uint32_t | instance | ) |
Event on invalid function parameter(s) (Error)
[in] | instance | memory card control layer instance |
The event ParameterInvalid is generated when Memory Card Control Layer detects invalid function parameter.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrFsMcSPI_ReadCdMissing | ( | uint32_t | instance | ) |
Event on missing fs_mc_read_cd function (Op)
[in] | instance | memory 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:
__STATIC_INLINE void EvrFsMcSPI_ReadInfo | ( | uint32_t | instance | ) |
Event on media capacity retrieval operation (Op)
[in] | instance | memory 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:
__STATIC_INLINE void EvrFsMcSPI_ReadInfoSuccess | ( | uint32_t | instance, |
uint32_t | sect_count | ||
) |
Event on media capacity retrieval operation (Op)
[in] | instance | memory card control layer instance |
[in] | sect_count | capacity 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:
__STATIC_INLINE void EvrFsMcSPI_ReadWpMissing | ( | uint32_t | instance | ) |
Event on missing fs_mc_read_wp function (Op)
[in] | instance | memory 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:
__STATIC_INLINE void EvrFsMcSPI_SectorRead | ( | uint32_t | instance, |
uint32_t | sector, | ||
uint32_t | count | ||
) |
Event on sector read operation (Op)
[in] | instance | memory card control layer instance |
[in] | sector | sector number |
[in] | count | number 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:
__STATIC_INLINE void EvrFsMcSPI_SectorReadError | ( | uint32_t | instance, |
uint32_t | sector, | ||
uint32_t | count | ||
) |
Event on sector read operation error (Op)
[in] | instance | memory card control layer instance |
[in] | sector | sector number |
[in] | count | number 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:
__STATIC_INLINE void EvrFsMcSPI_SectorWrite | ( | uint32_t | instance, |
uint32_t | sector, | ||
uint32_t | count | ||
) |
Event on sector write operation (Op)
[in] | instance | memory card control layer instance |
[in] | sector | sector number |
[in] | count | number 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:
__STATIC_INLINE void EvrFsMcSPI_SectorWriteError | ( | uint32_t | instance, |
uint32_t | sector, | ||
uint32_t | count | ||
) |
Event on sector write operation error (Op)
[in] | instance | memory card control layer instance |
[in] | sector | sector number |
[in] | count | number 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:
__STATIC_INLINE void EvrFsMcSPI_SlaveSelCtrlMissing | ( | uint32_t | instance | ) |
Event on missing fs_mc_spi_control_ss function (Op)
[in] | instance | memory 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:
__STATIC_INLINE void EvrFsMcSPI_UninitDriver | ( | uint32_t | instance, |
uint32_t | driver | ||
) |
Event on SPI driver uninitialization (Op)
[in] | instance | memory card control layer instance |
[in] | driver | CMSIS MCI driver control block address |
The event UninitDriver is generated on attempt to de-initialize the SPI driver.
Value of the Event Recorder shows:
__STATIC_INLINE void EvrFsMcSPI_UninitMedia | ( | uint32_t | instance | ) |
Event on memory card device uninitialization (Op)
[in] | instance | memory 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: