|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|
#include "lfs.h"#include "fcntl.h"#include "sfc.h"#include "securec.h"#include "soc_osal.h"#include "littlefs_config.h"#include "partition.h"#include "littlefs_adapt.h"
结构体 | |
| struct | lfs_block_info_t |
宏定义 | |
| #define | LFS_NAME_LEN_MAX 64 |
| #define | LFS_OPEN_MAX 32 |
| #define | LFS_FLASH_START 0x200000 |
| #define | LFS_FLASH_4K_MASK 0xFFF |
| #define | LFS_FLASH_4K 0x1000 |
| #define | LFS_RAM_BASE 0xA00000 |
函数 | |
| void | fs_adapt_mount (void) |
| void | fs_adapt_unmount (void) |
| int | fs_adapt_mkdir (const char *path) |
| int | fs_adapt_open (const char *path, int oflag) |
| int | fs_adapt_close (int fd) |
| int | fs_adapt_read (int fd, char *buf, unsigned int len) |
| int | fs_adapt_write (int fd, const char *buf, unsigned int len) |
| int | fs_adapt_delete (const char *path) |
| int | fs_adapt_stat (const char *path, unsigned int *file_size) |
| int | fs_adapt_seek (int fd, int offset, unsigned int whence) |
| int | fs_adapt_sync (int fd) |
| void | lfs_test (void) |
| #define LFS_FLASH_4K 0x1000 |
| #define LFS_FLASH_4K_MASK 0xFFF |
| #define LFS_FLASH_START 0x200000 |
| #define LFS_NAME_LEN_MAX 64 |
| #define LFS_OPEN_MAX 32 |
| #define LFS_RAM_BASE 0xA00000 |
| int fs_adapt_close | ( | int | fd | ) |
| int fs_adapt_delete | ( | const char * | path | ) |
| int fs_adapt_mkdir | ( | const char * | path | ) |
| void fs_adapt_mount | ( | void | ) |
| int fs_adapt_open | ( | const char * | path, |
| int | oflag | ||
| ) |
| int fs_adapt_read | ( | int | fd, |
| char * | buf, | ||
| unsigned int | len | ||
| ) |
| int fs_adapt_seek | ( | int | fd, |
| int | offset, | ||
| unsigned int | whence | ||
| ) |
| int fs_adapt_stat | ( | const char * | path, |
| unsigned int * | file_size | ||
| ) |
| int fs_adapt_sync | ( | int | fd | ) |
| void fs_adapt_unmount | ( | void | ) |
| int fs_adapt_write | ( | int | fd, |
| const char * | buf, | ||
| unsigned int | len | ||
| ) |
| void lfs_test | ( | void | ) |