CMSIS-Driver
Version 2.05
Peripheral Interface for Middleware and Application Code
|
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... | |
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:
#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.