mirror of
https://github.com/apache/nuttx.git
synced 2026-09-03 15:43:01 +00: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:
parent
622c637832
commit
f5964d55dd
1 changed files with 3 additions and 0 deletions
|
|
@ -71,6 +71,9 @@
|
|||
#define MTDIOC_FLUSH _MTDIOC(0x0009) /* IN: None
|
||||
* OUT: None (ioctl return value provides
|
||||
* 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 */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue