Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
mtd_native.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2016 OTA keys S.A.
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
20
#ifndef MTD_NATIVE_H
21
#define MTD_NATIVE_H
22
23
#ifdef __cplusplus
24
extern
"C"
{
25
#endif
26
27
#include "mtd.h"
28
30
typedef
struct
mtd_native_dev
{
31
mtd_dev_t
base
;
32
const
char
*
fname
;
33
}
mtd_native_dev_t
;
34
38
extern
const
mtd_desc_t
native_flash_driver
;
39
40
#ifdef __cplusplus
41
}
42
#endif
43
44
#endif
/* MTD_NATIVE_H */
45
native_flash_driver
const mtd_desc_t native_flash_driver
Native mtd flash driver.
mtd_native_dev_t
struct mtd_native_dev mtd_native_dev_t
mtd native descriptor
mtd_desc
MTD driver interface.
Definition
mtd.h:204
mtd_dev_t
MTD device descriptor.
Definition
mtd.h:112
mtd_native_dev
mtd native descriptor
Definition
mtd_native.h:30
mtd_native_dev::base
mtd_dev_t base
mtd generic device
Definition
mtd_native.h:31
mtd_native_dev::fname
const char * fname
filename to use for memory emulation
Definition
mtd_native.h:32
Generated on Sat Nov 23 2024 19:57:23 by
1.9.8