Loading...
Searching...
No Matches
mtd.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2020 ML!PA Consulting GmbH
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
20
21#include <stdint.h>
22
23#include "at25xxx.h"
24#include "mtd.h"
25
26#ifdef __cplusplus
27extern "C"
28{
29#endif
30
41
46
47#ifdef __cplusplus
48}
49#endif
50
Interface definition for at25xxx MTD wrapper.
Driver for the AT25xxx series of EEPROMs.
const mtd_desc_t mtd_at25xxx_driver
mtd_at25xxx_eeprom device operations table for mtd
struct mtd_desc mtd_desc_t
MTD driver interface.
Definition mtd.h:100
struct holding all params needed for device initialization
Definition at25xxx.h:35
struct that represents an AT25XXX device
Definition at25xxx.h:48
Device descriptor for mtd_at25xxx device.
Definition mtd.h:36
const at25xxx_params_t * params
params for at25xxx_eeprom init
Definition mtd.h:39
mtd_dev_t base
inherit from mtd_dev_t object
Definition mtd.h:37
at25xxx_t * at25xxx_eeprom
at25xxx_eeprom dev descriptor
Definition mtd.h:38
MTD device descriptor.
Definition mtd.h:108