discoverpixy
ll_filesystem.h
Go to the documentation of this file.
1 /**************************************************************************************************************************************
2 * Project: discoverpixy
3 * Website: https://github.com/t-moe/discoverpixy
4 * Authors: Aaron Schmocker, Timo Lang
5 * Institution: BFH Bern University of Applied Sciences
6 * File: common/lowlevel/ll_filesystem.h
7 *
8 * Version History:
9 * Date Autor Email SHA Changes
10 * 2015-05-10 timolang@gmail.com e2bce8f Added filesystem module, tests and implementation for it in emulator.
11 * 2015-05-15 timolang@gmail.com 9a16865 Added doxgen comments to filesyste, checkbox, numupdown and screen module. And some minor changes to the other modules.
12 *
13 **************************************************************************************************************************************/
14 
15 #include "filesystem.h"
16 
21 
27 
32 
33 
34 bool ll_filesystem_init();
35 
36 DIRECTORY_STRUCT* ll_filesystem_dir_open(const char* path);
38 FILE_HANDLE* ll_filesystem_file_open(const char* filename);
40 FILE_STATUS ll_filesystem_file_seek(FILE_HANDLE* handle, uint32_t offset);
41 FILE_STATUS ll_filesystem_file_read(FILE_HANDLE* handle, uint8_t* buf, uint32_t size);
42 FILE_STATUS ll_filesystem_file_write(FILE_HANDLE* handle, uint8_t* buf, uint32_t size);
43 
FILE_STATUS ll_filesystem_file_seek(FILE_HANDLE *handle, uint32_t offset)
bool ll_filesystem_init()
void ll_filesystem_file_close(FILE_HANDLE *handle)
FILE_STATUS ll_filesystem_file_write(FILE_HANDLE *handle, uint8_t *buf, uint32_t size)
FILE_STATUS ll_filesystem_file_read(FILE_HANDLE *handle, uint8_t *buf, uint32_t size)
void ll_filesystem_dir_close(DIRECTORY_STRUCT *dir)
DIRECTORY_STRUCT * ll_filesystem_dir_open(const char *path)
FILE_STATUS
Definition: filesystem.h:90
FILE_HANDLE * ll_filesystem_file_open(const char *filename)