sst25vfxx_mtd.h 471 B

1234567891011121314151617181920
  1. /*
  2. * Copyright (c) 2006-2021, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2011-12-16 aozima the first version
  9. * 2012-02-01 mbbill MTD driver version
  10. */
  11. #ifndef SST25VFXX_MTD_H
  12. #define SST25VFXX_MTD_H
  13. #include <rtthread.h>
  14. #include <drivers/spi.h>
  15. rt_err_t sst25vfxx_mtd_init(const char *spi_device_name, rt_uint32_t block_start, rt_uint32_t block_end);
  16. #endif