CMSIS-Driver  Version 2.00
Peripheral Interface for Middleware and Application Code
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
MCI Events

MCI Card Event for the ARM_MCI_SignalEvent callback function. More...

Macros

#define ARM_MCI_EVENT_CARD_INSERTED   (1UL << 0)
 Memory Card inserted.
 
#define ARM_MCI_EVENT_CARD_REMOVED   (1UL << 1)
 Memory Card removed.
 
#define ARM_MCI_EVENT_COMMAND_COMPLETE   (1UL << 2)
 Command completed.
 
#define ARM_MCI_EVENT_COMMAND_TIMEOUT   (1UL << 3)
 Command timeout.
 
#define ARM_MCI_EVENT_COMMAND_ERROR   (1UL << 4)
 Command response error (CRC error or invalid response)
 
#define ARM_MCI_EVENT_TRANSFER_COMPLETE   (1UL << 5)
 Data transfer completed.
 
#define ARM_MCI_EVENT_TRANSFER_TIMEOUT   (1UL << 6)
 Data transfer timeout.
 
#define ARM_MCI_EVENT_TRANSFER_ERROR   (1UL << 7)
 Data transfer CRC failed.
 
#define ARM_MCI_EVENT_SDIO_INTERRUPT   (1UL << 8)
 SD I/O Interrupt.
 
#define ARM_MCI_EVENT_BOOT_ACK_TIMEOUT   (1UL << 9)
 Boot Acknowledge timeout (MMC only)
 
#define ARM_MCI_EVENT_CCS   (1UL << 10)
 Command Completion Signal (CCS)
 
#define ARM_MCI_EVENT_CCS_TIMEOUT   (1UL << 11)
 Command Completion Signal (CCS) Timeout.
 

Description

MCI Card Event for the ARM_MCI_SignalEvent callback function.

Specifies the MCI Card Event for the ARM_MCI_SignalEvent callback function. The function ARM_MCI_GetCapabilities returns information about the implemented callback events in a driver.

Macro Definition Documentation

#define ARM_MCI_EVENT_BOOT_ACK_TIMEOUT   (1UL << 9)

Boot Acknowledge timeout (MMC only)

See Also
ARM_MCI_SignalEvent
#define ARM_MCI_EVENT_CARD_INSERTED   (1UL << 0)

Memory Card inserted.

See Also
ARM_MCI_SignalEvent
#define ARM_MCI_EVENT_CARD_REMOVED   (1UL << 1)

Memory Card removed.

See Also
ARM_MCI_SignalEvent
#define ARM_MCI_EVENT_CCS   (1UL << 10)

Command Completion Signal (CCS)

See Also
ARM_MCI_SignalEvent
#define ARM_MCI_EVENT_CCS_TIMEOUT   (1UL << 11)

Command Completion Signal (CCS) Timeout.

See Also
ARM_MCI_SignalEvent
#define ARM_MCI_EVENT_COMMAND_COMPLETE   (1UL << 2)

Command completed.

See Also
ARM_MCI_SignalEvent
#define ARM_MCI_EVENT_COMMAND_ERROR   (1UL << 4)

Command response error (CRC error or invalid response)

See Also
ARM_MCI_SignalEvent
#define ARM_MCI_EVENT_COMMAND_TIMEOUT   (1UL << 3)

Command timeout.

See Also
ARM_MCI_SignalEvent
#define ARM_MCI_EVENT_SDIO_INTERRUPT   (1UL << 8)

SD I/O Interrupt.

See Also
ARM_MCI_SignalEvent
#define ARM_MCI_EVENT_TRANSFER_COMPLETE   (1UL << 5)

Data transfer completed.

See Also
ARM_MCI_SignalEvent
#define ARM_MCI_EVENT_TRANSFER_ERROR   (1UL << 7)

Data transfer CRC failed.

See Also
ARM_MCI_SignalEvent
#define ARM_MCI_EVENT_TRANSFER_TIMEOUT   (1UL << 6)

Data transfer timeout.

See Also
ARM_MCI_SignalEvent