Loading...
Searching...
No Matches
mtd_sdmmc.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2017 HAW Hamburg
3 * SPDX-FileCopyrightText: 2023 Gunar Schorcht
4 * SPDX-License-Identifier: LGPL-2.1-only
5 */
6
7#pragma once
8
22
23#include <stdint.h>
24
25#include "mtd.h"
26#include "sdmmc/sdmmc.h"
27
28#ifdef __cplusplus
29extern "C"
30{
31#endif
32
43
47extern const mtd_desc_t mtd_sdmmc_driver;
48
49#ifdef __cplusplus
50}
51#endif
52
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:100
struct sdmmc_dev sdmmc_dev_t
sdmmc_dev_t forward declaration
Definition sdmmc.h:877
SDIO/SD/MMC device API using a low-level peripheral driver.
MTD device descriptor.
Definition mtd.h:108
Device descriptor for a mtd_sdmmc device.
Definition mtd_sdmmc.h:38
uint8_t sdmmc_idx
SD/MMC peripheral index.
Definition mtd_sdmmc.h:41
sdmmc_dev_t * sdmmc
SD/MMC device descriptor.
Definition mtd_sdmmc.h:40
mtd_dev_t base
inherit mtd_dev_t object
Definition mtd_sdmmc.h:39