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
23#ifndef MTD_SAM0_SDHC_H
24#define MTD_SAM0_SDHC_H
25
26#include <stdint.h>
27
28#include "mtd.h"
29#include "sdhc.h"
30
31#ifdef __cplusplus
32extern "C"
33{
34#endif
35
45
50
51#ifdef __cplusplus
52}
53#endif
54
55#endif /* MTD_SAM0_SDHC_H */
const mtd_desc_t mtd_sam0_sdhc_driver
sdcard device operations table for mtd
SD card interface functions for sam0 class devices.
MTD driver interface.
Definition mtd.h:204
MTD device descriptor.
Definition mtd.h:112
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:41