Loading...
Searching...
No Matches
mtd.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2020 ML!PA Consulting GmbH
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
23
24#include <stdint.h>
25
26#include "at25xxx.h"
27#include "mtd.h"
28
29#ifdef __cplusplus
30extern "C"
31{
32#endif
33
44
49
50#ifdef __cplusplus
51}
52#endif
53
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:103
struct holding all params needed for device initialization
Definition at25xxx.h:38
struct that represents an AT25XXX device
Definition at25xxx.h:51
Device descriptor for mtd_at25xxx device.
Definition mtd.h:39
const at25xxx_params_t * params
params for at25xxx_eeprom init
Definition mtd.h:42
mtd_dev_t base
inherit from mtd_dev_t object
Definition mtd.h:40
at25xxx_t * at25xxx_eeprom
at25xxx_eeprom dev descriptor
Definition mtd.h:41
MTD device descriptor.
Definition mtd.h:111