mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
mtd: Add MTDIOC_ERASESTATE command for retrieving erase state value
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
committed by
Xiang Xiao
parent
b10905015a
commit
30cb497fe1
@@ -71,6 +71,9 @@
|
|||||||
#define MTDIOC_FLUSH _MTDIOC(0x0009) /* IN: None
|
#define MTDIOC_FLUSH _MTDIOC(0x0009) /* IN: None
|
||||||
* OUT: None (ioctl return value provides
|
* OUT: None (ioctl return value provides
|
||||||
* success/failure indication). */
|
* success/failure indication). */
|
||||||
|
#define MTDIOC_ERASESTATE _MTDIOC(0x000a) /* IN: Pointer to uint8_t
|
||||||
|
* OUT: Byte value that represents the
|
||||||
|
* erased state of the MTD cell */
|
||||||
|
|
||||||
/* Macros to hide implementation */
|
/* Macros to hide implementation */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user