CMSIS-Driver  Version 2.6.0
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. More...
 
#define ARM_MCI_EVENT_CARD_REMOVED   (1UL << 1)
 Memory Card removed. More...
 
#define ARM_MCI_EVENT_COMMAND_COMPLETE   (1UL << 2)
 Command completed. More...
 
#define ARM_MCI_EVENT_COMMAND_TIMEOUT   (1UL << 3)
 Command timeout. More...
 
#define ARM_MCI_EVENT_COMMAND_ERROR   (1UL << 4)
 Command response error (CRC error or invalid response) More...
 
#define ARM_MCI_EVENT_TRANSFER_COMPLETE   (1UL << 5)
 Data transfer completed. More...
 
#define ARM_MCI_EVENT_TRANSFER_TIMEOUT   (1UL << 6)
 Data transfer timeout. More...
 
#define ARM_MCI_EVENT_TRANSFER_ERROR   (1UL << 7)
 Data transfer CRC failed. More...
 
#define ARM_MCI_EVENT_SDIO_INTERRUPT   (1UL << 8)
 SD I/O Interrupt. More...
 
#define ARM_MCI_EVENT_CCS   (1UL << 9)
 Command Completion Signal (CCS) More...
 
#define ARM_MCI_EVENT_CCS_TIMEOUT   (1UL << 10)
 Command Completion Signal (CCS) Timeout. More...
 

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