spi_sfs.h 315 B

1234567891011121314
  1. #ifndef _spi_sfs_h
  2. #define _spi_sfs_h
  3. #include <asm/types.h>
  4. #include "../../drivers/include/drv_spi_sfs.h"
  5. void sfs_info_reset(void);
  6. void sfs_mount(void);
  7. bool sfs_write(u16 id, void* addr, int size);
  8. bool sfs_read(u16 id, void *addr, int size);
  9. void sfs_test(); //
  10. bool sfs_check(u16 id);
  11. #endif //_spi_sfs_h