Purpose
The HSMCI driver provides the interface to configure and use the HSMCI peripheral.
Usage
- HSMCI_Enable(), MCI_Disable(): Enable/Disable HSMCI interface.
- HSMCI_Reset(): Reset HSMCI interface.
- HSMCI_Select(): HSMCI slot and buswidth selection (Hsmci::HSMCI_SDCR).
- HSMCI_ConfigureMode(): Configure the MCI CLKDIV in the _MR register (Hsmci::HSMCI_MR).
- HSMCI_EnableIt(), HSMCI_DisableIt(), HSMCI_GetItMask(), HSMCI_GetStatus() HSMCI Interrupt control (Hsmci::HSMCI_IER, Hsmci::HSMCI_IDR, Hsmci::HSMCI_IMR, Hsmci::HSMCI_SR).
- HSMCI_ConfigureTransfer(): Setup block length and count for MCI transfer (Hsmci::HSMCI_BLKR).
- HSMCI_SendCmd(): Send SD/MMC command with argument (Hsmci::HSMCI_ARGR, Hsmci::HSMCI_CMDR).
- HSMCI_GetResponse(): Get SD/MMC response after command finished (Hsmci::HSMCI_RSPR).
- HSMCI_ConfigureDma(): Configure MCI DMA transfer (Hsmci::HSMCI_DMA).
- HSMCI_Configure(): Configure the HSMCI interface (Hsmci::HSMCI_CFG).
- HSMCI_HsEnable(), HSMCI_IsHsEnabled(): High Speed control.
For more accurate information, please look at the HSMCI section of the Datasheet.
- See also
- MCI Driver (HAL for SD/MMC Lib)
Related files :
hsmci.h
hsmci.c.