sst25vfxx_mtd.h 663 B

123456789101112131415161718192021222324
  1. /*
  2. * File : sst25vfxx_mtd.h
  3. * This file is part of RT-Thread RTOS
  4. * COPYRIGHT (C) 2006 - 2011, RT-Thread Development Team
  5. *
  6. * The license and distribution terms for this file may be
  7. * found in the file LICENSE in this distribution or at
  8. * http://www.rt-thread.org/license/LICENSE
  9. *
  10. * Change Logs:
  11. * Date Author Notes
  12. * 2011-12-16 aozima the first version
  13. * 2012-02-01 mbbill MTD driver version
  14. */
  15. #ifndef SST25VFXX_MTD_H
  16. #define SST25VFXX_MTD_H
  17. #include <rtthread.h>
  18. #include <drivers/spi.h>
  19. rt_err_t sst25vfxx_mtd_init(const char *spi_device_name, rt_uint32_t block_start, rt_uint32_t block_end);
  20. #endif