Loading...
Searching...
No Matches
mtd_sam0_sdhc.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2022 Benjamin Valentin
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
21
22#include "mtd.h"
23#include "sdhc.h"
24
25#ifdef __cplusplus
26extern "C"
27{
28#endif
29
39
44
45#ifdef __cplusplus
46}
47#endif
48
const mtd_desc_t mtd_sam0_sdhc_driver
sdcard device operations table for mtd
struct mtd_desc mtd_desc_t
MTD driver interface.
Definition mtd.h:103
SD card interface functions for sam0 class devices.
MTD device descriptor.
Definition mtd.h:111
Device descriptor for mtd_sdcard device.
sdhc_state_t state
sdcard_spi dev descriptor
mtd_dev_t base
inherit from mtd_dev_t object
SD Card driver context.
Definition sdhc.h:37