# include/block/sdmmc.h File Reference

SD/MMC block device driver interface. More...

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

Go to the source code of this file.

## Functions
struct block_device * | sdmmc_blkdev_init_new (struct sdmmc_slot *slot, void(*event)(struct block_device *blkdev, void *context), void *context)
| Initialize a SD/MMC block device.

## Detailed Description

SD/MMC block device driver interface.

- 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 sdmmc.h.

## Function Documentation

struct block_device* sdmmc_blkdev_init_new | ( | struct sdmmc_slot * | slot,
|  | void(*)(struct block_device *blkdev, void *context) | event,
|  | void * | context |
| ) |  |  | `[read]`

Initialize a SD/MMC block device.

Parameters:

  | slot | SD/MMC slot structure

Returns:
  A new block device, or NULL if insufficient memory is available.

Definition at line 218 of file sdmmc.c.

References memset(), and sdmmc_probe_init().

Here is the call graph for this function: