![]() |
CMSIS Driver
Version 1.10 - Preliminary
Middleware Driver API for microcontroller peripherals
|
Functions | |
| ARM_DRV_VERSION | ARM_MCI_GetVersion (void) |
| Get driver version. | |
| ARM_MCI_CAPABILITIES | ARM_MCI_GetCapabilities (void) |
| Get driver capabilities. | |
| ARM_MCI_STATUS | ARM_MCI_Initialize (ARM_MCI_SignalEvent_t cb_event, bool spi_mode) |
| Initialize the Memory Card Interface. | |
| ARM_MCI_STATUS | ARM_MCI_Uninitialize (void) |
| De-initialize Memory Card Interface. | |
| ARM_MCI_STATUS | ARM_MCI_PowerControl (ARM_POWER_STATE state) |
| Control Memory Card Interface Power. | |
| ARM_MCI_STATUS | ARM_MCI_BusMode (ARM_MCI_BUS_MODE mode) |
| Setup the bus mode for Memory Card transfers. | |
| ARM_MCI_STATUS | ARM_MCI_BusDataWidth (ARM_MCI_BUS_DATA_WIDTH width) |
| Setup bus data width for Memory Card transfers. | |
| ARM_MCI_STATUS | ARM_MCI_BusSignaling (ARM_MCI_BUS_SIGNALING voltage) |
| Set bus signaling voltage for MCI transfers. | |
| uint32_t | ARM_MCI_BusSpeed (uint32_t bps) |
| Setup bus speed for Memory Card transfers. | |
| ARM_MCI_STATUS | ARM_MCI_CardPower (ARM_MCI_POWER voltage) |
| Set Memory Card supply voltage. | |
| ARM_MCI_SWITCH | ARM_MCI_CardSwitchRead (void) |
| Read state of Memory Card switches. | |
| ARM_MCI_STATUS | ARM_MCI_CardInitialize (void) |
| Perform Memory Card initialization sequence. | |
| ARM_MCI_STATUS | ARM_MCI_SendCommand (ARM_MC_COMMAND cmd, uint32_t cmd_arg, ARM_MC_RESPONSE response_type, uint32_t *ptr_response) |
| Send Command to card and get the response. | |
| ARM_MCI_STATUS | ARM_MCI_SetupTransfer (uint8_t *data, uint32_t block_count, uint32_t block_size, ARM_MCI_TRANSFER_MODE mode) |
| Setup read or write transfer operation. | |
| ARM_MCI_STATUS | ARM_MCI_ReadTransfer (uint8_t *data, uint32_t block_count, uint32_t block_size) |
| Perform read transfer. | |
| ARM_MCI_STATUS | ARM_MCI_WriteTransfer (uint8_t *data, uint32_t block_count, uint32_t block_size) |
| Perform write transfer. | |
| ARM_MCI_STATUS | ARM_MCI_AbortTransfer (void) |
| Abort current read/write data transfer. | |
| void | ARM_MCI_SignalEvent (ARM_MCI_EVENT event) |
| Callback function that signals a MCI Card Event. | |