Home
last modified time | relevance | path

Searched refs:lv_fs_drv_t (Results 1 – 12 of 12) sorted by relevance

/lvgl-3.7.0/examples/porting/
Dlv_port_fs_template.c28 static void * fs_open(lv_fs_drv_t * drv, const char * path, lv_fs_mode_t mode);
29 static lv_fs_res_t fs_close(lv_fs_drv_t * drv, void * file_p);
30 static lv_fs_res_t fs_read(lv_fs_drv_t * drv, void * file_p, void * buf, uint32_t btr, uint32_t * b…
31 static lv_fs_res_t fs_write(lv_fs_drv_t * drv, void * file_p, const void * buf, uint32_t btw, uint3…
32 static lv_fs_res_t fs_seek(lv_fs_drv_t * drv, void * file_p, uint32_t pos, lv_fs_whence_t whence);
33 static lv_fs_res_t fs_size(lv_fs_drv_t * drv, void * file_p, uint32_t * size_p);
34 static lv_fs_res_t fs_tell(lv_fs_drv_t * drv, void * file_p, uint32_t * pos_p);
36 static void * fs_dir_open(lv_fs_drv_t * drv, const char * path);
37 static lv_fs_res_t fs_dir_read(lv_fs_drv_t * drv, void * rddir_p, char * fn);
38 static lv_fs_res_t fs_dir_close(lv_fs_drv_t * drv, void * rddir_p);
[all …]
/lvgl-3.7.0/src/extra/libs/fsdrv/
Dlv_fs_fatfs.c31 static void * fs_open(lv_fs_drv_t * drv, const char * path, lv_fs_mode_t mode);
32 static lv_fs_res_t fs_close(lv_fs_drv_t * drv, void * file_p);
33 static lv_fs_res_t fs_read(lv_fs_drv_t * drv, void * file_p, void * buf, uint32_t btr, uint32_t * b…
34 static lv_fs_res_t fs_write(lv_fs_drv_t * drv, void * file_p, const void * buf, uint32_t btw, uint3…
35 static lv_fs_res_t fs_seek(lv_fs_drv_t * drv, void * file_p, uint32_t pos, lv_fs_whence_t whence);
36 static lv_fs_res_t fs_tell(lv_fs_drv_t * drv, void * file_p, uint32_t * pos_p);
37 static void * fs_dir_open(lv_fs_drv_t * drv, const char * path);
38 static lv_fs_res_t fs_dir_read(lv_fs_drv_t * drv, void * dir_p, char * fn);
39 static lv_fs_res_t fs_dir_close(lv_fs_drv_t * drv, void * dir_p);
65 static lv_fs_drv_t fs_drv; /*A driver descriptor*/ in lv_fs_fatfs_init()
[all …]
Dlv_fs_littlefs.c32 static void * fs_open(lv_fs_drv_t * drv, const char * path, lv_fs_mode_t mode);
33 static lv_fs_res_t fs_close(lv_fs_drv_t * drv, void * file_p);
35 static lv_fs_res_t fs_read(lv_fs_drv_t * drv, void * file_p, void * buf, uint32_t btr, uint32_t * b…
36 static lv_fs_res_t fs_write(lv_fs_drv_t * drv, void * file_p, const void * buf, uint32_t btw, uint3…
38 static lv_fs_res_t fs_seek(lv_fs_drv_t * drv, void * file_p, uint32_t pos, lv_fs_whence_t whence);
39 static lv_fs_res_t fs_tell(lv_fs_drv_t * drv, void * file_p, uint32_t * pos_p);
41 static void * fs_dir_open(lv_fs_drv_t * drv, const char * path);
42 static lv_fs_res_t fs_dir_read(lv_fs_drv_t * drv, void * dir_p, char * fn);
43 static lv_fs_res_t fs_dir_close(lv_fs_drv_t * drv, void * dir_p);
73 static lv_fs_drv_t fs_drv; /*A driver descriptor*/ in lv_fs_littlefs_init()
[all …]
Dlv_fs_posix.c37 static void * fs_open(lv_fs_drv_t * drv, const char * path, lv_fs_mode_t mode);
38 static lv_fs_res_t fs_close(lv_fs_drv_t * drv, void * file_p);
39 static lv_fs_res_t fs_read(lv_fs_drv_t * drv, void * file_p, void * buf, uint32_t btr, uint32_t * b…
40 static lv_fs_res_t fs_write(lv_fs_drv_t * drv, void * file_p, const void * buf, uint32_t btw, uint3…
41 static lv_fs_res_t fs_seek(lv_fs_drv_t * drv, void * file_p, uint32_t pos, lv_fs_whence_t whence);
42 static lv_fs_res_t fs_tell(lv_fs_drv_t * drv, void * file_p, uint32_t * pos_p);
43 static void * fs_dir_open(lv_fs_drv_t * drv, const char * path);
44 static lv_fs_res_t fs_dir_read(lv_fs_drv_t * drv, void * dir_p, char * fn);
45 static lv_fs_res_t fs_dir_close(lv_fs_drv_t * drv, void * dir_p);
69 static lv_fs_drv_t fs_drv; /*A driver descriptor*/ in lv_fs_posix_init()
[all …]
Dlv_fs_stdio.c40 static void * fs_open(lv_fs_drv_t * drv, const char * path, lv_fs_mode_t mode);
41 static lv_fs_res_t fs_close(lv_fs_drv_t * drv, void * file_p);
42 static lv_fs_res_t fs_read(lv_fs_drv_t * drv, void * file_p, void * buf, uint32_t btr, uint32_t * b…
43 static lv_fs_res_t fs_write(lv_fs_drv_t * drv, void * file_p, const void * buf, uint32_t btw, uint3…
44 static lv_fs_res_t fs_seek(lv_fs_drv_t * drv, void * file_p, uint32_t pos, lv_fs_whence_t whence);
45 static lv_fs_res_t fs_tell(lv_fs_drv_t * drv, void * file_p, uint32_t * pos_p);
46 static void * fs_dir_open(lv_fs_drv_t * drv, const char * path);
47 static lv_fs_res_t fs_dir_read(lv_fs_drv_t * drv, void * dir_p, char * fn);
48 static lv_fs_res_t fs_dir_close(lv_fs_drv_t * drv, void * dir_p);
72 static lv_fs_drv_t fs_drv; /*A driver descriptor*/ in lv_fs_stdio_init()
[all …]
Dlv_fs_win32.c35 static void * fs_open(lv_fs_drv_t * drv, const char * path, lv_fs_mode_t mode);
36 static lv_fs_res_t fs_close(lv_fs_drv_t * drv, void * file_p);
37 static lv_fs_res_t fs_read(lv_fs_drv_t * drv, void * file_p, void * buf, uint32_t btr, uint32_t * b…
38 static lv_fs_res_t fs_write(lv_fs_drv_t * drv, void * file_p, const void * buf, uint32_t btw, uint3…
39 static lv_fs_res_t fs_seek(lv_fs_drv_t * drv, void * file_p, uint32_t pos, lv_fs_whence_t whence);
40 static lv_fs_res_t fs_tell(lv_fs_drv_t * drv, void * file_p, uint32_t * pos_p);
41 static void * fs_dir_open(lv_fs_drv_t * drv, const char * path);
42 static lv_fs_res_t fs_dir_read(lv_fs_drv_t * drv, void * dir_p, char * fn);
43 static lv_fs_res_t fs_dir_close(lv_fs_drv_t * drv, void * dir_p);
67 static lv_fs_drv_t fs_drv; /*A driver descriptor*/ in lv_fs_win32_init()
[all …]
Dlv_fsdrv.h36 lv_fs_drv_t * lv_fs_littlefs_set_driver(char label, void * lfs_p);
/lvgl-3.7.0/src/misc/
Dlv_fs.h88 } lv_fs_drv_t; typedef
99 lv_fs_drv_t * drv;
105 lv_fs_drv_t * drv;
123 void lv_fs_drv_init(lv_fs_drv_t * drv);
131 void lv_fs_drv_register(lv_fs_drv_t * drv);
138 lv_fs_drv_t * lv_fs_get_drv(char letter);
Dlv_fs.c43 _lv_ll_init(&LV_GC_ROOT(_lv_fsdrv_ll), sizeof(lv_fs_drv_t *)); in _lv_fs_init()
48 lv_fs_drv_t * drv = lv_fs_get_drv(letter); in lv_fs_is_ready()
65 lv_fs_drv_t * drv = lv_fs_get_drv(letter); in lv_fs_open()
329 lv_fs_drv_t * drv = lv_fs_get_drv(letter); in lv_fs_dir_open()
393 void lv_fs_drv_init(lv_fs_drv_t * drv) in lv_fs_drv_init()
395 lv_memset_00(drv, sizeof(lv_fs_drv_t)); in lv_fs_drv_init()
398 void lv_fs_drv_register(lv_fs_drv_t * drv_p) in lv_fs_drv_register()
401 lv_fs_drv_t ** new_drv; in lv_fs_drv_register()
409 lv_fs_drv_t * lv_fs_get_drv(char letter) in lv_fs_get_drv()
411 lv_fs_drv_t ** drv; in lv_fs_get_drv()
[all …]
/lvgl-3.7.0/docs/overview/
Dfile-system.md14 To add a driver, a `lv_fs_drv_t` needs to be initialized like below. The `lv_fs_drv_t` needs to be …
16 static lv_fs_drv_t drv; /*Needs to be static or global*/
48 void * (*open_cb)(lv_fs_drv_t * drv, const char * path, lv_fs_mode_t mode);
59 lv_fs_res_t (*write_cb)(lv_fs_drv_t * drv, void * file_p, const void * buf, uint32_t btw, uint32_t …
/lvgl-3.7.0/docs/intro/
Dindex.md146 - Be sure `lv_disp_drv_t`, `lv_indev_drv_t` and `lv_fs_drv_t` are global or `static`.
/lvgl-3.7.0/docs/
DCHANGELOG.md1659 - `lv_disp_drv_t`, `lv_indev_drv_t`, `lv_fs_drv_t` needs to be `static`