CMSIS-Driver  
Peripheral Interface for Middleware and Application Code
 
Loading...
Searching...
No Matches
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

◆ ARM_MCI_EVENT_CARD_INSERTED

#define ARM_MCI_EVENT_CARD_INSERTED   (1UL << 0)

Memory Card inserted.

See also
ARM_MCI_SignalEvent

◆ ARM_MCI_EVENT_CARD_REMOVED

#define ARM_MCI_EVENT_CARD_REMOVED   (1UL << 1)

Memory Card removed.

See also
ARM_MCI_SignalEvent

◆ ARM_MCI_EVENT_COMMAND_COMPLETE

#define ARM_MCI_EVENT_COMMAND_COMPLETE   (1UL << 2)

Command completed.

See also
ARM_MCI_SignalEvent

◆ ARM_MCI_EVENT_COMMAND_TIMEOUT

#define ARM_MCI_EVENT_COMMAND_TIMEOUT   (1UL << 3)

Command timeout.

See also
ARM_MCI_SignalEvent

◆ ARM_MCI_EVENT_COMMAND_ERROR

#define ARM_MCI_EVENT_COMMAND_ERROR   (1UL << 4)

Command response error (CRC error or invalid response)

See also
ARM_MCI_SignalEvent

◆ ARM_MCI_EVENT_TRANSFER_COMPLETE

#define ARM_MCI_EVENT_TRANSFER_COMPLETE   (1UL << 5)

Data transfer completed.

See also
ARM_MCI_SignalEvent

◆ ARM_MCI_EVENT_TRANSFER_TIMEOUT

#define ARM_MCI_EVENT_TRANSFER_TIMEOUT   (1UL << 6)

Data transfer timeout.

See also
ARM_MCI_SignalEvent

◆ ARM_MCI_EVENT_TRANSFER_ERROR

#define ARM_MCI_EVENT_TRANSFER_ERROR   (1UL << 7)

Data transfer CRC failed.

See also
ARM_MCI_SignalEvent

◆ ARM_MCI_EVENT_SDIO_INTERRUPT

#define ARM_MCI_EVENT_SDIO_INTERRUPT   (1UL << 8)

SD I/O Interrupt.

See also
ARM_MCI_SignalEvent

◆ ARM_MCI_EVENT_CCS

#define ARM_MCI_EVENT_CCS   (1UL << 9)

Command Completion Signal (CCS)

See also
ARM_MCI_SignalEvent

◆ ARM_MCI_EVENT_CCS_TIMEOUT

#define ARM_MCI_EVENT_CCS_TIMEOUT   (1UL << 10)

Command Completion Signal (CCS) Timeout.

See also
ARM_MCI_SignalEvent