Purpose
This driver implements SD(IO)/MMC command operations and MCI configuration routines to perform SD(IO)/MMC access. It's used for upper layer (SD/MMC driver) to perform SD/MMC operations.
Usage
- MCID_Init(): Initializes a MCI driver instance and the underlying peripheral.
- MCID_SendCmd(): Starts a MCI transfer which described by sSdmmcCommand.
- MCID_CancelCmd(): Cancel a pending command.
- MCID_IsCmdCompleted(): Check if MCI transfer is finished.
- MCID_Handler(): Interrupt handler which is called by ISR handler.
- MCID_IOCtrl(): IO control function to report HW attributes to upper layer driver and modify HW settings (such as clock frequency, High-speed support, etc. See sdmmc_ioctrls).
- See also
- DMA Driver, HSMCI, SD/MMC Library
Related files:
mcid.h
mcid_dma.c.