mtd.h 431 B

12345678910111213141516171819
  1. /*
  2. * Copyright (c) 2006-2023, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2023-10-11 zmshahaha move from <rtdef.h>
  9. */
  10. #ifndef __MTD_H__
  11. #define __MTD_H__
  12. #include <rtdef.h>
  13. /* mtd interface device*/
  14. #define RT_DEVICE_CTRL_MTD_FORMAT (RT_DEVICE_CTRL_BASE(MTD) + 1) /**< format a MTD device */
  15. #endif /* __MTD_H__ */