lib_ringfs_w25q.h 836 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * Copyright © 2014 Kosma Moczek <kosma@cloudyourcar.com>
  3. * This program is free software. It comes without any warranty, to the extent
  4. * permitted by applicable law. You can redistribute it and/or modify it under
  5. * the terms of the Do What The Fuck You Want To Public License, Version 2, as
  6. * published by Sam Hocevar. See the COPYING file for more details.
  7. */
  8. #if USE_LIB_RINGFS_W25Q==1
  9. #ifndef LIB_RINGFS_W25Q_H
  10. #define LIB_RINGFS_W25Q_H
  11. #include <stdint.h>
  12. //#include <unistd.h>
  13. struct rfs_dev_w25q;
  14. extern struct ringfs_flash_partition rfs_disk_w25q;
  15. void init_flash_driver_w25q(void);
  16. void rfs_dev_w25q_close(struct rfs_dev_w25q *sim);
  17. #endif //----------------------LIB_RINGFS_W25Q_H--------------------//
  18. #endif //---------------------USE_LIB_RINGFS_W25Q==1--------------------//
  19. /* vim: set ts=4 sw=4 et: */