Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
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
dev
;
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
mtd_native_dev::dev
mtd_dev_t dev
mtd generic device
Definition:
mtd_native.h:31
mtd_dev_t
MTD device descriptor.
Definition:
mtd.h:58
native_flash_driver
const mtd_desc_t native_flash_driver
Native mtd flash driver.
mtd_desc
MTD driver interface.
Definition:
mtd.h:75
mtd_native_dev::fname
const char * fname
filename to use for memory emulation
Definition:
mtd_native.h:32
mtd_native_dev_t
struct mtd_native_dev mtd_native_dev_t
mtd native descriptor
mtd_native_dev
mtd native descriptor
Definition:
mtd_native.h:30
Generated on Tue Nov 24 2020 19:46:50 by
1.8.17