mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-19 03:11:52 +03:00
9f279ac872
Co-authored-by: あく <alleteam@gmail.com>
15 lines
638 B
C
15 lines
638 B
C
#pragma once
|
|
#include "spi_mem_app.h"
|
|
|
|
void spi_mem_file_create_folder(SPIMemApp* app);
|
|
bool spi_mem_file_select(SPIMemApp* app);
|
|
bool spi_mem_file_create(SPIMemApp* app, const char* file_name);
|
|
bool spi_mem_file_delete(SPIMemApp* app);
|
|
bool spi_mem_file_create_open(SPIMemApp* app);
|
|
bool spi_mem_file_open(SPIMemApp* app);
|
|
bool spi_mem_file_write_block(SPIMemApp* app, uint8_t* data, size_t size);
|
|
bool spi_mem_file_read_block(SPIMemApp* app, uint8_t* data, size_t size);
|
|
void spi_mem_file_close(SPIMemApp* app);
|
|
void spi_mem_file_show_storage_error(SPIMemApp* app, const char* error_text);
|
|
size_t spi_mem_file_get_size(SPIMemApp* app);
|