SAMV71 Xplained Ultra Software Package 1.5

MCI Driver (HAL for SD/MMC Lib)
[SD/MMC Lib HardwareAccessLayer(HAL) Interface]

Collaboration diagram for MCI Driver (HAL for SD/MMC Lib):

Modules

 Working with HSMCI
 MCI Driver Defines
 MCI Driver Data Structs
 MCI Driver Functions

Detailed Description

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

  1. MCID_Init(): Initializes a MCI driver instance and the underlying peripheral.
  2. MCID_SendCmd(): Starts a MCI transfer which described by sSdmmcCommand.
  3. MCID_CancelCmd(): Cancel a pending command.
  4. MCID_IsCmdCompleted(): Check if MCI transfer is finished.
  5. MCID_Handler(): Interrupt handler which is called by ISR handler.
  6. 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 SD/MMC IO Control Codes).
See also:
DMA Driver, HSMCI, SD/MMC Library

Related files:
mcid.h
mcid_dma.c.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines