Loading...
Searching...
No Matches
mtd_sdmmc.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2017 HAW-Hamburg
3 * 2023 Gunar Schorcht
4 *
5 * This file is subject to the terms and conditions of the GNU Lesser
6 * General Public License v2.1. See the file LICENSE in the top level
7 * directory for more details.
8 */
9
10#pragma once
11
25
26#include <stdint.h>
27
28#include "mtd.h"
29#include "sdmmc/sdmmc.h"
30
31#ifdef __cplusplus
32extern "C"
33{
34#endif
35
46
50extern const mtd_desc_t mtd_sdmmc_driver;
51
52#ifdef __cplusplus
53}
54#endif
55
const mtd_desc_t mtd_sdmmc_driver
SD/MMC device operations table for mtd.
struct mtd_desc mtd_desc_t
MTD driver interface.
Definition mtd.h:103
struct sdmmc_dev sdmmc_dev_t
sdmmc_dev_t forward declaration
Definition sdmmc.h:880
SDIO/SD/MMC device API using a low-level peripheral driver.
MTD device descriptor.
Definition mtd.h:111
Device descriptor for a mtd_sdmmc device.
Definition mtd_sdmmc.h:41
uint8_t sdmmc_idx
SD/MMC peripheral index.
Definition mtd_sdmmc.h:44
sdmmc_dev_t * sdmmc
SD/MMC device descriptor.
Definition mtd_sdmmc.h:43
mtd_dev_t base
inherit mtd_dev_t object
Definition mtd_sdmmc.h:42