# include/sdmmc/mcihost.h File Reference

SD/MMC MCI host driver. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Functions
struct sdmmc_host * | sdmmc_mcihost_init (void)
| Initialize SD/MMC MCI host driver.

## Detailed Description

SD/MMC MCI host driver.

- Compiler: IAR EWAVR32 and GNU GCC for AVR32
- Supported devices: All devices
- AppNote:

Author:
  Atmel Corporation: http://www.atmel.com
  Support and FAQ: http://support.atmel.no/

Definition in file mcihost.h.

## Function Documentation

struct sdmmc_host* sdmmc_mcihost_init | ( | void |  | ) | `[read]`

Initialize SD/MMC MCI host driver.

Returns:
  0 on success, or a negative error code on failure.

Definition at line 1090 of file mcihost.c.

References BOARD_MCISLOT_A_CD, dbg_panic, dbg_printf, delayed_work_init(), DMAC_REG_WIDTH_32BIT, dmac_req_init(), get_mci_pclk_rate(), memset(), min, sdmmc_cd_init(), SDMMC_OCR_V_32_33, SDMMC_OCR_V_33_34, sdmmc_slot_init(), setup_irq_handler, slist_init(), softirq_set_handler(), and workqueue_init_item().

Here is the call graph for this function: