Loading...
Searching...
No Matches
mtd_sam0_sdhc.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2022 Benjamin Valentin
3 *
4 * This file is subject to the terms and conditions of the GNU Lesser
5 * General Public License v2.1. See the file LICENSE in the top level
6 * directory for more details.
7 */
8
9#pragma once
10
24
25#include "mtd.h"
26#include "sdhc.h"
27
28#ifdef __cplusplus
29extern "C"
30{
31#endif
32
42
47
48#ifdef __cplusplus
49}
50#endif
51
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:40