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

The MCI driver generates call back events that are notified via the function ARM_MCI_SignalEvent. 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_CCS   (1UL << 9)
 Command Completion Signal (CCS)
 
#define ARM_MCI_EVENT_CCS_TIMEOUT   (1UL << 10)
 Command Completion Signal (CCS) Timeout.
 

Description

The MCI driver generates call back events that are notified via the function ARM_MCI_SignalEvent.

This section provides the event values for the ARM_MCI_SignalEvent callback function.

The following call back notification events are generated:

Macro Definition Documentation

#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_COMMAND_COMPLETE   (1UL << 2)

Command completed.

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

Command timeout.

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_TRANSFER_COMPLETE   (1UL << 5)

Data transfer completed.

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

Data transfer timeout.

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_SDIO_INTERRUPT   (1UL << 8)

SD I/O Interrupt.

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

Command Completion Signal (CCS)

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

Command Completion Signal (CCS) Timeout.

See Also
ARM_MCI_SignalEvent