18#ifndef __VSF_MEMFS_H__
19#define __VSF_MEMFS_H__
23#include "../../vsf_fs_cfg.h"
25#if VSF_USE_FS == ENABLED && VSF_FS_USE_MEMFS == ENABLED
27#if defined(__VSF_MEMFS_CLASS_IMPLEMENT)
28# undef __VSF_MEMFS_CLASS_IMPLEMENT
29# define __VSF_CLASS_IMPLEMENT__
Definition vsf_memfs.h:55
unsigned short uint16_t
Definition lvgl.h:41
unsigned int uint32_t
Definition lvgl.h:43
unsigned char uint8_t
Definition lvgl.h:40
#define vsf_class(__name)
Definition ooc_class.h:48
uint32_t uintptr_t
Definition stdint.h:38
unsigned int uint_fast32_t
Definition stdint.h:27
int int_fast32_t
Definition stdint.h:26
unsigned long long uint64_t
Definition stdint.h:11
unsigned long long uint_fast64_t
Definition stdint.h:29
Definition vsf_memfs.h:76
vk_memfs_file_t root
Definition vsf_memfs.h:77
#define __vsf_component_peda_ifs(__peda_name,...)
Definition vsf_component_cfg.h:62
int16_t vsf_evt_t
Definition vsf_eda.h:654
void vk_memfs_init(vk_memfs_info_t *memfs)
Definition vsf_memfs.c:249
int_fast32_t vk_memfs_write(vk_memfs_file_t *file, uint8_t *buff, uint_fast32_t size)
Definition vsf_memfs.c:314
uint_fast64_t vk_memfs_setpos(vk_memfs_file_t *file, uint_fast64_t offset)
Definition vsf_memfs.c:295
uint_fast64_t vk_memfs_tell(vk_memfs_file_t *file)
Definition vsf_memfs.c:290
uint32_t wsize
Definition vsf_memfs.h:52
vk_memfs_file_t * vk_memfs_open(vk_memfs_file_t *dir, const char *path)
Definition vsf_memfs.c:255
uint64_t offset
Definition vsf_memfs.h:49
const vk_fs_op_t vk_memfs_op
uint8_t * buff
Definition vsf_memfs.h:51
uint32_t size
Definition vsf_memfs.h:50
int_fast32_t vk_memfs_read(vk_memfs_file_t *file, uint8_t *buff, uint_fast32_t size)
Definition vsf_memfs.c:302